Tag Info

New answers tagged


the math will depend on the projection and what you want to preserve. A generic solution would consist in computing the Lat/Long coordinates of your points, then you simply add the value of your shift to each coordinates, and you finally reproject in your initial projected coordinate system. For pure East-West rotation, there is no distortion. For ...


Because you are "near" the equator, the cylindrical projections (like Mercator) work well (not too many distortions). If you want to be perfectly fair in terms of areas, you could use cylindrical equal area or sinusoidal projection. But this would not markedly differ from Mercator.


The documentation is not that clear, I had the same issue and needed to dig around in the topojson test scripts to work it out. https://github.com/mbostock/topojson/blob/master/test/feature-test.js You do it by passing a function as an option, like this: var geojson = ...

Top 50 recent answers are included