Problems adding Geomedia WebMap WFS to ArcGIS Online maps

805
2
02-12-2020 04:07 AM
CarlosSousaFerreira
New Contributor III

I'm having troubles adding a WFS layer, published through Geomedia WebMap, to an ArcGIS Online map. It recognizes the url and the layer of the features, but doesn't show any features in the map (or in the attribute table) and doesn't recognize correctly the available fields (it only shows the first one).

In QGIS, I am able to add the data as a WFS data source with no problem.

Bellow I send the results of a query to the service returning only one feature:


<?xml version="1.0" encoding="utf-8"?>
<gmgml:FeatureCollection numberOfFeatures="1" xmlns="http://www.intergraph.com/geomedia/gml" xmlns:gmgml="http://www.intergraph.com/geomedia/gml" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.intergraph.com/geomedia/gml http://myorganizationserver/Cadastro-WFS/service.svc/get?request=DescribeFeatureType&amp;version=1.1.0&amp;TypeName=VETROCOCOLECTORMUN&amp;OutputFormat=text/xml;subtype=gml/3.1.1&amp;service=wfs">
 <gml:boundedBy>
 <gml:Envelope srsName="EPSG:3857">
 <gml:lowerCorner>-1025452.67332012 4677949.3337205</gml:lowerCorner>
 <gml:upperCorner>-1025324.26923474 4677964.86696932</gml:upperCorner>
 </gml:Envelope>
 </gml:boundedBy>
 <gml:featureMember>
 <gmgml:VETROCOCOLECTORMUN gml:id="VETROCOCOLECTORMUN.132">
 <gmgml:IPID>1022398</gmgml:IPID>
 <gmgml:DATA_DE_ACTUALIZACAO>2016-03-16</gmgml:DATA_DE_ACTUALIZACAO>
 <gmgml:GEOMETRY>
 <gml:LineString srsName="EPSG:3857">
 <gml:posList srsDimension="2">-1025452.67332012 4677949.3337205 -1025324.26923474 4677964.86696932 </gml:posList>
 </gml:LineString>
 </gmgml:GEOMETRY>
 </gmgml:VETROCOCOLECTORMUN>
 </gml:featureMember>
</gmgml:FeatureCollection>


I've noticed two strange things that I don't know if they can be the origin of the problem:

  • There is a gmgml prefix in several tags (it seems to be a prefix specific of Geomedia datasources, but does this draw the data invalid, since it is correctly shown in QGIS?)
  • The xmlns and xmlns:gmgml url points to an invalid web address (It seems an outdated url, but I couldn't find the current valid url for this documentation)
Tags (1)
0 Kudos
2 Replies
by Anonymous User
Not applicable

Hi Carlos Sousa Ferreira‌,

I'm seeing a lot of HTTP references in the xml - do you see any mixed content warnings if you open up Dev Tools? If you add the WFS layer over HTTPS do the features display?

Hope that helps,

-Peter

0 Kudos
CarlosSousaFerreira
New Contributor III

Hello, Peter Klingman,

Thanks for your contact!

I was not able to use the service at the time (back in february), so I had to access the data through other means. At this time I don't even have access to the mentioned WFS service, so I cannot debug the problem further.

Best regards,

Carlos