comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » cgmap_gshhs.pro minarea issue
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
cgmap_gshhs.pro minarea issue [message #86594] Thu, 21 November 2013 16:09 Go to previous message
pvelissariou is currently offline  pvelissariou
Messages: 4
Registered: November 2013
Junior Member
Apparently, in the recent versions (>= 2.2) of gshhs database
the units of the header.area changed from 1/10 km^2 to 1/10 m^2.
For cgmap_gshhs to work properly the line:
polygonArea = header.area * 0.1 (ok for gshhs < 2.2)
should be changed to:
polygonArea = header.area * 1.0e-7 (for gshhs >= 2.2)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.2, read pixel value along a surface
Next Topic: Exelis code library down - someone has G

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:12:06 PDT 2025

Total time taken to generate the page: 0.00242 seconds