[Antelope] polygon data storage format

Nikolaus Horn horn.niko at gmail.com
Wed Nov 5 14:23:16 CST 2008


Hi Gabe,

there is acontributed program, xy2polygon that could do the conversion  
for you.
There is a manpage for the polygon schema, polygon1.2(5) that explains  
the storage format, at least this was my intention when I wrote it.
If your code really needs to be in Perl, I could add the functionality  
to save polygons to perlpolygon. Otherwise I would recomment to use  
either
xy2polygon directly or to modify it for your needs.

Additionally I can offer some matlab extension to read/write polygons.

Niko

Am 04.11.2008 um 21:37 schrieb Gabe Plank:

> Hello-
>
> We have polygon (lon,lat) vertices in text files and I am writing a  
> PERL script to convert them to Datascope polygon1.2 tables.
>
> I have not been able to find an example of the polygon data storage  
> format for the file specified by polygon.dfile. Is it a comma- 
> separated list of (ftype) X,Y values? Binary or ASCII?
>
> Any help would be appreciated.
>
> // Gabe Plank
> // Programmer/Analyst, Seismic Network
> // Seismology Department
> // University of Nevada, Reno
>
> _______________________________________________
> Antelope mailing list
> Antelope at brtt.net
> http://brtt.net/mailman/listinfo/antelope_brtt.net
>




More information about the Antelope mailing list