I have a shapfile of the continents thats current longitude extent is from -180 to 180 and i need the extent to be from 0 to 360. I was able to change the projection in ArcCatalog and display the map there with the changed extent but when i copied this shapfile back to my MapServer, MapServer still displayed the shapfile from -180 to 180. and you can see that in the extent of the shapefile when ogrinfo is ran on it. but you can also see the projection information that ArcCatalog added that says there should be a false easting of -180 to correct for this. So does anyone know why MapServer is still displaying the layer with an extent from -180 to 180? I am using ESPG:4326 as my projection.

# ogrinfo -al -so world_adm0.shp
INFO: Open of `world_adm0.shp'
using driver `ESRI Shapefile' successful.

Layer name: world_adm0
Geometry: Polygon
Feature Count: 209
Extent: (-180.000183, -90.000000) - (180.000000, 83.623032)
Layer SRS WKT:
PROJCS["WGS_360",
   GEOGCS["GCS_WGS_1984",
       DATUM["WGS_1984",
           SPHEROID["WGS_1984",6378137.0,298.257223563]],
       PRIMEM["Greenwich",0.0],
       UNIT["Degree",0.0174532925199433]],
   PROJECTION["Cylindrical_Equal_Area"],
   PARAMETER["False_Easting",-180.0],
   PARAMETER["False_Northing",0.0],
   PARAMETER["Central_Meridian",180.0],
   PARAMETER["Standard_Parallel_1",0.0],
   UNIT["Meter",1.0]]
NAME: String (40.0)
GMI_CNTRY: String (3.0)
REGION: String (25.0)

The map Layer looks like this:

LAYER
   NAME "world"
   STATUS ON
   TYPE POLYGON
   #labelitem "name"
   DATA "world_adm0.shp"
   PROJECTION
     "init=epsg:4326"
   END
   METADATA
    wms_title "continent outline"
    wms_srs "EPSG:4326"
   END
   CLASS
       STYLE
         OUTLINECOLOR 200 200 200
         COLOR 255 255 0
         SYMBOL 0
       END
       LABEL
         COLOR 255 255 0
         TYPE TRUETYPE
         FONT times
         SIZE 9
         POSITION AUTO
         PARTIALS FALSE
         BUFFER 3
       END
   END
 END

Reply via email to