What's new

Welcome to the GSA Community!

This is the Official User Community for GE's GeoSpatial Analysis products. By registering with us, you'll be able to discuss, share and private message with other members of our Community.
Registration is currently only allowed with a personalized invitation code, which you might have received previously. If you haven't got one:
please get in touch with your GE contact person or your regional moderator(s): see FAQ.

SignUp Now!

GSA Pro 5.3. Geometry: Transform Expression

Björn Schaefer

Member
Confirmed GSA Customer
Joined
Oct 26, 2020
Messages
91
Maybe a stupid Question, but I do not know, how to use the transform method properly.
The online description says:
Geometry Geometry.Transform(CoordinateSystem coordinateSystem)

but there is no hint / example, how to "spell" the coordinate system correctly

What I want to do:

[Nsp Hausanschluss].Position.Transform(?)
and I would like to specify this to WGS84, but how?
 

Frank Pistorius

Spatial Eye
Confirmed GSA Customer
Joined
May 26, 2020
Messages
36
Hi Björn,

A coordinate system can be created using the CS() function.

As can be seen there, translating your geometry to WGS84 can be done using:
[Nsp Hausanschluss].Position.Transform( CS(4326) )

This uses the EPSG code of WGS84. For other means of creating a coordinate system, see the documentation on the CS() function.

Regards,

Frank Pistorius
 
Top