Hello
I can add layers using WMS Services to the map viewer of geonetwork 3.2.1
<http://osgeo-org.1560.x6.nabble.com/file/n5315982/001.png>
I can also see their attributes clicking on the layer loaded using a WMS
Service generated in Geoserver (using a directory of shapefiles as datastore
in Geoserver).
<http://osgeo-org.1560.x6.nabble.com/file/n5315982/002.png>
But, when I try to see the attributes of a layer loaded from a WMS Service
generated in Geoserver (using PostGIS as datastore), Geonetwork shows the
number or records but don't show the atributes of the layer.
<http://osgeo-org.1560.x6.nabble.com/file/n5315982/003.png>
The same happens when I try to see the attributes of a layer loaded using a
WMS Service generated in ArcGis.
Using Firebug I can see that the input parameters are the same en both
cases:
But, the responses are different:
First Case (WMS Service from a shapefile, that works):
<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection
xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs"
xmlns:gml="http://www.opengis.net/gml" xmlns:segdi="segdi"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd segdi
http://localhost:8080/geoserver/segdi/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=segdi%3AConc_Maderables4326"><gml:boundedBy><gml:null>unknown</gml:null></gml:boundedBy><gml:featureMember><segdi:Conc\_Maderables4326
fid="Conc_Maderables4326.124"><segdi:the_geom><gml:MultiPolygon
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"><gml:polygonMember><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates
xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts="
">-70.07564076,-11.17688037 -70.0299291,-11.17704115
-69.98406308,-11.17719545 -69.98421587,-11.22240817
-69.98436932,-11.26762076 -69.98452343,-11.3128332 -69.98454592,-11.31941612
-69.9873747,-11.31669392 -69.98867487,-11.31484489 -69.98898717,-11.31281831
-69.99001648,-11.30614146 -69.99055711,-11.30490986 -69.99381249,-11.3017431
-69.9949609,-11.30099776 -69.99630869,-11.30078525 -69.99698841,-11.30087338
-69.99755404,-11.30125127 -69.99930025,-11.30439219
-70.00082241,-11.30574343 -70.00261558,-11.30598151
-70.00414584,-11.30554228 -70.00583757,-11.30403548
-70.00681374,-11.30251302 -70.0072655,-11.30053117 -70.0075263,-11.29535796
-70.00811411,-11.29413522 -70.00892016,-11.29334578
-70.00981886,-11.29326133 -70.01069499,-11.29352058
-70.01282199,-11.29484257 -70.01382044,-11.29577053
-70.01430614,-11.29653748 -70.01440659,-11.29856266 -70.01481225,-11.2996102
-70.01746429,-11.30301013 -70.01905892,-11.3042706 -70.01995697,-11.30415899
-70.02180708,-11.30325741 -70.0229402,-11.30250297 -70.02352438,-11.30180468
-70.02398714,-11.30053714 -70.02420467,-11.29874597
-70.02369716,-11.29805146 -70.0235641,-11.29693969 -70.02413694,-11.29522868
-70.02480307,-11.29463862 -70.02684299,-11.29472198 -70.02794971,-11.2950075
-70.02846806,-11.29544879 -70.02930406,-11.29753469
-70.03035501,-11.29879699 -70.03068986,-11.30116495
-70.03104153,-11.30223073 -70.03161391,-11.30320533
-70.03215248,-11.30361036 -70.03317161,-11.30317277 -70.0348744,-11.30024611
-70.03655954,-11.29839556 -70.03718051,-11.29806786
-70.04107177,-11.29817176 -70.04261882,-11.29852802
-70.04374288,-11.29964532 -70.04440882,-11.30082753
-70.04443009,-11.30172266 -70.04382951,-11.30412102
-70.04387548,-11.30479904 -70.04424567,-11.30534932
-70.04512628,-11.30556324 -70.04603801,-11.3055148 -70.04889252,-11.30409409
-70.05023635,-11.3040622 -70.05189856,-11.30560255 -70.05669457,-11.31107421
-70.05734682,-11.31170484 -70.05798101,-11.31193768
-70.05884942,-11.31170851 -70.06089713,-11.30991079
-70.06241185,-11.30939898 -70.06294404,-11.30899016
-70.06452148,-11.30623562 -70.06603527,-11.3022244 -70.06741868,-11.30043807
-70.06908781,-11.29973579 -70.07091108,-11.29960261 -70.0761002,-11.30079548
-70.07647244,-11.30088455 -70.07935177,-11.30034058
-70.08110365,-11.30079535 -70.08161553,-11.30124559
-70.08185779,-11.30186863 -70.08225687,-11.30704842
-70.08286927,-11.30795946 -70.08397494,-11.30801871
-70.08561506,-11.30721697 -70.08652668,-11.30653546
-70.08711637,-11.30536683 -70.08890001,-11.30497146
-70.09003021,-11.30508485 -70.09062875,-11.30573369
-70.09127631,-11.30836262 -70.0926971,-11.31012966 -70.09494535,-11.31204736
-70.09584668,-11.31205307 -70.09649207,-11.3124395 -70.09721265,-11.31287085
-70.09832785,-11.31272204 -70.09877053,-11.31243104
-70.10002945,-11.31160352 -70.10105091,-11.30910406
-70.10391924,-11.30687802 -70.10486033,-11.30508414
-70.10782958,-11.30194443 -70.10837893,-11.30095677
-70.10914372,-11.29859388 -70.11198626,-11.29395359
-70.11353799,-11.29247388 -70.11547566,-11.29181555
-70.11647615,-11.29230911 -70.1170326,-11.29302135 -70.11932986,-11.30011987
-70.12074789,-11.30188678 -70.12191559,-11.30244298
-70.12902749,-11.30211756 -70.13063999,-11.30293425 -70.13475121,-11.3030632
-70.13654963,-11.30273983 -70.1425552,-11.30052852 -70.14390307,-11.30030631
-70.14527771,-11.30106053 -70.14824202,-11.3047925 -70.14910575,-11.30499712
-70.14989219,-11.30456005 -70.1514586,-11.30263703 -70.15254719,-11.30229823
-70.15340301,-11.30217307 -70.1533799,-11.29639049 -70.16770089,-11.2963344
-70.20944612,-11.29616695 -70.21349604,-11.2941476 -70.22772971,-11.28704986
-70.25466203,-11.2932664 -70.25438627,-11.29384226 -70.25483825,-11.29350074
-70.2584429,-11.2929972 -70.25929528,-11.2923697 -70.26137304,-11.29085088
-70.26261036,-11.29026694 -70.26462421,-11.28985148 -70.26691,-11.28982364
-70.2677378,-11.29019081 -70.26829397,-11.29089369 -70.26836216,-11.29201458
-70.2680323,-11.29447535 -70.26819189,-11.29535172 -70.27065643,-11.29807177
-70.27194846,-11.29898849 -70.27306758,-11.29919164
-70.27486266,-11.29888554 -70.27671342,-11.29757556
-70.27788045,-11.29618715 -70.27873452,-11.29459212
-70.27889606,-11.29370533 -70.27878947,-11.29258461
-70.27844443,-11.29127505 -70.27767627,-11.29015719
-70.27752103,-11.28858459 -70.27827571,-11.28646557
-70.27957782,-11.28462448 -70.28062894,-11.28422211
-70.28268276,-11.28418611 -70.28335272,-11.28433692
-70.28533076,-11.28541336 -70.28728786,-11.28480812
-70.28980153,-11.28492378 -70.29115625,-11.28475514
-70.29597378,-11.28218437 -70.29733241,-11.2819976 -70.30076563,-11.28207298
-70.30233331,-11.28177677 -70.30351737,-11.28109345 -70.30504215,-11.2797305
-70.30498194,-11.26638527 -70.30477854,-11.22117777
-70.30457602,-11.17597013 -70.25879127,-11.17616617
-70.21300368,-11.17635523 -70.167219,-11.17653727 -70.12142954,-11.17671232
-70.07564076,-11.17688037</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></segdi:the_geom><segdi:MODALIDAD>POR
CONCURSO PUBLICO</segdi:MODALIDAD><segdi:TITULAR>MADERERA PAUJIL
S.A.C.</segdi:TITULAR><segdi:CONTRATO>17-TAH/C-J-033-02</segdi:CONTRATO><segdi:AREA_SIG>46913.99</segdi:AREA_SIG><segdi:AREA_APROB>46914.0</segdi:AREA_APROB><segdi:FECHA_INI/><segdi:FECHA_TER/><segdi:CONCURSO>1ER
CONCURSO PUBLICO</segdi:CONCURSO><segdi:REGION>MADRE DE
DIOS</segdi:REGION><segdi:ATFFS_GR>TAHUAMANU</segdi:ATFFS_GR><segdi:FUENTE>DGFFS-DICFFS</segdi:FUENTE><segdi:DOC_LEGAL/><segdi:RES_OSIN>RG
N�
022-2008-INRENA-OSINFOR</segdi:RES_OSIN><segdi:RES_DG_GR/><segdi:SITUACION>VIG</segdi:SITUACION><segdi:NUM_CONC>35</segdi:NUM_CONC></segdi:Conc_Maderables4326></gml:featureMember></wfs:FeatureCollection>
Second case (WMS Service from a table in PostGIS, that doesn't work):
<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection
xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs"
xmlns:gml="http://www.opengis.net/gml" xmlns:segdi="segdi"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd segdi
http://localhost:8080/geoserver/segdi/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=segdi%3Aconc_maderables4326"><gml:boundedBy><gml:null>unknown</gml:null></gml:boundedBy><gml:featureMember><segdi:conc\_maderables4326
fid="conc_maderables4326.124"><segdi:modalidad>POR CONCURSO
PUBLICO</segdi:modalidad><segdi:titular>MADERERA PAUJIL
S.A.C.</segdi:titular><segdi:contrato>17-TAH/C-J-033-02</segdi:contrato><segdi:area_sig>46913.99</segdi:area_sig><segdi:area_aprob>46914.0</segdi:area_aprob><segdi:concurso>1ER
CONCURSO PUBLICO</segdi:concurso><segdi:region>MADRE DE
DIOS</segdi:region><segdi:atffs_gr>TAHUAMANU</segdi:atffs_gr><segdi:fuente>DGFFS-DICFFS</segdi:fuente><segdi:res_osin>RG
N�
022-2008-INRENA-OSINFOR</segdi:res_osin><segdi:situacion>VIG</segdi:situacion><segdi:num_conc>35</segdi:num_conc><segdi:geom><gml:MultiPolygon
srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"><gml:polygonMember><gml:Polygon
srsName="EPSG:4326"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates
xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts="
">-70.07564076,-11.17688037 -69.98406308,-11.17719545
-69.98454592,-11.31941612 -69.99055711,-11.30490986
-69.99630869,-11.30078525 -70.00414584,-11.30554228
-70.00892016,-11.29334578 -70.01905892,-11.3042706 -70.02684299,-11.29472198
-70.03215248,-11.30361036 -70.03718051,-11.29806786
-70.04261882,-11.29852802 -70.04424567,-11.30534932 -70.05023635,-11.3040622
-70.05798101,-11.31193768 -70.06741868,-11.30043807
-70.07935177,-11.30034058 -70.08286927,-11.30795946
-70.09003021,-11.30508485 -70.09721265,-11.31287085
-70.11547566,-11.29181555 -70.12191559,-11.30244298
-70.14390307,-11.30030631 -70.14910575,-11.30499712
-70.15340301,-11.30217307 -70.1533799,-11.29639049 -70.20944612,-11.29616695
-70.22772971,-11.28704986 -70.25438627,-11.29384226 -70.26691,-11.28982364
-70.27306758,-11.29919164 -70.27873452,-11.29459212
-70.27957782,-11.28462448 -70.29115625,-11.28475514 -70.30504215,-11.2797305
-70.30457602,-11.17597013
-70.07564076,-11.17688037</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></segdi:geom></segdi:conc_maderables4326></gml:featureMember></wfs:FeatureCollection>
As you can see, responses are different in its order and in the number of
its coordinates.
What should I do to show the attributes of a Web Service generated in
Geoserver from a PostGIS Database?
Thanks for the help.
Regards
Darwin Quispe
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Issues-with-WMS-GetFeatureInfo-tp5315982.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.