[ka-Map-users] Latitude,Longitude values in sidebar

saathujaya saathujaya at gmail.com
Sat Mar 31 00:37:42 EST 2007


Hi, I'm a newbie to ka-map and Mapserver. I have a problem in getting
logitude,latitude values.My extent values of shapefile is
 Extent: (96838.234375, 184799.375000) - (104259.914063, 198095.472695).I
failed to get values in longitude and latitude values in side bar.When move
mousepointer I can get the values between extent values in side bar.
I tried by using cs2cs to get latlong values and got following output
C:\ms4w>cs2cs +proj=tmerc +datum=WGS84 +to +proj=latlong +datum=WGS84
184799.375000 96838.234375
1d39'36.143"E   0d52'31.457"N 0.000
198095.472695 104259.914063
1d46'46.103"E   0d56'32.771"N 0.000
     
Then I converted to decimal degrees and replaced for extent values.But I
couldn't get any display with that extent values. Please help me to solve
this problem.

My map file is following:

MAP
  STATUS ON
  SIZE           3000 2500
  EXTENT         96838.234375 184799.375000 104259.914063 198095.472695
  #EXTENT 10.210 52.77 17.07 56.25
  UNITS DD
  IMAGECOLOR 255 255 255
  IMAGETYPE      PNG
 
 PROJECTION
    "proj=latlong"
    "ellps=WGS84"
    "datum=WGS84"
 END
 
  WEB
    IMAGEPATH "/ms4w/tmp/ms_tmp/"
  IMAGEURL "/ms_tmp/"
  END
 
  LEGEND
     TRANSPARENT TRUE
  END
 
  SYMBOLSET "etc/symbols.sym"
  SHAPEPATH      "data"
  FONTSET "fonts/fonts.list"
 
SCALEBAR
   TRANSPARENT TRUE
  END

   name "circle"
   Type ELLIPSE
   Filled true
   POINTS 1 1 END
 END
 
 Symbol
   name "dashed"
   Type ELLIPSE
   FILLED true
   POINTS 1 1 END
   STYLE 5 3 END
END

#-----------------------------------------------------------------------------------------------------
 
  LAYER   #Layer coastline
 
    NAME         BoundaryLine
    DATA         coastline
    STATUS       ON
    TYPE         line
CLASS
      NAME       "Outline"

      STYLE
        COLOR        200 155 200
        OUTLINECOLOR 32 32 32
      END
    END
  END

#-----------------------------------------------------------------------------------------------------
 
  LAYER  #Layer MainRoadsNames
 
      NAME         MainRoadNames_1
      DATA         mainroads
      STATUS       ON
      TYPE         line
     
      LabelItem "ROAD_NAME"  
     # CLASSITEM "ROAD_NAME"
         
         CLASS
           NAME "MainRoadNames"
           LABEL
            COLOR  255 0 0
            FONT arial
            TYPE truetype
            SIZE 6
            POSITION AUTO
            ANGLE AUTO
            PARTIALS FALSE
            MINDISTANCE  100
            BUFFER       4
           END
           
    END
       
  END  
 
 
   LAYER  #Layer MainRoads
   
        NAME         MainRoads_1
        DATA         mainroads
        STATUS       ON
      TYPE         line
     
     
      CLASS
          NAME "Highway"
          STYLE
            SYMBOL "circle"
            SIZE 7
            COLOR 0 0 0
          END
          STYLE
            SYMBOL "circle"
            SIZE 5
            COLOR 255 255 0
          END
         
        END
  END
 END

#--------------------------------------------------------------------------------------------------------------
           


-- 
View this message in context: http://www.nabble.com/Latitude%2CLongitude-values-in-sidebar-tf3495853.html#a9764474
Sent from the ka-map-users mailing list archive at Nabble.com.



More information about the ka-Map-users mailing list