Paul Surgeon wrote:
> On Sunday 23 April 2006 12:38, Martin Spott wrote:

>> Thanks ! I feel a major drwback is that the airports don't have their
>> ICAO codes attached to the circles. This appears to be part of the
>> group of features that need special handling ....

> Ok, I'm assuming you're pulling the airport data out of the DB. I used a 
> shapefile but the properties should be set the same in the Mapscript.
> The "LABELITEM" property is the "column name".
> One thing you may want to do is use a dot with a ring for symbols. It makes 
> it 
> easy to see the symbol on top of any color.
> Light ring around dark dot or dark ring around a light dot.
> 
> Example : http://www.freeimagelibrary.com/images/Surge/map1.png
[...]
>     CLASS
>       NAME       "Airports"
>       STYLE
>         SYMBOL       "cities-symbol"
>         COLOR        100 120 255
>         OUTLINECOLOR 255 255 255
>       END

The screenshot looks promising, but I guess it does not show these
yellow circles. When assigning '100 120 255' I get some blueish dots.
BTW, how does your definition of the "cities-symbol" look ?

The difficulty is that Mapserver has its own idea on how to query a
PostGIS database. In fact for the airport locations I'm reading the
runway locations from the 'apt.dat' file, I'm determining an 'average'
location by weighing the runway lengths on airfields with more than one
runway and finally I'm creating an OGC/PostGIS-conformant POINT
geometry which is then being written to the DB.

Reading the geometry from the DB is easy but the standard way for
Mapserver to read from PostGIS isn't well suited to read columns with
simple text that contains the ICAO identifier. This needs a hand
crafted query for Mapserver and I was not in the mood to do this
yesterday evening  :-)

Cheers,
        Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to