Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import file in geojson or kml fails #194

Closed
yohanboniface opened this issue Jun 13, 2015 · 2 comments
Closed

Import file in geojson or kml fails #194

yohanboniface opened this issue Jun 13, 2015 · 2 comments
Labels

Comments

@yohanboniface
Copy link
Member

Originally reported by: Cristian Consonni (BitBucket: CristianCantoro, GitHub: CristianCantoro)


Hi Yohan,

here's the geoJSON (geojson.io[1], gist[2]). It was produced with QGIS.

Here's the result if I import it in umap[3]. On import I get an error."TypeError: geojson is undefined".
I get an identical result (but no error when importing) if I convert the data in KML and import.

I have tried to use the URL import (copied the filed in Dropbox, got the public link and used that link) or copy-pasting the data in the text form.

I have no idea on why just one polygon (and that particular one) is show.

Thank you.

[1] http://geojson.io/#id=gist:CristianCantoro/2210431273cde8484006&map=7/41.759/12.645

[2] https://gist.github.com/CristianCantoro/2210431273cde8484006

[3] http://umap.openstreetmap.fr/en/map/test-import_43779#8/43.932/11.876


@yohanboniface
Copy link
Member Author

Original comment by Yohan Boniface (BitBucket: yohanboniface, GitHub: yohanboniface):


I guess it's because the geojson contains multi geometries, which are not yet supported by uMap.

Work in progress here: https://github.com/yohanboniface/Leaflet.Storage/issues/94 but needs Leaflet 1.0 to be release first.

@yohanboniface
Copy link
Member Author

Multi are now supported.

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

No branches or pull requests

1 participant