[ka-Map-users] Problem in LEGEND & REFERENCE

Maher Karim Maher_Karim at dorsch.com.jo
Thu Apr 12 01:18:21 EDT 2007





Dear Sahar,
Your problem is not with the legend or the reference map. I think you
should check IMAGEPATH, and IMAGEURL.
they should look like the following
 IMAGEPATH "c:/kamap/htdocs/tmp/"
IMAGEURL "/tmp/"

The webserver will not go and read the "c:/kamap/htdocs/tmp/".  You should
have an alias on the webserver configuration file httpd.conf to locate the
tmp folder
add this on your webserver configuration file at the end, and restart the
webserver

Alias /tmp/ "c:/kamap/htdocs/tmp/"
<Directory "c:/kamap/htdocs/tmp/">
  Options Indexes Multiviews
</Directory>

Regards
Maher Abdel Karim
GIS sytems analyst/Programmer





|---------+--------------------------------------->
|         |           "sahar AMM"                 |
|         |           <saho_ora at hotmail.com>      |
|         |           Sent by:                    |
|         |           ka-map-users-bounces at lists.m|
|         |           aptools.org                 |
|         |                                       |
|         |                                       |
|         |           04/11/2007 10:00 PM         |
|---------+--------------------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                                  |
  |        To:      ka-map-users at lists.maptools.org                                                                                                  |
  |        cc:                                                                                                                                       |
  |        Subject: [ka-Map-users] Problem in LEGEND & REFERENCE                                                                                     |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|



Hi all,

I'm now preparing my ka-map web application,
I mad my mapfile, I made the LEGEND and the REFERENCE,

but it doesnot appear in the ka-map interface, only the map is displayed in
its screen, but the legend and refrence  don't appear in separate screens
(Embedded image moved to file: pic18467.gif)

I don't know why??

this is my mapfile , please help me...

MAP
  NAME abha
  STATUS ON
  EXTENT 42.273969 18.103992 42.333755 18.149173
  SIZE 500 300
  UNITS DD
  IMAGECOLOR 255 255 255
  IMAGETYPE png

  WEB
    IMAGEPATH "c:/kamap/htdocs/tmp/"
    IMAGEURL "c:/kamap/htdocs/tmp/"
  END

# Reference map
REFERENCE
  IMAGE "c:/kamap/htdocs/map/mymap.png"
  EXTENT 42.273969 18.103992 42.333755 18.149173
  STATUS ON
  COLOR -1 -1 -1
  OUTLINECOLOR 255 0 0
  SIZE 120 90
END

SCALEBAR
    STATUS EMBED
    UNITS KILOMETERS
    INTERVALS 3
    TRANSPARENT TRUE
    OUTLINECOLOR 0 0 0
  END

  LEGEND
    STATUS EMBED
    POSITION LR
    TRANSPARENT TRUE
  END

LAYER
    NAME "road"
    TYPE line
    STATUS on
    DATA road
     CLASS
      NAME "road"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "theme31"
    TYPE line
    STATUS ON
    DATA theme31
     CLASS
      NAME "theme31"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "mousqe"
    TYPE point
    STATUS On
    DATA mousqe
     CLASS
      NAME "mousqe"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "musems"
    TYPE point
    STATUS On
    DATA musems
     CLASS
      NAME "musems"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "educational and sociality"
    TYPE point
    STATUS On
    DATA "educational and sociality"
     CLASS
      NAME "educational and sociality"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "educational servieses"
    TYPE point
    STATUS On
    DATA "educational servieses"
     CLASS
      NAME "educational servieses"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "hostorical sites"
    TYPE point
    STATUS On
    DATA "hostorical sites"
     CLASS
      NAME "hostorical sites"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "parks and gardens"
    TYPE point
    STATUS On
    DATA "parks and gardens"
     CLASS
      NAME "parks and gardens"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "shopping centers"
    TYPE point
    STATUS On
    DATA "shopping centers"
     CLASS
      NAME "shopping centers"
      STYLE
        COLOR 200 100 100
      END
   END
END

LAYER
    NAME "theme parks"
    TYPE point
    STATUS Off
    DATA "theme parks"
     CLASS
      NAME "theme parks"
      STYLE
        COLOR 200 100 100
      END
   END
END
END


Express yourself instantly with MSN Messenger! MSN Messenger Download today
it's FREE!_______________________________________________
ka-Map-users mailing list
ka-Map-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ka-map-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic18467.gif
Type: image/gif
Size: 444 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/ka-map-users/attachments/20070412/eb8bfe38/pic18467.gif


More information about the ka-Map-users mailing list