Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

coordinate transformation and CreateCoordinateXY()

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
252 Views, 3 Replies

coordinate transformation and CreateCoordinateXY()

Hello,
When creating a point using "CreateCoordinateXY()" can mapguide do a
coordinate conversion to the current map coordinate system.

For example, I am using a geocoder utility that returns lat/lon data but the
map is in another coordinate sysem in metres.

There is "CreateCoordinateXYM()" with "measure" as the third parameter but I
don't know how to use it.

thanx
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

See the MgCoordinateSystemTransform class in the API documentation.
There's an example of doing what you are asking in the section on the
Transform method (the Transform(MgCoordinate) listing).


--
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com


"Paul" wrote in message
news:5518029@discussion.autodesk.com...
Hello,
When creating a point using "CreateCoordinateXY()" can mapguide do a
coordinate conversion to the current map coordinate system.

For example, I am using a geocoder utility that returns lat/lon data but the
map is in another coordinate sysem in metres.

There is "CreateCoordinateXYM()" with "measure" as the third parameter but I
don't know how to use it.

thanx
Message 3 of 4
Anonymous
in reply to: Anonymous

thanks I got it to work,
you pointed me in the right direction.

but I can't find a downloadable version of the API


"Andy Morsell" wrote in message
news:5518394@discussion.autodesk.com...
See the MgCoordinateSystemTransform class in the API documentation.
There's an example of doing what you are asking in the section on the
Transform method (the Transform(MgCoordinate) listing).


--
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com


"Paul" wrote in message
news:5518029@discussion.autodesk.com...
Hello,
When creating a point using "CreateCoordinateXY()" can mapguide do a
coordinate conversion to the current map coordinate system.

For example, I am using a geocoder utility that returns lat/lon data but the
map is in another coordinate sysem in metres.

There is "CreateCoordinateXYM()" with "measure" as the third parameter but I
don't know how to use it.

thanx
Message 4 of 4
Anonymous
in reply to: Anonymous

This isn't dowload friendly, but is accesible online:
http://mapguide.osgeo.org/files/mapguide/docs/webapi/index.html

If you want a local copy, you have to do a custom install of the web
extensions and then manually choose to have the API documentation installed.
Given it's small footprint, why this isn't part of the default install is
beyond me........

Andy

"Paul" wrote in message
news:5526323@discussion.autodesk.com...
thanks I got it to work,
you pointed me in the right direction.

but I can't find a downloadable version of the API


"Andy Morsell" wrote in message
news:5518394@discussion.autodesk.com...
See the MgCoordinateSystemTransform class in the API documentation.
There's an example of doing what you are asking in the section on the
Transform method (the Transform(MgCoordinate) listing).


--
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com


"Paul" wrote in message
news:5518029@discussion.autodesk.com...
Hello,
When creating a point using "CreateCoordinateXY()" can mapguide do a
coordinate conversion to the current map coordinate system.

For example, I am using a geocoder utility that returns lat/lon data but the
map is in another coordinate sysem in metres.

There is "CreateCoordinateXYM()" with "measure" as the third parameter but I
don't know how to use it.

thanx

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report