[OpenLayers-Users] displaying attribute content in wfs
Gery .
gamejihou at hotmail.com
Mon Aug 6 02:38:39 PDT 2012
Hola Pedro,
I'm trying to get that too, as far I understand it has to do with featureserver (www.featureserver.org/demo.html) and write the output to your PG database. I've read that GeoAlchemy will be a better way to do that because the ORM but I'm still in my way to understand the "why?" Check the mapfish demo (demo.mapfish.org/mapfishsample/2.2/), perhaps you can find something in the SVN that may help you.
Cheers,
Gery
__________________________________________________________________________________________
Piensa en el medio ambiente - mantenlo en la pantalla. NO lo imprimas si NO es necesario.
Think green - keep it on the screen. Do NOT print if it is NOT necessary.
Denken Sie an die Umwelt - bewahren Sie es auf dem Bildschirm. Drucken Sie NICHT, wenn es NICHT notwendig ist.
> Date: Mon, 6 Aug 2012 10:33:29 +0100
> From: pedrocostaarma at sapo.pt
> To: adube at mapgears.com; openlayers-users at lists.osgeo.org
> Subject: Re: [OpenLayers-Users] displaying attribute content in wfs
>
> Guys,
>
> Thank you for your help but maybe I have not properly explained.
> I really want add a popup like this example[1] but what I want it to
> appear are attributes not like area or length but text attributes like
> name saved on my postgis database.
> So my question is how i do for openlayer show this type of attributes
> that are already draw and stored on my database.
>
> Thanks
>
>
>
> [1] http://openlayers.org/dev/examples/select-feature-openpopup.html
>
>
>
>
> Em 01-08-2012 19:35, Alexandre Dubé escreveu:
> > Hi Pedro,
> >
> > Using an OpenLayers.Control.Select control, it's just a matter of
> > displaying the feature.attributes when a feature is clicked. See the
> > following example, it should give you a good start :
> >
> > http://openlayers.org/dev/examples/select-feature-openpopup.html
> >
> > HTH,
> >
> > Alexandre
> >
> >
> > On 12-08-01 11:29 AM, Pedro Costa wrote:
> >> Hi guys,
> >>
> >> In my map i have a wfs layer that i want display content of one
> >> attribute (postgis table) by feature click.
> >> Can you help me the better choice to that?
> >>
> >> I see examples with wms...
> >>
> >> Thanks
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> >
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120806/523f1f28/attachment.html>
More information about the Users
mailing list