Question

polygon with single pair of coordinates,Hi

  • 16 June 2017
  • 1 reply
  • 0 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

Userlevel 2
Badge +16

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

Reply