[gdal-dev] Polygonizer / Lines
Chaitanya kumar CH
chaitanya.ch at gmail.com
Thu Mar 14 19:48:59 PDT 2013
You can refer to the method's documentation here:
The mechanism of this operation was already explained Peter Halls in this
mailing list. GEOS does a good job identifying line strings touching at
end points and then combining them to make rings and then polygons.
However, it's your job to ensure that all the line strings passed to the
method are part of a single polygon.
On Thu, Mar 14, 2013 at 11:58 PM, Alisson Barbosa <alisson.uece at gmail.com>wrote:
> Can you explain a bit better?
> 2013/3/14 Chaitanya kumar CH <chaitanya.ch at gmail.com>
>> Check out OGRGeometry::Polygonize()
>> The result depends on the type of intersections in your lines.
>> Best regards,
>> Chaitanya Kumar CH
>> On 14 Mar 2013 21:53, "Alisson Barbosa" <alisson.uece at gmail.com> wrote:
>>> Hi friends,
>>> I have a set of OGRLineStrings and an OGRLinearRing with many
>>> intersections. I would like to polygonize this set of lines. Can anybody
>>> help me?
>>> Best regards,
>>> Alisson Barbosa
>>> Systems Analyst - FUNCEME
>>> M.Sc. in Computer Science - MACC
>>> Graduate in Computer Science - UECE
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
> Alisson Barbosa
> Systems Analyst - FUNCEME
> M.Sc. in Computer Science - MACC
> Graduate in Computer Science - UECE
Chaitanya kumar CH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev