Re: [mapserver-users] MapServer join with dbf table or spatial query

2010-05-12 Thread Jeff McKenna

Enrico Raviglione wrote:

Hi to all,

 

i try to do with MapServer (with p.mapper as interface)  a join with a 
shape into a layer and a dbf table. The type of join are one to many. I 
follow the manual but i never see any query result also if i try to make 
a one-to-one join.


 


I can obtain the same result of the join if i can do a spatial query.

My need are make a spatial query from one shape on a specific layer, 
selected by the user with the mouse click, to find a list of overlapped 
shapes (and its attributes) who stay on some different layers.


 

Can anyone help me or send some samples or documentation for one or the 
two different solution?




Hello,

The documentation contains examples for joining a SHP with a DBF 
(http://www.mapserver.org/mapfile/join.html).  The examples in that 
document use MapServer CGI, but I am not familiar with p.mapper.  Maybe 
try your initial tests with MapServer CGI, to verify that you have the 
correct configuration, before testing with your application.


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer join with dbf table or spatial query

2010-05-11 Thread Enrico Raviglione
Hi to all,

 

i try to do with MapServer (with p.mapper as interface)  a join with a
shape into a layer and a dbf table. The type of join are one to many. I
follow the manual but i never see any query result also if i try to make
a one-to-one join.

 

I can obtain the same result of the join if i can do a spatial query.

My need are make a spatial query from one shape on a specific layer,
selected by the user with the mouse click, to find a list of overlapped
shapes (and its attributes) who stay on some different layers.

 

Can anyone help me or send some samples or documentation for one or the
two different solution?

 

Kind regards.

 

Enrico Raviglione

 

IDEA Sistemi s.n.c.
Via Burolo, 30 
10015   IVREA   ( TO ) 
ITALY
TEL. +39 0125 253235 
FAX  +39 0125 253271
www.ideasistemi.it http://www.ideasistemi.it/ 
e.ravigli...@ideasistemi.it mailto:e.ravigli...@ideasistemi.it 

P Save a tree. Don't print this e-mail unless it's really necessary.

 

 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users