Hi Al,
So I downloaded the data and the more I look at it the more I think that Brents initial explanation is correct. Its just that GeoServer is positioning the labels in a way so that they do not collide with each other.
I also noted that are are many points with duplicate names. For instance i noted 17 points with the name "Albuquerque city" and 2 named "Gallup city". And many which have no names... this in conjunction with the label collision stuff is probably what is leading to the strange labeling stuff.
SLD has support for label placement strategies. You can try playing around with those and see if it helps.
-Justin
Al Byers wrote:
Sorry Justin,
I just spaced it. I had this performance problem on my mind.
The right url is: http://rgis.unm.edu/loader_div.cfm?theme=Cities%20and%20Towns
It is the row titled: Metro Boundary of Towns >5000. The file is cit2shp.zip
Regarding the performance issue. I do have resolution dependent styles. What are the things in a style that slow it down the most?
TextSymbolizer?
Functions?
Multiple overlays?
Still, like you said, it would seem odd that 12,000 features would slow down an indexed shapefile.
Thanks for all your help.
-Al
On 7/26/07, *Justin Deoliveira* <jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>> wrote:
Hi Al,
Somewhat confused... I thought it was the point/city dataset you were
having the problem with?
About the performance... postgis might help but doubtful. I see only
about 12000 features in that shapefile... should be pretty snappy with
indexed shapefile as well.
Do you have scale dependent styles which engage at the higher
resolutions? Could be the style that is causing the performance hit.
-Justin
!DSPAM:4007,46a8da8d55021804284693!
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
!DSPAM:4007,46a8da8d55021804284693!
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,46a8da8d55021804284693!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org