Extension talk:Semantic Layers

Special pages not working
I posted this on the demo wiki months ago...didn't get a response, so I'll try here. I've just installed 0.3b1 and it seems that my "Special pages" link isn't working (it just goes to a blank page). And even on this wiki (the demo wiki), going to Special Pages generates an error. But anyways, thanks for updating the extension. Looking forward to the possibilities, especially with added SMW and SF integration. --Weakmassive 19:37, 28 June 2008 (UTC)

Hi, excellent extension. But i would like to know how add google maps layer, i tried on layers.js file but i don't know exactly the data to be added. I have some Images that i would like to add as layers, in top of google maps with opacity effect. In open layers we have an opacity button to control it. How enable this? How to make my Image as layer? and how to add the correct position of this image on globe map? Lleoliveirabr 01:06, 1 September 2007 (UTC)


 * Hello! This should be possible, but perhaps not just yet. For the code to add to Layers.js (you've got the right idea), have a look at the source of http://www.openlayers.org/dev/examples/google.html . However, the trick is, for it to work, somehow a separate script tag with the Google maps script URL and your "key" has to be inserted. If you can find another mechanism to do that, it should work. I do plan to make this easier in a later version, by including a parameter somewhere to specify your key, and it will do the rest for you. Matt.williamson 12:56, 4 September 2007 (UTC)
 * The image layers in top of google maps with opacity effect option will be great. Hope this will be possible soon.
 * I don't know if it's already possible to make many images as one layer. Is it possible?

Lleoliveirabr 00:52, 6 September 2007 (UTC)


 * Just released v0.2, and Google Maps support is now very easy to set up. Have a look at the docs. As for combining many images in as one layer, no, I don't think that's possible yet, but its something I've thought would be a good idea: a "Union" layer type that could essentially "group" multiple layers together into one layer from the user's perspective. But that would have to be implemented in OpenLayers first, at any rate. Perhaps I'll bring it up with their development group, if they haven't thought of it already. Matt.williamson 18:18, 6 September 2007 (UTC)

Semantic Forms Extension
I think Semantic Forms extension could have an option to show a map with a placemark to move in the map showing the exacly coordinate of a place. Or add a coordinate and see the location on the map. This for fields with type:coordinate and relation:Uses coordinate attribute. Lleoliveirabr 01:19, 1 September 2007 (UTC)


 * I have been talking back and forth with Yaron Koren about my extension while it's been in development, and we have had something like this in mind the whole time. I use SF and think it's great. Looking forward to integrating these two extensions, if that's what the community wants, at least. Matt.williamson 12:56, 4 September 2007 (UTC)


 * Any news on that? It would be exactly what I'm looking for. SemanticGoogleMaps has the integration with SemanticForms, but uses GoogleMaps, lacks other features and does not seem to be updated --86.59.10.234 13:13, 12 February 2008 (UTC)

Export the ask results as KML
I think if we could export the ask results in kml, will be great. What do you think? Lleoliveirabr 00:52, 6 September 2007 (UTC)


 * Seems like a sensible idea. Should be easy to do, I'll consider that a feature request. Incidentally, since it's a SMW-based extension, it would make sense to also support export in some "GeoRDF" format...but I don't know which standard would be best, and it would probably be better for the SMW folks to pick one instead of me. Matt.williamson 18:18, 6 September 2007 (UTC)

How to specify custom icon for each article
I read the documentation but didn't discover how to specify custom icon to an article. Maybe is my bad English. Lleoliveirabr 00:52, 6 September 2007 (UTC)


 * Well, it depends on which feature(s) you're using. Its not really possible to do this with inline/AskMap query results. You can do it with inline text points, or you can do it when using a Markers layer defined in the wiki. On the Layer article, you would generally specify Displays layer image::Image:Something.ext, which sets the default icon for all markers in that layer (only when they're accessed as a layer--it doesn't do anything when they're pulled up in a query). Then, if you want to override that default, you can also specify Displays layer image::... in the individual article. Now, for queries, you can specify the marker icon to be used for all query results, using the markerimage="..." argument to &lt;slmap>, which can be either an Image article title or a URL. Matt.williamson 18:18, 6 September 2007 (UTC)

Maybe a bug
I think i found a bug, i added in ask population:* and appear placemarks "articles" that doesn't have coordinates attribute. I think only should appear placemarks of articles that have coordinate attribute. Lleoliveirabr 00:52, 6 September 2007 (UTC)


 * Ah, but which attribute would it need to require? Remember, you can use any attribute of your choosing to represent the marker's location...the Attribute:Coordinates is just the one I happen to use on the demo wiki. Never fear, though, there's an easy way to do what you want. Simply add this to your query: Coordinates:=+ That will limit the results to those that have Attribute:Coordinates defined. Matt.williamson 18:18, 6 September 2007 (UTC)

OpenStreetMap
I made a MediaWiki extension which invokes OpenLayers, for the purpose of displaying a map from the OpenStreetMap project: http://wiki.openstreetmap.org/index.php/Slippy_Map_MediaWiki_Extension

It's rather noddy compared with this Extension:Semantic Layers obviously. So maybe it'd be better to roll openstreetmap capability into this extension.

Are you familiar with the OpenStreetMap project? It's aligned well with wikipedia and the wiki approach in general. Building a map through community contributions. So it's a good project for wiki people to support, even if the maps aren't that complete yet.

The OpenLayers Simple Example shows how to get an OSM map showing up in OpenLayers (without all the other cruft).

-- Harry Wood 09:15, 23 October 2007 (UTC)

SVN
Matt, I wonder if you were going to add your code to SVN so other developers can see latest developments and help you test and improve not-yet-released code? Yaron told me you applied for SVN access to Wikimedia repository and didn't get the answer yet, but maybe you were considering adding it into Google Code repository meanwhile? --Sergey Chernyshev 19:51, 30 May 2008 (UTC)

Hey Matt, when will we hear from you again? I am really waiting for the new features in 0.4, the are allready available in your Demo wiki and i really like them. Hope you will release this soon, allready waiting so long. --77.191.130.163 13:26, 12 January 2009 (UTC)
 * Looks like Matt disappeared... There was no change at all neither here nor at the demo wiki page... Hope for a soon come back. --Danwe 19:17, 17 February 2009 (UTC)