Skip to main content
Question

polygon with single pair of coordinates,Hi

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

,

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

erik_jan
Contributor
Forum|alt.badge.img+26
  • 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.