Skip to main content
Solved

Convert lat/lng to geom data type


Forum|alt.badge.img

I have to convert these lat/lng to geom data type, such these lat/lng are in space (here I have done wrong), Kindly guide how I can convert them (lat,lng) to geometry such that they occur in space. Thank you

Best answer by redgeographics

You can use a VertexCreator to create geometry from the lat and lng attributes, or the GeometryReplacer to use the geom attribute, it looks like that's in OGC WKT format.

Hope this helps.

View original
Did this help you find an answer to your question?

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+45
  • Celebrity
  • Best Answer
  • June 19, 2017

You can use a VertexCreator to create geometry from the lat and lng attributes, or the GeometryReplacer to use the geom attribute, it looks like that's in OGC WKT format.

Hope this helps.


mark2atsafe
Safer
Forum|alt.badge.img+40

Yes, I suggest the VertexCreator transformer as Hans suggests. I made a short movie of the process that you can access here:

https://www.screencast.com/t/nFhuUqdh1tvM


mark2atsafe
Safer
Forum|alt.badge.img+40
mark2atsafe wrote:

Yes, I suggest the VertexCreator transformer as Hans suggests. I made a short movie of the process that you can access here:

https://www.screencast.com/t/nFhuUqdh1tvM

You can also find examples on the knowledge centre - for example here converting CSV to Shape: https://knowledge.safe.com/content/kbentry/1493/index.html

 

 


Reply


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