Reduce Detail on Maps?
Gregory S. Williamson
gsw at GLOBEXPLORER.COM
Tue Aug 9 13:56:55 PDT 2005
Kyle,
Do you mean to reduce the detail in the lines themselves ?
If you are using postgres you could perhaps use the simplify function:
* 0.60 Simplify(geometry, tolerance)
Returns a "simplified" version of the given geometry using
the Douglas-Peuker algorithm. Will actually do something
only with (multi)lines and (multi)polygons but you
can safely call it with any kind of geometry. Since simplification
occurs on a object-by-object basis you can also
feed a GeometryCollection to this function. Note that returned
geometry might loose its simplicity (see IsSimple)
Not sure what other tools could do this ... perhaps the JUMP tool has such functionality as well, and it can work directly with shape files.
HTH,
Greg Williamson
DBA
GlobeXplorer LLC
-----Original Message-----
From: UMN MapServer Users List on behalf of Kyle Mulka
Sent: Tue 8/9/2005 12:56 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Cc:
Subject: [UMN_MAPSERVER-USERS] Reduce Detail on Maps?
Is there any way to reduce the detail and smooth out lines. This:
http://mt.kylemulka.com/um.php?map=/ms4w/umbuildings.map&REQUEST=GetMap&SERV
ICE=WMS&VERSION=1.1.1&LAYERS=Buildings&STYLES=&FORMAT=image/png&BGCOLOR=0xFF
FFFF&TRANSPARENT=TRUE&SRS=EPSG:4326&BBOX=-83.7322998046875,42.27934093085314
5,-83.72955322265625,42.28137302193453&WIDTH=256&HEIGHT=256
Just looks ugly with all the detail in it.
-Kyle Mulka
http://maps.kylemulka.com
!DSPAM:42f90a033852046723401!
More information about the MapServer-users
mailing list