state names with national atlas data

Mark Dieterich mdieterich at GMAIL.COM
Fri Apr 22 12:16:53 EDT 2005


Hi everyone,

I'm trying to use the generalized national atlas data at high zoom
levels for my maps.  It's working out pretty well, until I get to a zoom
level where all I want to display is state names.  Two problems:

1) I only want each state name to display once.  I can put a really big
MINDISTANCE in my mapfile to handle this, but it introduces the next
problem.

2) Where mapserver chooses to put the label appears to be random.  I'm
sure it's not, but it certainly isn't the center of the state.

Any idea how I can work around these two issues?

Thanks,

Mark



More information about the mapserver-users mailing list