Hi,
You might want to check out ImageMap [1], if you just use the annotation to generate links to more specific room information, like when you have a map (uploaded as an image) and then you click on some room in the map and then you get to a different wiki page about that room like "There is a HD projector and 150 chairs...".
The map extensions you mentioned will display small images with map pieces called "tiles" made by externals in your wiki. There is something like a "Wikipedia for maps" - OpenStreetMap [2] and you could consider adding your data to their publically available database. This would require you to release the data under OpenDatabaseLicense publically [3]. If you want to do that, you would probably need to transform your data format to match theirs and consult the community before importing [4] and finally you would need to produce the tiles from their data, because standart display do not show the indoor features. Further information is available from the relevant wiki page [5]. This is pretty much what Wikimedia did with their custom "Kartographer" [7]. Seems like a rather complex way for just showing a floor plan, but that is essentially the infrastructure behind "Maps" and "OpenLayers".
> Is anyone doing this?
I am currently working with "MultiMaps" [6], which is essentially working the same way as Yaron already described but without Semantic MW. I am just displaying the standard tiles provided by OSM.
> What do people here recommend?
Sorry, I can not really recommend anything for you, because it depends on the following facts
How many maps do you have? (huge maps make the OSM approach more interesting)
What do you exactly expect from "annotations"? (simple links, texts on top of the map, geometric shapes?)
Can you publish the data under ODbL? (see above)
How often do you update the maps? (no updates, continuous updates, real-time)
Cheers,
Tigerfell
[1] https://www.mediawiki.org/wiki/Extension:ImageMap <https://www.mediawiki.org/wiki/Extension:ImageMap> there is an example as well on that page
[2] https://www.openstreetmap.org <https://www.openstreetmap.org> (personal disclaimer: I am involved in this project)
[3] https://opendatacommons.org/licenses/odbl/ <https://opendatacommons.org/licenses/odbl/> (comparable to CC-BY-SA as far as I can judge)
[4] https://wiki.openstreetmap.org/wiki/Import/Guidelines <https://wiki.openstreetmap.org/wiki/Import/Guidelines>
[5] https://wiki.openstreetmap.org/wiki/Indoor_Mapping <https://wiki.openstreetmap.org/wiki/Indoor_Mapping>
[6] https://www.mediawiki.org/wiki/Extension:MultiMaps <https://www.mediawiki.org/wiki/Extension:MultiMaps>
[7] https://www.mediawiki.org/wiki/Extension:Kartographer <https://www.mediawiki.org/wiki/Extension:Kartographer>
From: Yaron Koren:
> Hi Rich,
>
> It should be noted that the use of images as maps comprises two parts:
> entering the data, and viewing the data. I don't believe either one is
> currently possible, though I could be wrong. For data entry, I think the
> easiest way to add support for it would be to modify either the
> "openlayers" or "leaflet" input types in Page Forms to allow for using an
> uploaded image as the map - both OpenLayers and Leaflet inherently allow
> for such a thing. And for viewing the data - Semantic MediaWiki has a
> "leaflet" result format (via the Maps extension), while Cargo has an
> "openlayers" format. Both could similarly be modified to allow for
> displaying query results on an uploaded image.
>
> It should be noted that, about ten years ago, both entry and viewing of
> image-based maps were possible, via the extensions then called Semantic
> Maps and Semantic Forms. This is one of those features that just stopped
> being supported, due I guess to lack of interest. Which is too bad, because
> it does seem useful for a lot of different applications. But it never
> really got usage before. Maybe now is a good time to bring this feature
> back, if enough people show an interest in it.
>
> I should also note that there's an extension called Semantic Image
> Annotator:
>
> https://www.mediawiki.org/wiki/Extension:Semantic_Image_Annotator
>
> It lets you both add and query data, but the data it deals with is
> rectangles on an image and not points, so it may not be what you're looking
> for. Maybe it's fine, though.
>
> -Yaron
>
> On Fri, Jun 7, 2019 at 12:08 PM Evans, Richard K. (GRC-H000) via
> Semediawiki-user <semediawiki-user@lists.sourceforge.net> wrote:
>
>> Happy Friday - What extension is best for annotating interior floor plans
>> and user maps uploaded as images?
>>
>> Is anyone doing this? What do people here recommend?
>>
>> I've been trying to learn how to use the "Maps" extension [1] but it's not
>> clear to me if custom interior maps are possible with Maps.
>>
>> OpenLayers [2] and Cargo [3] look promising but I don't know how to get
>> started with them for custom interior maps. I dive in and learn it if I
>> knew upfront that they had the capability. Can anyone tell me what they're
>> doing?
>>
>> /Rich
>>
>> [1] https://www.mediawiki.org/wiki/Extension:Maps
>> [2] https://www.mediawiki.org/wiki/Extension:OpenLayers
>> [3] https://www.mediawiki.org/wiki/Extension:Cargo
>>
>>
>> _______________________________________________
>> Semediawiki-user mailing list
>> Semediawiki-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> ------------------------------
>
> End of MediaWiki-l Digest, Vol 189, Issue 4
> *******************************************
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
You might want to check out ImageMap [1], if you just use the annotation to generate links to more specific room information, like when you have a map (uploaded as an image) and then you click on some room in the map and then you get to a different wiki page about that room like "There is a HD projector and 150 chairs...".
The map extensions you mentioned will display small images with map pieces called "tiles" made by externals in your wiki. There is something like a "Wikipedia for maps" - OpenStreetMap [2] and you could consider adding your data to their publically available database. This would require you to release the data under OpenDatabaseLicense publically [3]. If you want to do that, you would probably need to transform your data format to match theirs and consult the community before importing [4] and finally you would need to produce the tiles from their data, because standart display do not show the indoor features. Further information is available from the relevant wiki page [5]. This is pretty much what Wikimedia did with their custom "Kartographer" [7]. Seems like a rather complex way for just showing a floor plan, but that is essentially the infrastructure behind "Maps" and "OpenLayers".
> Is anyone doing this?
I am currently working with "MultiMaps" [6], which is essentially working the same way as Yaron already described but without Semantic MW. I am just displaying the standard tiles provided by OSM.
> What do people here recommend?
Sorry, I can not really recommend anything for you, because it depends on the following facts
How many maps do you have? (huge maps make the OSM approach more interesting)
What do you exactly expect from "annotations"? (simple links, texts on top of the map, geometric shapes?)
Can you publish the data under ODbL? (see above)
How often do you update the maps? (no updates, continuous updates, real-time)
Cheers,
Tigerfell
[1] https://www.mediawiki.org/wiki/Extension:ImageMap <https://www.mediawiki.org/wiki/Extension:ImageMap> there is an example as well on that page
[2] https://www.openstreetmap.org <https://www.openstreetmap.org> (personal disclaimer: I am involved in this project)
[3] https://opendatacommons.org/licenses/odbl/ <https://opendatacommons.org/licenses/odbl/> (comparable to CC-BY-SA as far as I can judge)
[4] https://wiki.openstreetmap.org/wiki/Import/Guidelines <https://wiki.openstreetmap.org/wiki/Import/Guidelines>
[5] https://wiki.openstreetmap.org/wiki/Indoor_Mapping <https://wiki.openstreetmap.org/wiki/Indoor_Mapping>
[6] https://www.mediawiki.org/wiki/Extension:MultiMaps <https://www.mediawiki.org/wiki/Extension:MultiMaps>
[7] https://www.mediawiki.org/wiki/Extension:Kartographer <https://www.mediawiki.org/wiki/Extension:Kartographer>
From: Yaron Koren:
> Hi Rich,
>
> It should be noted that the use of images as maps comprises two parts:
> entering the data, and viewing the data. I don't believe either one is
> currently possible, though I could be wrong. For data entry, I think the
> easiest way to add support for it would be to modify either the
> "openlayers" or "leaflet" input types in Page Forms to allow for using an
> uploaded image as the map - both OpenLayers and Leaflet inherently allow
> for such a thing. And for viewing the data - Semantic MediaWiki has a
> "leaflet" result format (via the Maps extension), while Cargo has an
> "openlayers" format. Both could similarly be modified to allow for
> displaying query results on an uploaded image.
>
> It should be noted that, about ten years ago, both entry and viewing of
> image-based maps were possible, via the extensions then called Semantic
> Maps and Semantic Forms. This is one of those features that just stopped
> being supported, due I guess to lack of interest. Which is too bad, because
> it does seem useful for a lot of different applications. But it never
> really got usage before. Maybe now is a good time to bring this feature
> back, if enough people show an interest in it.
>
> I should also note that there's an extension called Semantic Image
> Annotator:
>
> https://www.mediawiki.org/wiki/Extension:Semantic_Image_Annotator
>
> It lets you both add and query data, but the data it deals with is
> rectangles on an image and not points, so it may not be what you're looking
> for. Maybe it's fine, though.
>
> -Yaron
>
> On Fri, Jun 7, 2019 at 12:08 PM Evans, Richard K. (GRC-H000) via
> Semediawiki-user <semediawiki-user@lists.sourceforge.net> wrote:
>
>> Happy Friday - What extension is best for annotating interior floor plans
>> and user maps uploaded as images?
>>
>> Is anyone doing this? What do people here recommend?
>>
>> I've been trying to learn how to use the "Maps" extension [1] but it's not
>> clear to me if custom interior maps are possible with Maps.
>>
>> OpenLayers [2] and Cargo [3] look promising but I don't know how to get
>> started with them for custom interior maps. I dive in and learn it if I
>> knew upfront that they had the capability. Can anyone tell me what they're
>> doing?
>>
>> /Rich
>>
>> [1] https://www.mediawiki.org/wiki/Extension:Maps
>> [2] https://www.mediawiki.org/wiki/Extension:OpenLayers
>> [3] https://www.mediawiki.org/wiki/Extension:Cargo
>>
>>
>> _______________________________________________
>> Semediawiki-user mailing list
>> Semediawiki-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> ------------------------------
>
> End of MediaWiki-l Digest, Vol 189, Issue 4
> *******************************************
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l