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

OGR guesses wrong #12

Closed
Malo87 opened this issue May 20, 2013 · 4 comments
Closed

OGR guesses wrong #12

Malo87 opened this issue May 20, 2013 · 4 comments

Comments

@Malo87
Copy link

Malo87 commented May 20, 2013

Hi.. I've some shp files where ogr fails to guess the right projection. From the command line i can use the -a_srs flag and -t_srs flag to specify the source and target projection.. There will be a method to submit these flags from the POST params?

Thanks,
Daniele

@wavded
Copy link
Owner

wavded commented May 26, 2013

is your shapefile not including a valid .prj file? or do you have a sample that does not work?

I'm hesitant to allow custom ogr2ogr arguments to be passed in since we don't allow that anywhere (yet) and would need to do a bit of security checking. The pull you provided, although innocent looking, would allow anyone to run whatever shell commands they wanted on your server (not good)

Malo87@c296939#L0R108

@Malo87
Copy link
Author

Malo87 commented May 27, 2013

Hi, i've added a sanitizing regexp. It would be enought? My shapefile is not including a prj file, and i receive this zip with this structure (without the archive).

@Malo87
Copy link
Author

Malo87 commented May 27, 2013

I've consedered this system http://spatialreference.org/

@wavded
Copy link
Owner

wavded commented Nov 12, 2013

reprojection is now part of Ogre, sorry this took so long :(

@wavded wavded closed this as completed Nov 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants