[mapserver-users] MINSCALEDENOM did not work?

Alphatran bicphuongonline at yahoo.com
Mon Sep 21 11:22:22 EDT 2009



Rahkonen Jukka wrote:
> 
> 
> Hi,
> 
> Try to get something written into Mapserver log. Add something like
> CONFIG "MS_ERRORFILE" "d:/program files/ms4w/tmp/ms_error.txt"
> 
> into MAP object, and DEGUG 5 into LAYER.
> 
> It might be easier to understand what happens by using something else than
> Openlayers application as a client first. Shp2img or browser and &mode=map
> are simple to keep under control, as well as sending WMS request directly
> from browser or through some WMS client like OpenJUMP or QGIs.
> 
> -Jukka Rahkonen-
> 
> 
> 

Thanks for your help Jukka,

As your suggestion, I config MS_ERRORFILE and found following error when I
turn on the layer on LayerSwitcher of OL:

[Mon Sep 21 22:10:43 2009].688894 getMetaData: Hash table error. Key
labelcache_map_edge_buffer does not exist
[Mon Sep 21 22:10:57 2009].424388 freeLayer(): freeing layer at 0x892c518.
[Mon Sep 21 22:10:43 2009].702094 getMetaData: Hash table error. Key
labelcache_map_edge_buffer does not exist
[Mon Sep 21 22:10:58 2009].120686 freeLayer(): freeing layer at 0x87fb518.
[Mon Sep 21 22:10:44 2009].162755 getMetaData: Hash table error. Key
labelcache_map_edge_buffer does not exist
[Mon Sep 21 22:10:58 2009].155177 freeLayer(): freeing layer at 0x91ab518.
[Mon Sep 21 22:11:27 2009].717496 freeLayer(): freeing layer at 0x9b08038.
[Mon Sep 21 22:11:27 2009].771941 freeLayer(): freeing layer at 0x8f19038.

I tried to open the layer with QuantumGIS, and QuantumGIS shows me no
features.

Someone could fix the error above by set DEBUG OFF at MAP section in map
file. I tried this way too but no better news.

Do you know how to solve this error, Jukka?

-- 
View this message in context: http://n2.nabble.com/MINSCALEDENOM-did-not-work-tp3637534p3686070.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list