wavded / ogre

ogr2ogr geojson-focused web client
http://ogre.adc4gis.com
MIT License
266 stars 79 forks source link

upload parameter #29

Closed aborruso closed 10 years ago

aborruso commented 10 years ago

Hi, is it possibile to insert a file URL in upload parameter?

Something like http://ogre.adc4gis.com/convert?upload=http://www.mysite.it/vf2.txt (it's a VRT file)

Thank you very much

wavded commented 10 years ago

It is not currently, you can use a file url for the geojson endpoint (but it has to be a geojson file).

aborruso commented 10 years ago

Thank you very much @wavded

Please consider this a feature request. ogre would be even more beautiful and useful than it is already.

Best regards

wavded commented 10 years ago

At this point, I only want to support file urls that ogr2ogr can actually can handle without the server doing the work (which isn't for all types across the board -- but does work for GeoJSON). If you desire such a server still. You can easily make your own by using the ogr2ogr module directly and just wrap a server around it (that's basically what Ogre is doing now).

https://github.com/wavded/ogr2ogr