[Pywps-devel] ogr2ogr problem

Myunghwa Hwang mhwang4 at gmail.com
Fri Feb 15 01:43:12 CET 2008


Hello!

I'm using self.Cmd function to run ogr2ogr.
In my code, I'm doing conversion from shp file to gml, and the reverse.
The first conversion works well, but the second conversion raises  
errors without any other information of the error.
I suspected the argument of 'ESRI Shapefile' in ogr2ogr caused the  
error since process.py strips whitespaces and sees 'ESRI and  
Shapefile' two
separate arguments.
So I tried to fix this problem in process.py, but it also causes the  
same error.
And if I run the ogr2ogr command in Terminal (I'm using Mac OS X) as  
root, the command works without any problem.

Are there any solutions for this problem?

from Myunghwa

####################################

Myunghwa Hwang

School of Geographical Sciences
GeoDa Center for Geospatial Analysis and Computation
Arizona State University

mhwang4 at gmail.com or mhwang3 at asu.edu



More information about the Pywps-devel mailing list