-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lime Data Download Fails to Produce Working Shapefile #306
Comments
It looks like the request to the server is prefixing the database name as part of the table name parameter:
Another possibility is ogr2ogr -f 'ESRI Shapefile' tmp/cache/lime_test.shp PG:'host=ip-10-0-0-76.ec2.internal port=5432 user=HIDDEN dbname=HIDDEN password=HIDDEN' -sql 'SELECT *,sde.ST_AsText(shape) FROM gisdata.mapc.trans_lime_od_pairs_g250' -skipfailures
ERROR 1: ERROR: function getsrid(cstring) does not exist
LINE 1: SELECT getsrid("st_astext") FROM(SELECT *,sde.ST_AsText(shap...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
ERROR 1: ERROR: function getsrid(cstring) does not exist
LINE 1: SELECT getsrid("st_astext") FROM(SELECT *,sde.ST_AsText(shap...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts. that said file sizes look the same with or without gisdata
versus
|
Possibly related to OSGeo/gdal#1692. Next steps are to add the ubuntu gis PPA to live.mapc.org and upgrade GDAL (for the ogr2ogr utility). Going to try this on Monday since it may break the existing app in other ways due to being a major version bump. |
Closing this as fixed per #306 (comment) since we haven't heard back and the fix worked for me. |
Describe the bug
Loading this Lime dataset in QGIS yields an empty map including an empty attribute layer.
Steps to reproduce
Walk us through how you revealed the bug.
.shp
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: