Skip to main content
Question

Geographic Offsetter

  • February 1, 2018
  • 3 replies
  • 46 views

Forum|alt.badge.img+3

Hi, I have file with starting point in GCS (longitude and latitude values) and all next points are defined as offsets in meters using using Cartesian coordinate system. From those points then I need to build a line(this part is not a problem).

I found Offsetter but is seems like it accept GCS only(or whatever Coordinate System the feature is in). What I'm looking is something like Offsetter but with Geographic features (like GeographicBufferer) where you can specify X,Y in meters/miles.

 

Please advice.

 

Regards, Yarko
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.

3 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • February 1, 2018

My recommendation is to use the CommonLocalReprojector, Offsetter (in meters), LineBuilder, then reproject back to the original coordinate system.

 


Forum|alt.badge.img+3
  • Author
  • 18 replies
  • March 6, 2018

My recommendation is to use the CommonLocalReprojector, Offsetter (in meters), LineBuilder, then reproject back to the original coordinate system.

 

After more testings I realized that this doesn't work for me

 

What I really looking for is something that can shift my point in GCS to given distance in ground meters along x and y.

 

Any suggestions?

 

 


lars_de_vries
Forum|alt.badge.img+10

I think it is very important to realize that ground units cannot be converted to latitude or longitude values directly. You need to know where on planet Earth you are when you want to make the conversion from meters to decimal degrees (or the other way around).

So you'll need to know in which projected coordinate system the offset needs to take place. From that point forward I think I would convert my geometry to that coordinate system, do the offset and convert back to LL-values.

You could also use the solution as proposed by @jdh or you could create the lines representing the offset and reproject those lines, calculate the length (or X/Y difference) and use those values in the Offsetter-transformer.