Hi Reid I've written several different routines for map labelling in hyperGIS, which is Flash based. The strategi depends on the dataset. Dynamic Road labelling has proved unefficient as it requires transfering alot of data out to the client, and requires some relatively heavy processing. Therefore we generally would create a static layer in a desktop GIS app first.
Here's an example to handle Ordinance Survey Text placements. http://www.hypergis.com/demos/as/showostext.txt Unfortunately different datasets have different ways of storing the rotation, size, etc. If you have a sample of your data I'd be glad to help. Cheers Peter Strømberg -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reid Priedhorsky Sent: 27 December 2006 20:18 To: [email protected] Subject: [Geowanking] Looking for a decent map labeling algorithm Dear geowankers, I am writing a Flash web mapping algorithm, and we need a map labeling algorithm. I was hoping that you folks might be able to point me in the right direction. Here are our top requirements: 1. Fast. 2. Easy to implement and understand. (I would like to minimize the amount of effort I spend learning about map labeling.) Other requirements: 1. Currently just needs to label the transportation network; later, point and area features too. 2. Decent results. (Good/great is not necessary - we can make it better later.) 3. Doesn't need to work at small scales, say less than 1:24k or so (we will punt to MapServer for rendering for scales below a certain threshold). 4. Must be able to expand the map without needing to relabel everything. (I.e., panning into a new area means just labeling the new stuff.) Does this make sense? I am a newbie in this area, so please feel free to ask follow-up questions. Any ideas about where I should look would be very welcome. Many thanks, Reid _______________________________________________ Geowanking mailing list [email protected] http://lists.burri.to/mailman/listinfo/geowanking _______________________________________________ Geowanking mailing list [email protected] http://lists.burri.to/mailman/listinfo/geowanking
