Hi,
 
Have defined also the input projection inside LAYER?  It is necessary to know 
both the input and output or otherwise it is not possible to reproject.  If 
layer projection is not given Mapserver is using the output projection as 
default.  That's why your first layer shows because it is originally in the 
output projection or at least close to it.  The other dataset is clearly using 
another projection.  It is odd to me, but perhaps it is this one I found from 
the Mapserver epsg file
# NAD83 / Georgia West (ftUS)
<2240> +proj=tmerc +lat_0=30 +lon_0=-84.16666666666667 +k=0.9999 
+x_0=699999.9998983998 +y_0=0 +ellps=GRS80 +datum=NAD83 
+to_meter=0.3048006096012192 +no_defs  <>
 
If that's the case you can use "init=epsg:2240" as input projection.
 
-Jukka Rahkonen-
 
 
 


________________________________

        Lähettäjä: [email protected] 
[mailto:[email protected]] Puolesta qazi iqbal
        Lähetetty: 19. tammikuuta 2011 2:15
        Vastaanottaja: mapserver-users
        Aihe: [mapserver-users] Projection issue
        
        
        I have a mapfile in which I have specified the main output projection as
         
        PROJECTION
        "proj=latlong"
        "ellps=WGS84"
        "datum=WGS84"
        END

        Below is details of one of the layers that shows perfectly
         
        Layer name: subdiv
        Geometry: Polygon
        Feature Count: 7
        Extent: (-84.276822, 33.752808) - (-83.799104, 34.167873)
        Layer SRS WKT:
        GEOGCS["GCS_North_American_1983",
            DATUM["North_American_Datum_1983",
                SPHEROID["GRS_1980",6378137,298.257222101]],
            PRIMEM["Greenwich",0],
            UNIT["Degree",0.017453292519943295]]
        
        Here is one more layer which is projected and I was expecting it to 
change projection on fly. But it does not show. Below is the details.
         
        Geometry: Polygon
        Feature Count: 703
        Extent: (1905254.375111, 1140017.900055) - (2497321.299899, 
1670166.374861)
        Layer SRS WKT:
        PROJCS["NAD_1983_StatePlane_Georgia_West_FIPS_1002_Feet",
            GEOGCS["GCS_North_American_1983",
                DATUM["North_American_Datum_1983",
                    SPHEROID["GRS_1980",6378137.0,298.257222101]],
                PRIMEM["Greenwich",0.0],
                UNIT["Degree",0.0174532925199433]],
            PROJECTION["Transverse_Mercator"],
            PARAMETER["False_Easting",2296583.333333333],
            PARAMETER["False_Northing",0.0],
            PARAMETER["Central_Meridian",-84.16666666666667],
            PARAMETER["Scale_Factor",0.9999],
            PARAMETER["Latitude_Of_Origin",30.0],
            UNIT["Foot_US",0.3048006096012192]]
         
         
        I must be doing some mistake, can anyone help please.
         
        Thanks and appreciate.

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to