[geos-devel] [GEOS] #876: rgeos::writeWKT() pass polygon direction as parameter
GEOS
geos-trac at osgeo.org
Thu May 31 06:51:46 PDT 2018
#876: rgeos::writeWKT() pass polygon direction as parameter
-----------------------------+--------------------------
Reporter: dennisguse | Owner: geos-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: 3.6.3
Component: Default | Version: 3.6.2
Severity: Feature Request | Keywords: WKT
-----------------------------+--------------------------
I am using rgeos::writeWKT() to export geo data for import into Microsoft
SQLServer.
Sadly, the server is picky about the polygon orientation (ie., clockwise,
counter-clockwise).
However, rgeos::writeWKT() does not support to to define the orientation.
It would be awesome to add this option.
Workaround for me:
So far, I convert the (wrongly inverted) polygons in SQLServer by checking
the actual size and if too large invert them.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/876>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list