Can the map's primary service that determines the spatial reference be defined by WKT?
The first service added to my map is an ArcGIS Server dynamic map service with a spatial reference defined by WKT rather than WKID. When the map is displayed in the html viewer, the map area is white, but the coordinates look correct. If I change primary service to one defined by WKID, so the original service is being projected on-the-fly, then both services are displayed perfectly.
0
-
The answer is yes it can!
My problem was the WKT for the problem service included a vertical coordinate system. Once this altered to just the XY coordinate system the layer draws happily when it is the primary service.
Originally:
PROJCS["Stromlo_ACT",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000.0],PARAMETER["False_Northing",4510193.494],PARAMETER["Central_Meridian",149.00929483056],PARAMETER["Scale_Factor",1.000086],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]],VERTCS["AHD",VDATUM["Australian_Height_Datum"],PARAMETER["Vertical_Shift",0.0],PARAMETER["Direction",1.0],UNIT["Meter",1.0]]
Fixed:
PROJCS["Stromlo_ACT",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000.0],PARAMETER["False_Northing",4510193.494],PARAMETER["Central_Meridian",149.00929483056],PARAMETER["Scale_Factor",1.000086],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar