Error 00230 when sharing map as a WebMap

1768
7
06-18-2018 01:23 PM
AaronFakename
New Contributor

Hello,

I'm trying to share a simple map from ArcGIS Pro that contains polygons drawn onto world imagery. Both layers use the matching coordinate system "WGS 1984 Web Mercator Auxiliary Sphere" after I reprojected my polygon layer to match.

However I continue to get the error: "Service layer has a different projection than the map's projections - 00230" 

I don't understand why this error is persisting after I matched the coordinated systems.

Any help will be appreciated!

0 Kudos
7 Replies
DanPatterson_Retired
MVP Emeritus

00230: Service layer has a different projection than the 's projection—ArcGIS Pro | ArcGIS Desktop 

gives some explanation.  Can you review your procedure in light of this, remembering 'Define Projection' is only used if a layer doesn't have a coordinate system defined.  'Project' physically makes a new file with the desired coordinate system

0 Kudos
AaronFakename
New Contributor

Hi Dan,

Yes, I have already reviewed that resource. I believe that I "reprojected" the layers, using a .prj file, to make sure that they are matching. In "Properties -> Coordinate Systems" for the map, both my polygon and world imagery layers are listed as the same.

The coordinate systems appear to be objectively matching? Is this not the correct way to see what the coordinate systems are?

0 Kudos
DanPatterson_Retired
MVP Emeritus

not really... you examine their 'extents' to ensure they make sense.  

I can define ANY featureclass etc as anything I want... it doesn't make it so.

IF a *.prj file existed with the data, there is the reasonable chance that it was defined correctly.

If you applied a *.prj to another file, it doesn't 'project it'... that is only done with the Project tool in arctoolbox.

So, examine your extents.... Long/Lat is in the range -180 to 180 and 90 to -90.  That would be a GCS... a geographic coordinate system.  big numbers are your first clue that something is 'projected'... the only question is whether its projection is correct

0 Kudos
AaronFakename
New Contributor

I created the *.prj file by saving the coordinate system of my world imaging and using the"Project" arcpy tool. Coordinate system menu

Above is a picture of the properties of my map. You're saying that while the coordinate systems agree in the window, that might not be true?

0 Kudos
DanPatterson_Retired
MVP Emeritus

….polygons drawn onto world imagery....

What is the coordinate system of the polygons you drew and what is the world imagery coordinate system?

Do they match?

If they are in a GCS WGS84, then you can Project them to World Mercator.

Somewhere along the line you have to specify a coordinate system for the polygons.. either the map frame or the basemap (which may be the same) or something else.

'Extent'.. That is what I would like to see... the left, right, top and bottom of the featureclasses 

0 Kudos
KoryKramer
Esri Community Moderator

Maybe something to do with z?  This isn't default:

0 Kudos
AaronFakename
New Contributor

Thanks for your help Dan and Kory,

After some monkeying around with the webmap publishing function it seems to be working (with the settings in the picture I linked). I'm not sure what exactly I did but as far as I can tell after I successfully published a different, non-related webmap the original map in question was able to upload (no settings changed). The Z coord system isn't causing any problems, as Kory suggested was possible.

To match the coordinate systems between the "World Imagery" layer and the "Blocks"  I used code demonstrated here: 

Project—Data Management toolbox | ArcGIS Desktop 

0 Kudos