Ok, MultiPolygon, LineString, and GeometryCollection are handled as well (that means Russland, TU Chemnitz and Rhein (only in Germany!) are now on the map!). Now I just have to figure out how holes are defined in GeoJSON...
On Thu, Mar 15, 2012 at 4:13 PM, Daniel Schwen daniel@schwen.de wrote:
Ok, not tested in Konqueror yet, but it works for me in Chrome, IE9, and FF11. Maybe you have to explicitly clear your cache? Thanks for the examples! TU Chemnitz and Russland are of type MultiPolygon, Rhein is of type GeometryCollection. I havent't covered those yet. Give me a minute!
what make I wrong, I see no objects (also after Strg+F5). I check it in FF and chrome. In konqueror WMA doesn't show anything.
Extrem large: http://toolserver.org/~kolossos/openlayers/kml-on-ol-json3.php?lang=de&t... and yes the earth is no sphere in OSM.
Polygon with holes: http://toolserver.org/~kolossos/openlayers/kml-on-ol-json3.php?lang=de&t...
River Rhein has some isles inside.
Greeting Tim
Am 15.03.2012 22:23, schrieb Daniel Schwen:
WIWOSM data is now displayed in the WikiMiniAtlas as well! Check the Austria example [1] (blue globe in the infobox under "Capital"). I cover the "Polygon" and "MultiLineString" cases. I guess I'll have to read more on http://www.geojson.org to see what other cases might get returned. Do you have any examples for polygons with holes yet? Or objects that consist of multiple detached areas? Cheers, Daniel
[1] http://en.wikipedia.org/wiki/Austria
On Thu, Mar 15, 2012 at 1:06 PM, Daniel Schwendaniel@schwen.de wrote:
If you tell me where your Attached-KML geoJSON-files are on Toolserver you can get ours and we will also transform it also for you in WGS84.
Ha, the KML data is fetched directly from wikipedia using an XMLHTTPRequest, and transformed into a GeoJSON-like datastructure. No need to store anything on the toolserver. Thanks for the offer to supply WGS84, I'll try conversion in Javascript first (modern JS engines are so ridiculously fast it'll probably be unnoticable). But I'll get back to you if it doesn't work! Daniel
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l