Replies: 1 comment
-
I've learned on Discord that coordinates for GeoJson are not in map units, but they are dregrees in the map, so can't be converted the way I was doing without considering some GIS tool to calculate the position on the flat map and then get the position in map units... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm new to both geojson and obsidian-leaflet plugin, so forgive me if this is documented somewhere (I'm trying to solve this with a lot of search and trial and error but without success so far...).
I've exported a map from Azgaar Fantasy Map Generator as PNG, I've exported markers, routes and rivers as geojson. I can show everything when rendering the map, but the geojson data is shown in a much smaller scale than the png itself. When exporting the PNG and to preserve image quality, I've exported it with a scale of "8".
Is it possible to apply the same scale from the export (in my case, multiply all coordinates at the geojson file by 8) without editing the geojson file?
I'd like to have this:
"geometry": { "coordinates": [ 63.216, -7.599 ], "type": "Point" },
Changed into this:
"geometry": { "coordinates": [ 505.728, -60.792 ], "type": "Point" },
(multiplied the coordinates values individually by 8)
The files have some hundreds of items and manually calculating things and changing the files is not something I'd like to do manually...
Beta Was this translation helpful? Give feedback.
All reactions