Re: Shape-decode problem

Ralf Gerlich <[email protected]> Sun, 16 Apr 2006 10:53:43 +0200
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
Hi,

Rob Oates schrieb:
> Unfortunately, I was misunderstanding how the <area_string> option 
> works. It appears that it only accepts the hardcoded alias in 
> load_noaa_area_codes() in shape-decode.cxx.  If you want to create your 
> own userdefined area, you'll have to edit attributes on this list and 
> recompile the shape-decode program.

No, you have to edit the lists src/Lib/Polygon/names.hxx and names.cxx

Note that the enumeration type in names.hxx also defines the priority of 
the different area types.

Cheers,
Ralf

_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d