[mapserver-users] Combine GetFeatureInfo for layers with same data source

jt at mapmedia.de jt at mapmedia.de
Wed Mar 26 13:50:03 PDT 2014


  

Hi, 

Referring to your signatur: rtfm ;) 

Try
http://mapserver.org/de/mapfile/join.htm 

Join streets_main with the
dbf of streets_sub. Read the doc carefuly, it's a bit tricky. 

You may
find a working example under
http://mapmedia.de/downloads/viewcategory/5-vortraege (


Workshop_umn...) 

Jörg 

On Wed, 26 Mar 2014 20:58:17 +0100, TDS
wrote: 

>> Hello,

> is it possible to join two layers in
GetFeatureInfo with same template and same shape file to output only one
combined html file?
> 
> Example:
> Streets_Main => streets.shp =>
template.html
> Streets_Sub => streets.shp => template.html
> 
>
OUTPUT:
> 
> Current:
> Output for Streets_Mains
> Output for
Streets_Sub
> 
> Wish:
> 
> Streets_Mains unique id Streets_sub (e.g.
main street and sub street have both id=1 in shape file)

-- 
 Bye, TDS

-------------------------
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140326/b835157c/attachment.html>


More information about the mapserver-users mailing list