1

I wish to apply a custom coordinate system to a Map in ArcGIS Pro 1.4.1 and I read at GeoNet that this is not possible (at least up until 1.3.1).

The coordinate system that I wish to create is for GDA 1994 Queensland Albers which is identical to GDA 1994 Australia Albers except for having different central meridian and standard parallel values.

I ran the code below to create an empty feature class with a coordinate system modified from that of GDA 1994 Australia Albers:

import arcpy
arcpy.management.CreateFeatureclass(r"C:\Temp\TestProject\TestProject.gdb", "QldAlbers", "POLYGON", None, "DISABLED", "DISABLED", None, None, 0, 0, 0)
fc = r"C:\Temp\TestProject\TestProject.gdb\QldAlbers"
srAustAlbers = arcpy.SpatialReference("GDA 1994 Australia Albers")
srAustAlbersAsString = srAustAlbers.exportToString()
print(srAustAlbersAsString)
srQldAlbersAsString = srAustAlbersAsString.replace("Australia","Queensland").replace(",132.0",",146.0").replace(",-18.0",",-13.166667").replace(",-36.0",",-25.833333")
print(srQldAlbersAsString)
srQldAlbersAsString = srQldAlbersAsString.split(";")[0]
print(srQldAlbersAsString)
arcpy.management.DefineProjection(fc, srQldAlbersAsString)

Armed with a feature class having my desired custom coordinate system I inserted a new Map into an ArcGIS Pro Project and used its Properties to import the custom coordinate system from that feature class.

All went well except for the warning that:

Imported coordinate system only contains xy coordinate system. Only the xy coordinate system will be changed.

enter image description here

Despite the warning I think I have created a Map with a valid custom coordinate system, but is this the only way to do it?

asked Jun 22, 2017 at 7:10
2
  • It seems to me the software is just saying your Z values will not be considered. .. Do you really need those Z values ? Commented Jun 22, 2017 at 7:24
  • @gisnside I don't believe so (but I'm not a geodesist). Commented Jun 22, 2017 at 7:27

1 Answer 1

1

I think it would be simpler to go through ArcMap instead.

You could then tweak the existing system with a gui instead of going through ArcPy.

Copy and Edit

Edit GUI

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
answered Jun 22, 2017 at 7:40
4
  • For today that is a good option but the day will come soon when many users may not have ArcMap installed. Commented Jun 22, 2017 at 7:44
  • 1
    I didn't install Arcgis Pro for a specific reason : in my opinion it's not really ready (still things missing like this one). I'm confident the day you mention will arrive sooner or later...but ESRI will first have to convince arcmap users like me everything they had in arcmap can be found in Arcgis Pro :) I tried once and got a cold shower seeing my usual tools where not there anymore... Commented Jun 22, 2017 at 7:53
  • 1
    I tend to adopt early because it lets me learn the strengths and weaknesses of a new architecture sooner rather later. I've just undertaken a three month ArcPy/Pro map automation project which I was sceptical could be achieved that way at the outset and half expected to pull the pin and revert to ArcMap a week or so in, but after a few days I was confident that all I needed was there. There were a few concerns along the way but I was quickly able to find Pro workflows/workarounds for anything that I thought it could not do at first analysis. Commented Jun 22, 2017 at 10:11
  • Thanks for your enlightened advice :) From what you say, I might have a try now ! Commented Jun 23, 2017 at 16:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.