real coordinates in the SVG output ?

Peter Giencke pgiencke at GLC.ORG
Thu Jul 14 05:59:21 PDT 2005


David,

With regards to your real-world coordinates issue, a little Javascript can
help you with this, carto.net has a handy JS example to show you the way:
http://www.carto.net/papers/svg/samples/show_coordinates.js

-pete

Pete Giencke
Product Specialist
Data and Information Management
Great Lakes Commission  

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of David Delhorbe
Sent: Wednesday, July 13, 2005 4:42 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] real coordinates in the SVG output ?

Hello World !

 I work with svg, PHP and PostGIS with my own scripts, because SVG in
MapServer is a little hard. But the power of Mapserver to serve raster is
amazing and give me hopes for the SVG output. So I have 3 questions about
SVG in Mapserver :

 - is it possible to have the real X and Y in the svg and not
   the positions of the objects in the screen ? If yes, how (without
template) ? I have others stuffs how need the real coodinates.

 - is it possible to group the object by layer, with <g
id=”MyLayer”>...</g> (without template)

 - How have more than 1 layer in my SVG, (without template & query) ?

 I know, it’s possible to do this with template and query, but I would like
do this automaticaly with WMS request

 Thanks again !

 David Delhorbe
___________________________________

Département de Seine-Saint-Denis
Système d'information Géographique Déparemental



More information about the MapServer-users mailing list