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

Home » Public Forums » archive » shapefile problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
shapefile problem [message #69636] Thu, 28 January 2010 11:43
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
I'll start by saying that this is my first foray into shapefiles and I'm
probably doing something stooopid.

I'm using Dr. Coyote's excellent software to draw shapes on a map
thusly...


map_set,/noborder
map_continents,/coast
provFile="c:\my_idl\longhurst\Longhurst_world_v2_2009"
drawStates,provFile,statenames='FKLD',attribute_name='PROVCO DE',/fill

And it does a excellent job of drawing the Falkland/Malvinas province on
the map. In fact it does a very good job of drawing all of the provinces
on the map, with the exception of 1, BPLR, which is filling everything
*except* the BPLR province (BPLR == Bi-polar???). I suspect that it's a
problem with the province vertices.

If you go here, http://www.vliz.be/vmdcdata/vlimar/vlimar.php?
p=details&id=21450, and scroll the map, it appears that this province is
unbounded on the northern edge.

Is there an "easy" fix to drawStates that would solve the problem, or
Is there an "easy" fix to the province definition, or
Is the solution to go back to the folks who distribute the shapefile and
have them "close the polygon"

(the shapefile is available for download at http://www.vliz.be/vmdcdata/
vlimar/policy.php?id=2&name=longhurst_v2_2009.zip)

TIA,
Bruce



--
+-------------------+--------------------------------------- ------------+
Bruce Bowler | What critics call dirty in our movies they call
1.207.633.9600 | lusty in foreign films. - Billy Wilder
bbowler@bigelow.org |
+-------------------+--------------------------------------- ------------+
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Map projection header file question
Next Topic: Re: shapefile problem

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

Current Time: Sat Oct 11 03:56:30 PDT 2025

Total time taken to generate the page: 1.28146 seconds