php script to automate the loading of gpx/shp to postgresusing ogr2ogr

php script to automate the loading of gpx/shp to postgresusing ogr2ogr

am 21.11.2008 08:12:34 von reena

Hi All,

I want to automate the conversion of gpx/shp file to postgres database..as
when user uploads the file to a specified folder...ogr2ogr command is
activated to convert gpx to postgres ....Can any1 suggest some script or
something for this (using php ) ...Also whether OGR/PHP extension will serve
my purpose . If anyone can provide example as to how to use this and all,
it'd be very helpful.

Thank you
Reena.
--
View this message in context: http://www.nabble.com/php-script-to-automate-the-loading-of- gpx-shp-to-postgres-using-ogr2ogr-tp20616223p20616223.html
Sent from the Php - Database mailing list archive at Nabble.com.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: php script to automate the loading of gpx/shp to postgresusing ogr2ogr

am 21.11.2008 08:19:12 von dmagick

S.Reena wrote:
> Hi All,
>
> I want to automate the conversion of gpx/shp file to postgres database..as
> when user uploads the file to a specified folder...ogr2ogr command is
> activated to convert gpx to postgres ....Can any1 suggest some script or
> something for this (using php ) ...Also whether OGR/PHP extension will serve
> my purpose . If anyone can provide example as to how to use this and all,
> it'd be very helpful.

I'd probably say "roll your own" unless a search finds something..
sounds like a pretty specific requirement.

No idea what gpx or ogr2ogr are either which probably doesn't help ;)

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php