WikimapsAtlas/WikimapsAtlas-generator

Projection as a parameter ?

hugolpz opened this issue · 0 comments

script: if projection X, then ogrproject=, d3projection=

Projection currently rely on few keyp points within the makefiles and ./js/wikiatlas.js. We recommand to reproject early on, before or at the top of the crop task:

# using ogr2ogr 
ogr2ogr -f 'ESRI Shapefile' -t_srs 'EPSG:...' output.shp input.shp
# then crop vector files via ogr2ogr -clipsrc, raster files via gdal_translate -projwin.

Within the ./js/wikiatlas.js, D3js codes should be projection-agnostic, something such:

var path = d3.geo.path()
    .projection(null);

For more, see Reproject shp/topojson : ways to reproject my data and comparative manual?

Get customable projection would be a great gain.