smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

FeatureInfo, 'identify' for Vector/WFS Layers #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the FeatureInfoPanel only operates on for WMS Layers using WMS 
GetFeatureInfo. As Heron/OpenLayers supports Vector layers as well, for example 
WFS Layers and uploaded feature-layers (upload facility), it is more intuitive 
for the user to also get feature info for visible Vector Layers, a.k.a. 
'identify'. If WMS-es and WFS are both visible the Tab-panel should show both.

Original issue reported on code.google.com by jus...@gmail.com on 1 Sep 2013 at 3:56

GoogleCodeExporter commented 9 years ago
@Anke en @Eddy : in order to integrate a single "identify" facility for both 
WMS and Vector (WFS, Uploads, etc) I had to make significant changes in 
FeatureInfoPanel, FeaureInfoPopup, ToolbarBuilder and examples.
Is it possible that you help by testing all examples and maybe apps you have, 
like tooltips, popup etc?

All is checked in and available via 
http://lib.heron-mc.org/heron/latest/examples
in particular :
http://lib.heron-mc.org/heron/latest/examples/featureinfopopup
http://local.lib.heron-mc.org/heron/latest/examples/featureinfopanel
http://local.lib.heron-mc.org/heron/latest/examples/featureinfopopuphover
http://local.lib.heron-mc.org/heron/latest/examples/featureinfotooltips

To enable WFS (USA states), you need to zoom-in on the US. Thanks!

Original comment by jus...@gmail.com on 4 Sep 2013 at 9:19

GoogleCodeExporter commented 9 years ago
Seems to work. Note that your URL's with "local" in don't work. Just have to 
remove the "local." to fix.

Original comment by jonathan...@warwickshire.gov.uk on 4 Sep 2013 at 4:06

GoogleCodeExporter commented 9 years ago
Yes, the "local." stuff is for my local system, to test. Here's the right URLs

http://lib.heron-mc.org/heron/latest/examples/featureinfopopup
http://lib.heron-mc.org/heron/latest/examples/featureinfopanel
http://lib.heron-mc.org/heron/latest/examples/featureinfopopuphover
http://lib.heron-mc.org/heron/latest/examples/featureinfotooltips

Original comment by jus...@gmail.com on 4 Sep 2013 at 6:45

GoogleCodeExporter commented 9 years ago
Ok, this all seems to work. Any bugs will be in new issues.

Original comment by jus...@gmail.com on 8 Sep 2013 at 7:39

GoogleCodeExporter commented 9 years ago
new OpenLayers.Layer.WMS(
            "World Cities (OpenGeo)",
            'http://localhost:8080/geoserver/ows?',
            {layers: "kd_schools", transparent: true, format: 'image/png'},
            {singleTile: true, opacity: 0.9, isBaseLayer: false, visibility: false, noLegend: false, featureInfoFormat: 'application/vnd.ogc.gml', transitionEffect: 'resize',
                metadata: {
                    wfs: {
                        protocol: 'fromWMSLayer',
                        featurePrefix: 'two',
                        featureNS: 'http://school.lk/test',
                        downloadFormats: Heron.options.wfs.downloadFormats
                    }
                }}
    ),
I use heron-multisearchcenter example for my web mapping application. and edit 
config.js and DefaultOptionsWorld.js but not get feature information of my 
geserver layer.. Please help me to solve this problem..

Original comment by anushan...@gmail.com on 31 Mar 2014 at 5:37

GoogleCodeExporter commented 9 years ago
The problem raised in comment #5 is not related to this issue. Please use the 
mailing list for questions like these.
We will respond there.

Original comment by jus...@gmail.com on 31 Mar 2014 at 11:07