Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

KML Support for GroundOverlay / Rasters #14

Open
timwaters opened this issue Dec 6, 2016 · 4 comments
Open

KML Support for GroundOverlay / Rasters #14

timwaters opened this issue Dec 6, 2016 · 4 comments

Comments

@timwaters
Copy link

timwaters commented Dec 6, 2016

The KML format is quite extensive and MakeMaps should allow valid GroundOverlay (i.e. raster images) and not just vectors

Example KML files:
http://mapwarper.net/maps/16848.kml
http://mapwarper.net/maps/16848.kml?DBOX=-110.75095129254342,31.718707654757825,-110.61607597411702,31.865469807778688,2

@timwaters timwaters changed the title KML Support for GroundOverlay KML Support for GroundOverlay / Rasters Dec 6, 2016
@spaasis
Copy link
Owner

spaasis commented Dec 6, 2016

Hi and thank you for commenting!

MakeMaps is using https://github.com/mapbox/togeojson to handle KML files and their conversion to GeoJSON. As is listed on their readme, it doesn't currently support GroundOverlay, though the reason is not mentioned. I opened an issue mapbox/togeojson#118 to get a comment on it's status, and if there are any plans to implementing support.

@timwaters
Copy link
Author

👍

@spaasis
Copy link
Owner

spaasis commented Dec 6, 2016

Okay, like Tom answered in the issue, there is no direct equivalent for GroundOverlay in GeoJSON, so that is not something that they are working on.

There seems to be a plugin which supports GroundOverlay shramov/leaflet-plugins#91. I'll need too look into using this plugin to handle KML loading.

However, if it turns out that GO simply cannot be turned into a GeoJSON format with any plugin, I will have to turn it down. Reasoning behind this is that the whole application basically relies on handling Leaflet L.GeoJSON-objects.

@timwaters
Copy link
Author

Agreed, so if a Leaflet plugin could be made to work with them, perhaps then we could look forward to it being supported. I think it's only in Google Earth that one can view them nowadays. Perhaps having some format to load in external baselayers (wms / tiles) would be nice but I imagine this would be a different feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants