Skip to main content
Question

polygon with single pair of coordinates,Hi

  • June 16, 2017
  • 1 reply
  • 4 views

Hi

I'm having a problem reading and then writing shapefile into MS SQL database. Shapefile contains multiple polygons (and multi polygons), but apparently there are few with only single pair of LAT / LON coordinates. These are rejected and not written. Is there a way how to write them anyway?

Thanks

,

1 reply

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • June 16, 2017

I would use a Tester (@NumCoords() = 1) and a GeometryCoercer (set geometry to point) to avoid invalid geometries on the output.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings