[geos-devel] troubles with gPolygonize
Roger Bivand
Roger.Bivand at nhh.no
Wed Feb 13 12:33:25 PST 2013
Thanks for reporting back. I don't think you mean "crash" in the R sense
(error exit from the R interpreter); if the first argument to gPolygonize()
is not a list of SpatialLines objects - in your case it is:
> table(sapply(LS, class))
SpatialLines
15
but a SpatialLines object, the function returns NULL if it cannot be made
into a polygon. There are no WKT objects involved, as readWKT() returns a
Spatial* object with its specific class determined by the type of the WKT
string.
Roger
Masucci, A wrote
> Dear Roger,
> I found that the bug was fixed, thanks so much.
> Now it works great with WKT lines, while it crashes if the lines are given
> as SpatialLines, but it's not an issue to feed it with WKT
> Best regards
>
> Paolo
>
>
> ________________________________________
> From:
> geos-devel-bounces at .osgeo
> [
> geos-devel-bounces at .osgeo
> ] on behalf of Roger Bivand [
> Roger.Bivand@
> ]
> Sent: 06 February 2013 17:13
> To:
> geos-devel at .osgeo
> Subject: Re: [geos-devel] troubles with gPolygonize
>
> rgeos 0.2-13 is now submitted to CRAN, should be built as a Windows binary
> shortly, probably also for your R 2.14.
>
> Roger
>
>
>
> -----
> Roger Bivand
> NHH Norwegian School of Economics, Bergen, Norway
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/troubles-with-gPolygonize-tp5032205p5032540.html
> Sent from the GEOS Developers mailing list archive at Nabble.com.
> _______________________________________________
> geos-devel mailing list
> geos-devel at .osgeo
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at .osgeo
> http://lists.osgeo.org/mailman/listinfo/geos-devel
-----
Roger Bivand
NHH Norwegian School of Economics, Bergen, Norway
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/troubles-with-gPolygonize-tp5032205p5034068.html
Sent from the GEOS Developers mailing list archive at Nabble.com.
More information about the geos-devel
mailing list