Open a non-earth map?

1237
4
07-10-2017 10:28 PM
jackpearson
New Contributor II

I am importing a point featureclass, layer which are non-earth (e.g. local project coordinates)

How would i create a map with non-earth coord system ?

currently i'm using : 

Map map = null;
await QueuedTask.Run(() =>
{
map = MapFactory.Instance.CreateMap(mapName, MapType.Map, MapViewingMode.Map, Basemap.None);
});
await ProApp.Panes.CreateMapPaneAsync(map);

0 Kudos
4 Replies
MelitaKennedy
Esri Notable Contributor

Hi Jack,

I won't be much help on the developer-side, but I wanted to ask about the coordinate system you're using. You mention local project coordinates as well as "non-earth". I'm used to seeing "non-earth" used in connection to MapInfo or Oracle (?). Am I correct? 

As a long-shot, the data could also be extraterrestrial like on Mars or the Moon. That's not true, is it?

Are there any ties to the earth? Sometimes it's possible to define a custom projected coordinate system for a local system if there is some information tying it to the earth OR control points exist in that system and a 'known' system like a UTM zone.

And for someone who understands the programming side better, are you getting errors with the code you posted?

Thank you,

Melita

0 Kudos
jackpearson
New Contributor II

Thanks Melita,

Long shot - Star pickets on mars ?

No, sometimes we need to work with customer data which is on an arbitrary

local project coordinate system and has not been tied in to an earth

spatial ref.

So we would be looking to open a map that accepts arbitrary rectangular 2d

coords.

Obviously we would expect to be able to project data on other coordinate

systems into this map.

Regards,

Jack Pearson

Fremantle Technology / Go-Global Internet Solutions

0 Kudos
jackpearson
New Contributor II

And no my code works fine, but by default the map seems to be set to WGS84

Regards,

Jack Pearson

Fremantle Technology / Go-Global Internet Solutions

0 Kudos
MelitaKennedy
Esri Notable Contributor

If you're interested, drop me an email (mkennedy at esri dot com) and I can send you a document that discusses working with local coordinate systems.

Melita

0 Kudos