[postgis-devel] postgis traceback hyperlink

Justin Pryzby pryzby at telsasoft.com
Tue Nov 26 12:35:37 PST 2019


While transitioning a customer's server, I got an error:

|b'Traceback (most recent call last):\n  File "/home/telsasoft/server/maps/map.py", line 17, in <module>\n    img = m.draw ()\n_mapscript.MapServerError: msDrawMap(): Image handling error. Failed to draw layer named \'lines\'.\nmsPOSTGISLayerParseData(): Query error. Error parsing POSTGIS data variable: You specified \'using SRID=#\' but didnt have any numbers!\n\nMore Help:\n\nError with POSTGIS data variable. You specified \'link_geo FROM (SELECT * FROM ONLY sites) AS foo using SRID=srid#\'.\nStandard ways of specifiying are : \n(1) \'geometry_column from geometry_table\' \n(2) \'geometry_column from (sub query) as foo using unique column name using SRID=srid#\' \n\nMake sure you put in the \'using unique  column name\' and \'using SRID=#\' clauses in.\n\nFor more help, please see http://postgis.refractions.net/documentation/ \n\nMappostgis.c - version of Jan 23/2004.\n\n'

The URL seems to be outdated:
http://postgis.refractions.net/documentation/

The latest version it has is:
http://postgis.net/docs/manual-2.0/

Justin


More information about the postgis-devel mailing list