I have a few KML files that I would like to share with the public.

Google suggests hosting them on Google Drive, but I would prefer a platform that offers more map-oriented features. Datahub does not offer any map-oriented features either.

Accessed via an easily sharable URL, the page must show to the visitor:

  • A preview of the KML file, for instance a dynamic map if there is not too much data, or a static map if there is to much data to show dynamically.
  • Links to map services integrating the data, for instance http://maps.google.com/maps?q=http://example.com/thedata.kml and equivalents with OpenStreetMap, Bing, Wikimapia, etc. See here for more link examples.
  • Statistics: number of points, etc.
  • Buttons to download the files as KML/GPX/OSM formats, whatever the format they have been uploaded with (the platform performs the conversion, server-side)
  • Show license of the file, title, description. Bonus for allowing the public to leave comments about the file. The uploader should be able to choose the license, at least public domain and CC-BY-SA should be available choices.

Must work with 100k+ locations files.
Ideally, The uploader should be able to upload in similar formats like GPX/OSM. Bonus if the platform allows visitors to download a part of the data, for instance only locations in Indonesia.

How it could look like:

mock up

  • What, if any, are your licensing requirements for the data? What area or themes does the data cover? Can you consider contributing the data to platforms that are built to support a particular geographic extent or data theme or do you want to use a general purpose free service? – KPayne Mar 16 '15 at 17:49
  • You may want to look at opendata.stackexchange.com/questions/266/… for lists of repos - you can check their functionality against your needs – KPayne Mar 17 '15 at 14:13
  • @user2542: I added details about license in the last bullet. I don't want a tool that restricts users to a particular area or field. All KML files should be considered acceptable. Thanks for the tip! I opened all the search engines at that QA, but unfortunately none knows about a KML hosting platform with preview. – Nicolas Raoul Mar 17 '15 at 15:07

geojson.io supports kml. it also allows you to import to github or gist.github
edit: it doesn't have all of your requirements but the integration into github should allow you to do most except for the gpx
end results in gists: all of these .geojson maps were rendered via kml files from geojson.io

step by step:
download this .zip file containing points for a history map of Hampton, VA:
extract Locations.kml out of the .zip.
go to geojsion.io:
go to open, file, and upload the kml file, which gives us:
you are previewing the data. you can edit it. you can redownload the kml. you can download geojson/topojson/csv/shp as well.
this also provides you with a bloc.ks url for sharing.
click on sharing:
more preview version but for an audience.
click on save. you have all the format options i've already listed, as well as github/gist. clicking on gist gives you:
optionally you can include it in a github repo as well. clicking on github will pull up your github repos and give you a menu from where to save.

  • I am told by geojson.io: "only GeoJSON files are supported from GitHub" – Nicolas Raoul Mar 17 '15 at 6:42
  • i've never had a problem with it. only thing i've had happen is they're too big to render or too big to edit in gist. just convert it to geojson and save it. thats way better anyways. another plus about geojson.io -> the conversions – albert Mar 17 '15 at 6:44
  • actually i reckon gist is saving geojson too...you can always submit an issue or fork it and change it to save kml – albert Mar 17 '15 at 6:52
  • Your answer says "geojson.io supports kml". Could you please describe in details how you managed to make that website accept a hosted KML file? – Nicolas Raoul Mar 17 '15 at 6:54
  • 1
    Thanks for the step-by-step paragraph! The most important question: what is the URL to share? Visitors must be able to both preview and download the file at that URL. – Nicolas Raoul Mar 18 '15 at 4:10

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.