[mapserver-users] Problem in display small area that maybe not in the position it should be

goldalworming ariefnurandono at gmail.com
Tue Nov 1 00:31:03 PDT 2011


after success displaying all layer from pmapper_demodata I tried to display a
small area..
I've tried to find it by finding lon lat of area but I didn't find it...
maybe the map not in the position it should be. I don't know how to find it.
map.zoomToMaxExtent() is not work too..
and I don't know how to conver the extent to lon lat format


  EXTENT 1496247 1332616 7055632 5502154

  LAYER
    NAME 'regency'
    TYPE POLYGON
    DUMP true
    TEMPLATE fooOnlyForWMSGetFeatureInfo
    CONNECTIONTYPE OGR
    CONNECTION 'south_area/regency.TAB'
    METADATA
      'ows_title' 'regency'
    "ows_enable_request"   "*"
    "wms_srs" "EPSG:4326 EPSG:4030"
    END
    STATUS OFF
    TRANSPARENCY 100
    PROJECTION
    'proj=longlat'
    'ellps=WGS84'
    'datum=WGS84'
    'no_defs'
    END
    CLASSITEM 'regency_border'
    CLASS
      NAME "regency_border = CIPAGALO" 
      EXPRESSION "CIPAGALO" 
       STYLE
         WIDTH 1 
         OUTLINECOLOR 255 255 255
         COLOR 92 255 127
       END
    END
    CLASS
      NAME "regency_border = CIRANGRANG" 
      EXPRESSION "CIRANGRANG" 
       STYLE
         WIDTH 1 
         OUTLINECOLOR 255 255 255
         COLOR 170 255 217
       END
    END
    CLASS
      NAME "regency_border = CIROYOM" 
      EXPRESSION "CIROYOM" 
       STYLE
         WIDTH 1 
         OUTLINECOLOR 255 255 255
         COLOR 99 143 255
       END
    END
    CLASS
      NAME "regency_border = CISEUREUH" 
      EXPRESSION "CISEUREUH" 
       STYLE
         WIDTH 1 
         OUTLINECOLOR 255 255 255
         COLOR 170 255 217
       END
    END
    CLASS
      NAME "regency_border = CITEUREUP" 
      EXPRESSION "CITEUREUP" 
       STYLE
         WIDTH 1 
         OUTLINECOLOR 255 255 255
         COLOR 149 255 111
       END
    END
  END

regard

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-in-display-small-area-that-maybe-not-in-the-position-it-should-be-tp6950832p6950832.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list