Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projection as a parameter ? #1

Open
hugolpz opened this issue May 18, 2015 · 0 comments
Open

Projection as a parameter ? #1

hugolpz opened this issue May 18, 2015 · 0 comments
Assignees
Milestone

Comments

@hugolpz
Copy link
Contributor

hugolpz commented May 18, 2015

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.

@hugolpz hugolpz added this to the v2.0 milestone May 18, 2015
@hugolpz hugolpz changed the title Add a parameter and flexibility for various projections. Add: parameter and flexibility for various projections. May 18, 2015
@hugolpz hugolpz self-assigned this Apr 18, 2017
@hugolpz hugolpz changed the title Add: parameter and flexibility for various projections. Projection as a parameter ? Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant