QGIS to Leaflet Projection Weirdness

المشرف العام

Administrator
طاقم الإدارة
I've been using the mmqgis tool to create a hex grid. It loads up in QGIS looking good, but when I save it as geojson and load it up in leaflet it gets stretched (see attached). It starts life as 4326, and I've tried reprojecting from 4326 to 3857. No luck though.

Anyone have any ideas? I'm tearing my hair out trying to figure out what's going on. Here's the beginning of the geojson file:

{"type": "FeatureCollection","crs": { "type": "name", "properties": { "name":"urn:eek:gc:def:crs:OGC:1.3:EPSG::3857" } },"features": [{ "type": "Feature", "properties": { "field_id": 1773, "households": "6","language": "russian" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.416971, 47.574266 ], [ -122.416159, 47.575672 ], [ -122.414534, 47.575672 ], [ -122.413722, 47.574266 ], [ -122.414534, 47.572859 ], [ -122.416159, 47.572859 ], [ -122.416971, 47.574266 ] ] ] } },Here's the result:



أكثر...
 
أعلى