-
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
Shapefile Export broken for Zoning Atlas Dataset #366
Comments
ogr2ogr -lco ENCODING=UTF-8 -f 'ESRI Shapefile' export-zoning-atlas.shp PG:'' -sql 'SELECT *,sde.ST_AsText(shape) FROM mapc.zoning_atlas'
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. Based on the log output above when running the raw command, this may be a permissions issue related to ArcSDE. |
@hydrickg Do you think there might be a permissions issue with ArcSDE here not being able to access the getsrid function from ArcSDE? I am wondering if there is a place we can |
Tried version bumping ogr2ogr without luck on this. |
Also noting that the same logging output occurs when you try exporting a non-broken GIS db: datacommon@live-mapc-org:/var/www/datacommon/shared$ ogr2ogr -lco ENCODING=UTF-8 -f 'ESRI Shapefile' export-walking-trails.shp PG:'' -sql 'SELECT *,sde.ST_AsText(shape) FROM mapc.rpa_poly'
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. I think we can be confident that whatever difference is occuring is not being logged. |
* Because the Zoning Atlas data did not properly display for users who chose to use Excel as their CSV viewer, we are now providing a Sharepoint link that is in XLSX format for their conveinence. * Even more annoying was that the shapefile did not include any shapes when we exported it. So we also had to create the shapefile manually and put into sharefile. Related to #366 and #365, but does not fix them beyond Zoning Atlas.
* Because the Zoning Atlas data did not properly display for users who chose to use Excel as their CSV viewer, we are now providing a Sharepoint link that is in XLSX format for their conveinence. * Even more annoying was that the shapefile did not include any shapes when we exported it. So we also had to create the shapefile manually and put into sharefile. Related to #366 and #365, but does not fix them beyond Zoning Atlas.
Describe the bug
When exporting the
.shp
for Zoning Atlas dataset, the Shapefile is 21KB and seems to contain no shapes.Steps to reproduce
Walk us through how you revealed the bug.
.shp
.shp
in QGIS and note it lacks shapes.Expected behavior
We would expect to see spatial data. The
.shp
from SharePoint is about ~125MB.The text was updated successfully, but these errors were encountered: