mapshaper icon indicating copy to clipboard operation
mapshaper copied to clipboard

Proj issues

Open atavoidturk opened this issue 4 months ago • 1 comments

when a layer has an unknown projection, it is impossible to project it. This is probably intentional, but is extremely annoying because i know that the projection is equirectangular but there is no way to set that. example file:

indigenousTerritories.json

atavoidturk avatar Sep 03 '25 14:09 atavoidturk

  1. Your file contains unprojected geographic coordinates (degrees of latitude and longitude). The CRS should be an unprojected geographic coordinate system like WGS84, not the equirectangular projection, which would use units of distance (generally feet or meters).

  2. If you run the -info command, you will see that the longitude range of your dataset is -189.81483874711574 to 182.10777322, which is outside the standard -180 to 180 range. This is why mapshaper did not automatically assign a coordinate system to your data.

  3. You can manually set the CRS using the proj command, e.g. -proj init=wgs84.

mbloch avatar Sep 03 '25 15:09 mbloch