wavded / ogre

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

{"errors":["ogr2ogr took longer than 15000 to complete"]} #36

Closed Airuis closed 8 years ago

Airuis commented 9 years ago

First off, thanks for the great tool. I've used it in projects on several occasions. However, now I'm getting the above error whenever I try to convert ESRI shapefiles packaged in zip files.

wavded commented 9 years ago

Are you using the online tool? Or do you have Ogre running locally?

Airuis commented 9 years ago

?That's from the online tool.


From: Marc Harter notifications@github.com Sent: Tuesday, March 31, 2015 2:31 PM To: wavded/ogre Cc: Harding, Stephen Subject: Re: [ogre] {"errors":["ogr2ogr took longer than 15000 to complete"]} (#36)

Are you using the online tool? Or do you have Ogre running locally?

Reply to this email directly or view it on GitHubhttps://github.com/wavded/ogre/issues/36#issuecomment-88256267.

wavded commented 9 years ago

Gotcha, we may bump that up at some point, but we are balancing the operating power handling request which what is feasible for us from a load perspective. We could make that configurable for local installs however.

Airuis commented 9 years ago

?Yeah, I just tried running it locally and had the same issue.


From: Marc Harter notifications@github.com Sent: Tuesday, March 31, 2015 2:35 PM To: wavded/ogre Cc: Harding, Stephen Subject: Re: [ogre] {"errors":["ogr2ogr took longer than 15000 to complete"]} (#36)

Gotcha, we may bump that up at some point, but we are balancing the operating power handling request which what is feasible for us from a load perspective. We could make that configurable for local installs however.

Reply to this email directly or view it on GitHubhttps://github.com/wavded/ogre/issues/36#issuecomment-88257215.

wavded commented 9 years ago

I added a timeout setting in the latest commits, care to try it out and see if that helps?

Airuis commented 9 years ago

Thanks for adding that so fast! I just tried it, and I'm getting a different error; not sure if this has to do with the installation of the ogr2ogr module:

{"errors":["Error: spawn ogr2ogr ENOENT"]}?

Sorry if this is more due to an error on my end than with the program...any idea what it might be?

Again, thanks for your help with this. You rock.


From: Marc Harter notifications@github.com Sent: Tuesday, March 31, 2015 7:51 PM To: wavded/ogre Cc: Harding, Stephen Subject: Re: [ogre] {"errors":["ogr2ogr took longer than 15000 to complete"]} (#36)

I added a timeout setting in the latest commits, care to try it out and see if that helps?

Reply to this email directly or view it on GitHubhttps://github.com/wavded/ogre/issues/36#issuecomment-88322068.

wavded commented 9 years ago

@Airuis that is because it can't find the ogr2ogr command in your PATH, have you installed GDAL?

Airuis commented 9 years ago

I have. Tried reinstalling it several times. I actually overlooked the fact that I needed that when I first ran Ogre locally, and it gave me this error. But when I did install GDAL, it gave me the timeout error. Then when I downloaded the new version of Ogre, it started giving me this error again.

I actually found an alternate, smaller shapefile containing the information I needed, so I was able to run that successfully on the web client and get the geojson. So this no longer has the urgency for me that it did before. I would still like to run Ogre locally, if possible, though. More convenient just in case I run into this problem again. But since it's an issue with my configuration, I don't expect you to play tech support for me. Any advice as to where to look for a solution?

Again, thanks so much for your help, and for such a great program.


From: Marc Harter notifications@github.com Sent: Wednesday, April 1, 2015 12:15 PM To: wavded/ogre Cc: Harding, Stephen Subject: Re: [ogre] {"errors":["ogr2ogr took longer than 15000 to complete"]} (#36)

@Airuishttps://github.com/Airuis that is because it can't find the ogr2ogr command in your PATH, have you installed GDAL?

Reply to this email directly or view it on GitHubhttps://github.com/wavded/ogre/issues/36#issuecomment-88598711.

wavded commented 9 years ago

Have you tried building the docker image by chance? That includes a full featured environment for Ogre.

wavded commented 8 years ago

Closing due to time open with no activity, if there is more to report, feel free to comment.

lhenriquegomescamilo commented 5 years ago

How this error has fixed?