[ka-Map-users] karouting doesn't work part2

Daniel Muller Daniel.Muller at geomatic.ch
Tue Mar 27 02:22:47 EST 2007


Hi,

In the attachement there are my 2 mapfiles:

routing_main.map is the "standard" mapfile used by Ka-Map to display the 
maps in the viewport.
routing_result.map is the second mapfile used by pgKaMap to display the 
result.


Hope this helps

Daniel

Aileen Baylon a écrit :
> Hi Daniel,
>  
> I've been collaborating with pranjal these past few days and I'm 
> curios about your .map.
> I haven't gotten past being able to display my map...
>  
> Can I see your .map?
>  
>  
> Aileen

-- 
Géomatic Ingénierie SA
Ch. des Croisettes 26, 1066 Epalinges
Tél: + 41 21 651 30 00, Fax: +41 21 651 30 09

-------------- next part --------------
MAP
  IMAGETYPE   png
  EXTENT      548645.915000 79727.927000 674956.659594 159138.511625
  SIZE        200 164

  IMAGECOLOR  255 255 255

  FONTSET     "/var/kamap/fonts/fonts.list"
  
  SYMBOLSET '/var/kamap/symbols/common.sym'
  UNITS meters
  WEB
    IMAGEPATH "/tmp/"
    IMAGEURL  "/tmp/ms_tmp"
  END
		
REFERENCE
  EXTENT     548645.915000 79727.927000 674956.659594 159138.511625
 IMAGE "/var/kamap/routing.png"
 SIZE 200 164
 COLOR -1 -1 -1
 OUTLINECOLOR 255 0 0
END  # Reference

LAYER
      NAME "path"
      GROUP "path"
       CONNECTION "user=mypguser password=mypgpassword dbname=mydbname host=localhost port=5432"
      CONNECTIONTYPE postgis
      METADATA
	"queryable" "true"
      	"fields" "gid:id,source:source,target:target"
      	"tile_source" "auto"
      END
      DATA "the_geom from path_table"
      STATUS ON
      TYPE LINE
    
      CLASS
	TEMPLATE "template.html"
        NAME "pp"
	STYLE
        COLOR 255 110 60
      	WIDTH 2 
      	END
      END
END  

# End of mapfile
END
-------------- next part --------------
MAP	
  IMAGETYPE   PNG
  EXTENT      548645.915000 79727.927000 674956.659594 159138.511625
  SIZE        200 164 

  IMAGECOLOR  255 255 255
  SHAPEPATH   "/var/kamap/data"

   FONTSET     "/var/kamap/fonts/fonts.list"  
  WEB
    IMAGEPATH "/tmp/"
    IMAGEURL  "/tmp/ms_tmp"
  END
		
  PROJECTION
  	"init=epsg:21781" # LV03
  END

  UNITS meters

LAYER
      NAME "path"
      CONNECTION "user=mypguser password=mypgpassword dbname=mydbname host=localhost port=5432"
      CONNECTIONTYPE postgis
      STATUS OFF
      TYPE LINE
			  
      CLASS
        NAME "path"
	STYLE
          COLOR 255 0 0
	  WIDTH 5 
	END
      END
 END  


END 


More information about the ka-Map-users mailing list