[mapguide-users] RE: OGR with postgis support

Traian Stanev traian.stanev at autodesk.com
Wed Sep 27 14:51:52 EDT 2006


That exception is happening when you hover the mouse over the map in the AJAX viewer. However, it is not an indication of why rendering is not working, it is an indication of selection not working. One thing you could try is check the extents of the map definition and set them to some known and small extent where you know there are some features. Also, try running the mgserver.exe from the command line using the /interactive option and see if there is any output by the OGR provider printed on the command line.
 
Traian

	-----Original Message----- 
	From: HL [mailto:huiling.wee at gmail.com] 
	Sent: Wed 9/27/2006 4:56 AM 
	To: users at mapguide.osgeo.org 
	Cc: 
	Subject: [mapguide-users] RE: OGR with postgis support
	
	


	I manage to setup the connection to Postgis database and add a layer from the
	data source.  However, I can't seem to get any of my spatial data show up in
	the map area of web preview (layer, map and web layout previews) and not to
	say DWF nor AJAX viewer. 
	
	1)  If I view with DWF viewer, all I get is the map component in a grey
	color.  Other than that, it hangs my system.
	
	2)  In AJAX viewer, I can see the layer listing on left panel but data show
	up in map area, is blank.
	
	3)  In the Error.log, I got this:
	
	 Error: An unclassified exception occurred.
	 StackTrace:
	  - MgRenderingServiceHandler.ProcessOperation line 83 file
	c:\build_tux_area\mgdev_opensource\server\src\services\rendering\RenderingServiceHandler.cpp
	  - MgOpGeneratePlot.Execute line 98 file
	c:\build_tux_area\mgdev_opensource\server\src\services\rendering\OpQueryFeatures.cpp
	  - MgServerRenderingService.QueryFeatures line 496 file
	c:\build_tux_area\mgdev_opensource\server\src\services\rendering\ServerRenderingService.cpp
	  - MgServerSelectFeatures.SelectFeatures line 217 file
	c:\build_tux_area\mgdev_opensource\server\src\services\feature\ServerSelectFeatures.cpp
	An unclassified exception occurred.
	
	
	--
	View this message in context: http://www.nabble.com/OGR-with-postgis-support-tf2092561.html#a6523043
	Sent from the OSGeo MapGuide mailing list archive at Nabble.com.
	
	
	---------------------------------------------------------------------
	To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
	For additional commands, e-mail: users-help at mapguide.osgeo.org
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060927/43283d55/attachment.html


More information about the Mapguide_users mailing list