Hexagon Geospatial
MENU

Spatial Modeler

Discuss topics with other Hexagon Geospatial Product pioneers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 214
Registered: ‎11-16-2015

Defining projection from utm zone

Hi. I'd like to reproject a raster in Spatial Modeler from WGS84 ll to it's approprate UTM zone. Is there a way to define a required coordinate system based on a variable (in this case the number of the utm zone)?

Staff
Posts: 580
Registered: ‎02-02-2016

Re: Defining projection from utm zone

This topic has been escalated to a service request with Hexagon Geospatial Support. The solution will be posted here when it is ready.

 

Kind regards,

 

Stephen Bent

Hexagon Geospatial Support

 

Regular Contributor
Posts: 214
Registered: ‎11-16-2015

Re: Defining projection from utm zone

Thanks to all. This worked:

 

"We need to create the following string using the Concatenate operator and use the same in the Authority port in the “Construct CRS ID” operator and finally connect the same to the output file.

Authority: EPRJ; Code: IMAGINE/Predefined/Coordinate Reference Systems/2D/Projected Coordinate Systems/EPSG Coordinate Systems/WGS 84 \/ UTM zone 16N (32616)"

 

Took a bit of jiggling to get the required string automatically once that was done it works a treat.

Highlighted
Technical Evangelist
Posts: 710
Registered: ‎10-01-2015

Re: Defining projection from utm zone

The final piece of the puzzle turned out to be using the From String operator to convert the String that had been constructed into an IMAGINE.CoordinateReferenceSystemID that would be recognised by the Define Processing Area operator in order to perform the reprojection.

This replaces the "Target CRS" port input in the Model shown in the thread Reproject in Spatial Modeler.

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.