Closed Malo87 closed 10 years ago
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)
https://github.com/Malo87/ogre/commit/c29693968af63dcd02905b02c259b62b1428e408#L0R108
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).
I've consedered this system http://spatialreference.org/
reprojection is now part of Ogre, sorry this took so long :(
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