[Antelope] polygon data storage format
Gabe Plank
gabe at seismo.unr.edu
Thu Nov 6 13:07:09 CST 2008
Thanks Niko. It would be excellent to have xy2polygon in the perlpoly
interface. I didn't see the actual datafile format spec in any of the
man pages.
-Gabe
Nikolaus Horn wrote:
> 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
>>
>
>
>
--
// Gabe Plank
// Programmer/Analyst, Seismic Network
// Seismology Department
// University of Nevada, Reno
More information about the Antelope
mailing list