[Mapserver-users] access joined fields with php

Joukje de Haan joukje.de.haan at aris.nl
Fri Jun 11 02:29:49 PDT 2004


Apparantly this doens't work anymore. I already tried "myjoin.ID", "myjoin/ID" 
and many more combinations, but it returns me nothing but an empty string.

Thanks anyway.

Joukje

Emil Zegers wrote:
> If it is similiar to the CGI type of request for getting the join values it should be something like:
> 
> $shapeobj->values['myjoin_ID'] 
> 
> Where 'myjoin' is the name of the join defined in the map file.
> 
> Best regards,
> 
> Emil
> 
> 
> 
>>>>Joukje de Haan <joukje.de.haan at aris.nl> 06/09/04 05:59pm >>>
> 
> Hi,
> 
> I have a layer in my mapfile with a join to another table. When I query a 
> shapeobject of this layer, I can only get the shapefiles 'own' fieldvalues f.e. 
> $shapeobj->values['ID'] Does anyone know how to get access to the fieldvalues in 
> the joined table? Or is there a possibility to get to the join object of the 
> layer as defined in the mapfile?
> 
> Best Regards,
> Joukje de Haan
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users 
> 
> __________
> VChecked
> 
> 
> ______________________________________________________
> 
>  This message has been checked for all known viruses
> ______________________________________________________
> 
> 



More information about the MapServer-users mailing list