[mapguide-users] FW: Problems while labeling polylines
max at geoinova.com
Sat Dec 29 08:31:32 EST 2007
Road network stylization sometimes turns out to be a challenging task,
especially if you have Google Maps in mind. Take a look at the attachment,
and the steps to reproduce visuals/behaviour:
1) First of all, you need to prepare your network topology in a NaN fashion
(Node-Arc-Node), and stick to that rule: roads are continuos LineStrings, if
there's a crossing - LineString ends. Each arc in a topology needs to get
properly coded (road code) and named.
2) Road network represents a layer being updated rarely (more or less), so
it's one of the candidates for one of the base layer groups.
3) To get it looking GoogleMaps-alike, you'll have to use at least two
separate layers: one for borders, the other (one pixel narrower, above it)
for continuous fill. In my case, both of them are stored in base layer
4) Road labels (street names) were generated dinamically, they're not part
of base layer group. It turns out that they're best fit that way, don't
overlap too much and never get displayed upside-down.
I hope this helps.
View this message in context: http://www.nabble.com/FW%3A-Problems-while-labeling-polylines-tp14525210s16610p14537519.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users