[Qgis-user] qgis mapserver getfeatureinfo
a.neumann at carto.net
a.neumann at carto.net
Mon Dec 27 04:59:23 PST 2010
Hi Martin and Marco,
I think that by default GetFeatureInfo should deliver the attributes
without geometry (as this is also the WMS standard). If someone wants
the answer with the geometry he should explicitly demand it, either
through a GET parameter, or within the QGIS projectfile (something to
consider for a QGIS server GUI plugin). One could store the parameter in
the project file.
What do you think?
Andreas
On Mon, 27 Dec 2010 10:35:51 +0100, Marco Hugentobler wrote:
> Hi Martin
>
> For normal attributes, it is possible to hide them in the featureinfo
> response
> by setting the edit type to hidden (vector properties -> attributes
> ).
>
> For artificial attributes like 'Feature' or 'geometry', this is
> currently not
> possible. I'll add that to my todo-list as it is quite useful and not
> too hard
> to implement.
>
> Regards,
> Marco
>
> Am Freitag, 24. Dezember 2010, um 21.34:32 schrieb Martin Schweizer:
>> Hi
>>
>> I have the following problem: I use the qgis-mapserver (shape-files
>> -> qgs
>> -> WMS) and openlayers
>> (http://asmaron.homelinux.net/ol/index2.html). All
>> works fine. The problem is, that when I make a
>> getfeatureinfo-request, I
>> also get information I don't need, especially "Feature" and
>> "geometry". Is
>> it possible to exclude this two items in the getfeatureinfo-request
>> (feature and geometry)?
>>
>> Thanks a lot, merry christmas and have a lot of fun!
>> Martin
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list