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

Home » Public Forums » archive » Need to create a polygon shapefile from a binary mask... any functions that could help?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Need to create a polygon shapefile from a binary mask... any functions that could help? [message #88864] Sun, 29 June 2014 14:49 Go to previous message
ca11h is currently offline  ca11h
Messages: 3
Registered: June 2014
Junior Member
Hey guys, I have a binary mask (just 1s and 0s) and I need to somehow extract the polygons (1s) out of there and convert them to a shapefile. Well all the documentation I've found seems to suggest that I need all the vertex data for each of the polygons I want to add, and I need to add them one by one... is there any other way to go straight from binary mask -> shapefile?

If not, is there anyway to extract the polygons from the binary mask easily?

Thank you all for the help, finding help online for IDL is painstakingly frustrating sometimes, as I'm sure you all know...

Also does anyone have any examples of creating a polygon shapefile? Documentation only has examples for a point shapefile...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SPAWN exit status different from shell exit status.
Next Topic: how to select multiple band

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

Current Time: Wed Oct 08 15:20:31 PDT 2025

Total time taken to generate the page: 0.00444 seconds