[mapguide-users] Connecting to Feature Source
cwallace
wallace.cam at gmail.com
Tue Dec 31 10:45:49 PST 2013
I'm having trouble connecting to database feature stores... I keep getting
this error:
/Validating resource:
Session:3daa7c7e-7248-11e3-8000-0022b0be628e_en_MTI3LjAuMC4x0AFC0AFB0AFA//3d74b4fe-0229-403f-afe8-f65b448fac21.FeatureSource
Error - Error_FeatureSource_SpatialContextReadError: Failed to read spatial
context:
The remote server returned an error: (559) MgFdoException.:
An exception occurred in FDO component.
Error occurred in Feature Source
(Session:3daa7c7e-7248-11e3-8000-0022b0be628e_en_MTI3LjAuMC4x0AFC0AFB0AFA//3d74b4fe-0229-403f-afe8-f65b448fac21.FeatureSource):
RDBMS: [PGRES_FATAL_ERROR] ERROR: relation "geometry_columns" does not
exist
LINE 6: from geometry_columns a
^
(Cause: , Root Cause: RDBMS: [PGRES_FATAL_ERROR] ERROR: relation
"geometry_columns" does not exist
LINE 6: from geometry_columns a
^
)
- MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\FeatureServiceHandler.cpp
- MgOpGetSpatialContexts.Execute() line 105 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\OpGetSpatialContexts.cpp
- MgServerFeatureService.GetSpatialContexts() line 976 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\ServerFeatureService.cpp
- MgServerGetSpatialContexts.GetSpatialContexts() line 100 file
c:\working\build_area\mapguide\2.5.2\x86\mgdev\server\src\services\feature\ServerGetSpatialContexts.cpp
The remote server returned an error: (559) MgFdoException./
When I try to connect to my PostGIS db, or even a SpatialLite db...
I can connect to them just fine using QGIS.
When connecting through the New Resource dialogue, I've been leaving the
Service box blank, putting in my username and password for the locally
hosted db, then selecting the postgres data store (the only option
available. This way the Test Connection dialogue returns "True". As soon as
I try to save I get the above error...
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Connecting-to-Feature-Source-tp5095965.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list