[mapserver-users] Rendering directly geometry and data streams

Tamas Szekeres szekerest at gmail.com
Tue Jul 29 04:42:31 PDT 2008


Hi,

This requirement might require to perform a join between the different
data sources. Unfortunately mapserver has only a limited join
functionality, mostly related to the CGI version. However you could
also use the OGR SQL option to join tables from multiple data sources:
http://www.gdal.org/ogr/ogr_sql.html

You can specify the SQL definition in the DATA section of the LAYER in
the mapfile.

The option above would require to read the shapefile data source
directly, and you cannot use a stream to feed the data to the OGR
driver at the moment. For this purpose you may have to implement
either a mapserver plugin (in C/C++) or add the feature with the
desired fields to an empty layer manually by using the OGR C#
interface.

Best regards,

Tamas


2008/7/29 Monier Clement <clement.monier at v-trafic.com>:
> Hi,
>
> I would like to know if this functionnality would be possible using
> MapServer :
>
> Inside a C# application, I've got two available variables : the first one
> contains a geometry stream readed from a shapefile (with geographical
> objects), and the second is some attribute's data for each object (id
> related) coming from another source (database).
> I would like to get a map image of these two sources combined, without
> writing any additional file (shp or dbf) on the disk.
>
> Is there a way to call mapserver rendering engine at that particular step ?
>
> Thanks & Regards
>
> Clément
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



More information about the MapServer-users mailing list