Skip to main content
Question

Reproject with Coordinate System using User Parameter


I have two readers reading two shapefiles: a centerline and a AOI of interest. The centerline is in WGS 1972 and the AOI. I need to reproject the centerline to the coordinate system of the AOI. Is there a way to define the "Destination Coordinate System" with that of the AOI?

 

Capture

4 replies

DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • June 26, 2023

Hi @moostang88​ I'd use a CoordinateSystemExtractor on the AOI features, followed by a VariableSetter. Put a VariableRetriever before the Reprojector for the centerline features then use that attribute for the Destination Coordinate System in the Reprojector. Remember that the variable needs to be set before it's read back, so make sure that the AOI reader in the navigator is ahead (or above) the centerline reader in the Navigator Pane. Lastly, you might need a disabled connection between the VariableSetter and VariableRetriever.


  • Author
  • June 27, 2023

Thanks. But, it just does not work. It does not reproject at all.

image


DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • June 27, 2023

Hi @moostang88​ The VariableSetter and Retriever should be on different paths, e.g.image


  • Author
  • June 27, 2023

Ah. I see. Now it works ! Thanks !!


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