admin管理员组

文章数量:1295864

This would appear to be the most basic and trivial thing, except that I can't find out how to do it. I have a shapefile which contains the boundaries of all electorates in my state (this is in Australia, not that it matters). I can convert the shapefile to a GeoJSON file, and all I want to do is to plot one boundary on my map.

The last time I did any mapping work (several years ago) I used Python with its Folium and GeoPandas libraries. But I thought I'd try Leaflet using JavaScript - assuming that I could do everything I needed. But I seem to have got stuck at the start.

I'd be happy of any pointers!

本文标签: mappingHow to add a shapefileGeoJSON boundary to a map in LeafletStack Overflow