Opened 13 years ago

Closed 13 years ago

#3916 closed defect (fixed)

CRS:84, CRS:83 and CRS:27

Reported by: rprinceley Owned by: warmerdam
Priority: normal Milestone: 1.9.0
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc: gaopeng

Description

We are trying add WMS services (generating GDAL_WMS on the fly based on service URLs) but we have hit an issue with OGRSpatialReference not being able to handle CRS:84, CRS:83 or CRS:27.

<GDAL_WMS>
  <Service name="WMS">
    <ServerURL>http://jzhang64/arcgis/services/MultiLayerWMS/MapServer/WMSServer?</ServerURL>
    <Version>1.3.0</Version>
    <CRS>CRS:84</CRS>
    <Layers>1</Layers>
    <ImageFormat>image/jpeg</ImageFormat>
  </Service>
  <DataWindow>
    <UpperLeftX>-122.88348</UpperLeftX>
    <UpperLeftY>48.472311</UpperLeftY>
    <LowerRightX>-115.461437</LowerRightX>
    <LowerRightY>43.532292</LowerRightY>
    <SizeX>1000</SizeX>
    <SizeY>1000</SizeY>
  </DataWindow>
  <BandsCount>3</BandsCount>
</GDAL_WMS>

Change History (3)

comment:1 by jcrepetto, 13 years ago

Have you tried :

EPSG:4269 for CRS:83
EPSG:4326 for CRS:84
EPSG:4267 for CRS:27 ?

comment:2 by rprinceley, 13 years ago

Yes, but it would be preferable if GDAL (SetFromUserInput) is able to handle SR strings directly (as returned from the service capabilities or URL).

comment:3 by Even Rouault, 13 years ago

Milestone: 1.9.0
Resolution: fixed
Status: newclosed

Has been merged in trunk in r21860

Note: See TracTickets for help on using tickets.