GetCapatibilities zeigt keine Featuretypes
Hi, i habe die Zugriff auf die PostGS-DB mit .pg_service.conf realisiert, da die professionelle Authentifizierung anscheinend nicht lief. Der Qgis-mapserver hält sich da ja sehr bedeckt, aber wenn ich extra eine falschen Usernamen verwende, finde ich im PostgreSQL-log entsprechende Fehlermeldungen. Also greift er wohl wirklich auf die DB zu. Nun das nächste Problem: Es werden keine Layer gefunden, obwohl ich die in der GUI definiert habe und dort auch sehe. GetCapatibilites zeigt <FeatureTypeList> <Operations> <Operation>Query</Operation> </Operations> </FeatureTypeList> und da stehen keine FeatureTypes drin. Klar, dass der GetFeature-Request nix findet. Irgendwo ist da ein riesiger Knoten, den ich nicht zerschlagen kann. Das Projektfile steht hier: https://wambachers-osm.website/data/wrong_postcodes_files.qgs Hier der komplette Response: <WFS_Capabilities xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ows="http://www.opengis.net/ows" version="1.1.0" xmlns="ht tp://www.opengis.net/wfs" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns: gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" updateSequence="0" xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance"> <ows:ServiceIdentification> <ows:Title>Untitled</ows:Title> <ows:ServiceType>WFS</ows:ServiceType> <ows:ServiceTypeVersion>1.1.0</ows:ServiceTypeVersion> <ows:Fees>None</ows:Fees> <ows:AccessConstraints>None</ows:AccessConstraints> </ows:ServiceIdentification> <ows:ServiceProvider/> <ows:OperationsMetadata> <ows:Operation name="GetCapabilities"> <ows:DCP> <ows:HTTP> <ows:Get xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... s_files.qgs"/> <ows:Post xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... es_files.qgs"/> </ows:HTTP> </ows:DCP> <ows:Parameter name="service"> <ows:Value>WFS</ows:Value> </ows:Parameter> <ows:Parameter name="AcceptVersions"> <ows:Value>1.1.0</ows:Value> <ows:Value>1.0.0</ows:Value> </ows:Parameter> <ows:Parameter name="AcceptFormats"> <ows:Value>text/xml</ows:Value> </ows:Parameter> </ows:Operation> <ows:Operation name="DescribeFeatureType"> <ows:DCP> <ows:HTTP> <ows:Get xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... s_files.qgs"/> <ows:Post xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... es_files.qgs"/> </ows:HTTP> </ows:DCP> <ows:Parameter name="outputFormat"> <ows:Value>XMLSCHEMA</ows:Value> <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value> <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value> </ows:Parameter> </ows:Operation> <ows:Operation name="GetFeature"> <ows:DCP> <ows:HTTP> <ows:Get xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... s_files.qgs"/> <ows:Post xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... es_files.qgs"/> </ows:HTTP> </ows:DCP> <ows:Parameter name="outputFormat"> <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value> <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value> <ows:Value>application/vnd.geo+json</ows:Value> </ows:Parameter> <ows:Parameter name="resultType"> <ows:Value>results</ows:Value> <ows:Value>hits</ows:Value> </ows:Parameter> </ows:Operation> <ows:Operation name="Transaction"> <ows:DCP> <ows:HTTP> <ows:Get xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... s_files.qgs"/> <ows:Post xlink:href="http://qgis.wambachers-osm.website/cgi-bin/qgis_mapserv.fcgi?MAP=/home/qgis/... es_files.qgs"/> </ows:HTTP> </ows:DCP> <ows:Parameter name="inputFormat"> <ows:Value>text/xml; subtype=gml/2.1.2</ows:Value> <ows:Value>text/xml; subtype=gml/3.1.1</ows:Value> <ows:Value>application/vnd.geo+json</ows:Value> </ows:Parameter> </ows:Operation> </ows:OperationsMetadata> <FeatureTypeList> <Operations> <Operation>Query</Operation> </Operations> </FeatureTypeList> <ogc:Filter_Capabilities> <ogc:Spatial_Capabilities> <ogc:GeometryOperands> <ogc:GeometryOperand>gml:Point</ogc:GeometryOperand> <ogc:GeometryOperand>gml:LineString</ogc:GeometryOperand> <ogc:GeometryOperand>gml:Polygon</ogc:GeometryOperand> <ogc:GeometryOperand>gml:Envelope</ogc:GeometryOperand> </ogc:GeometryOperands> <ogc:SpatialOperators> <ogc:SpatialOperator name="Equals"/> <ogc:SpatialOperator name="Disjoint"/> <ogc:SpatialOperator name="Touches"/> <ogc:SpatialOperator name="Within"/> <ogc:SpatialOperator name="Overlaps"/> <ogc:SpatialOperator name="Crosses"/> <ogc:SpatialOperator name="Intersects"/> <ogc:SpatialOperator name="Contains"/> <ogc:SpatialOperator name="BBOX"/> </ogc:SpatialOperators> </ogc:Spatial_Capabilities> <ogc:Scalar_Capabilities> <ogc:LogicalOperators/> <ogc:ComparisonOperators> <ogc:ComparisonOperator>LessThan</ogc:ComparisonOperator> <ogc:ComparisonOperator>GreaterThan</ogc:ComparisonOperator> <ogc:ComparisonOperator>LessThanEqualTo</ogc:ComparisonOperator> <ogc:ComparisonOperator>GreaterThanEqualTo</ogc:ComparisonOperator> <ogc:ComparisonOperator>EqualTo</ogc:ComparisonOperator> <ogc:ComparisonOperator>Like</ogc:ComparisonOperator> <ogc:ComparisonOperator>Between</ogc:ComparisonOperator> </ogc:ComparisonOperators> </ogc:Scalar_Capabilities> <ogc:Id_Capabilities> <ogc:FID/> </ogc:Id_Capabilities> </ogc:Filter_Capabilities> </WFS_Capabilities> Gruß walter -- My projects: OSM Software Watchlist <https://wambachers-osm.website/SoftwareWatchlist.html> OSM Emergency Map <https://wambachers-osm.website/Emergency.html> (*) OSM Healthcare Map <https://wambachers-osm.website/Healthcare.html> (*) OSM Postcode Map <https://wambachers-osm.website/Postcodes.html> (Germany) *) DACH+: Germany, Austria, Switzerland, Liechtenstein
participants (1)
-
wambacher@posteo.de