[mapguide-users] Mapguide 3.1 Label Issue

Hans Milling hm at geograf.dk
Mon Jan 2 05:19:36 PST 2017


Does it work when you run the application but after a while stops working due
to the MapGuide sessions has timed out? Or the map never works and always
give you the timeout error because the render time is too long?
Perhaps too many labels are displayed at the same time. You can duplicate
the layer style. I should read something like 0 : Infinity
After you have duplicated the layer style, set the first one to 0 : 1000 and
the second to 1001 : Infinity.
Apply only labels to the 0 : 10000 to make sure labels only appear when
zoomed way into the map (just for a test). See if that works. If it does,
the peoblem is too many lables displayed and the outer zoom levels.
Another way to debug the timeout could be running the SQL Server profiling
tool (unless you are using SQL Express) to see what select commands MapGuide
is using. Run the select command in Management Studio and see how many rows
are returned. If many thousand rows are returned MapGuide will die trying to
draw all those labels.
I am not sure if MapGuide can output/log the SQL sentences in case you do
not have the profiling tool.




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-3-1-Label-Issue-tp5301253p5301760.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list