Closed jondoig closed 4 years ago
@jondoig
Tested both with Madeira: a new point layer: http://master.demo.geonode.org/layers/geonode:ao
and your cities, both do show up without problems? Would you kindly test some other point source (non geonode to be sure it's not your qgis installation?)
@t-book I think he uses WFS and you use WMS? Would test myself, but our network is currently messy :|
@gannebamm good point. did a test and can reproduce it now. but still think this is connected to madeira. will test tomorrow with las palmas (?) whatever name qgis 2.18 😂
Same on QGIS 3.4.11 - I tested that and upgraded to "latest LTS" 3.4.12 Madeira, same result.
Also same for AURIN who were trying to use WFS to ingest our data to their system. They reported their process can't get past DescribeFeatureType.
Armed with this I tried a DescribeFeatureType and found a key difference:
| <?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:geonode="http://www.geonode.org/" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" targetNamespace="http://www.geonode.org/">
-- | --
| <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://master.demo.geonode.org/geoserver/schemas/gml/2.1.2/feature.xsd?access_token=1mtffvrmg5hQfKA48wpRUpa4coKUjV"/>
| <xsd:complexType name="worldcitiesType">
| <xsd:complexContent>
| <xsd:extension base="gml:AbstractFeatureType">
| <xsd:sequence>
| <xsd:element maxOccurs="1" minOccurs="1" name="fid" nillable="false" type="xsd:int"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="city" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="city_ascii" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="country" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="iso2" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="iso3" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="admin_name" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="capital" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="population" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="id" nillable="true" type="xsd:int"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="location" nillable="true" type="gml:PointPropertyType"/>
| </xsd:sequence>
| </xsd:extension>
| </xsd:complexContent>
| </xsd:complexType>
| <xsd:element name="worldcities" substitutionGroup="gml:_Feature" type="geonode:worldcitiesType"/>
| </xsd:schema>
|
, while:
| <?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:geonode="http://www.geonode.org/" xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" targetNamespace="http://www.geonode.org/">
-- | --
| <xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://master.demo.geonode.org/geoserver/schemas/gml/2.1.2/feature.xsd?access_token=1mtffvrmg5hQfKA48wpRUpa4coKUjV"/>
| <xsd:complexType name="worldcities_shapeType">
| <xsd:complexContent>
| <xsd:extension base="gml:AbstractFeatureType">
| <xsd:sequence>
| <xsd:element maxOccurs="1" minOccurs="1" name="fid_1" nillable="false" type="xsd:int"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="the_geom" nillable="true" type="gml:PointPropertyType"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="fid" nillable="true" type="xsd:int"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="city" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="city_ascii" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="country" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="iso2" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="iso3" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="admin_name" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="capital" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="population" nillable="true" type="xsd:string"/>
| <xsd:element maxOccurs="1" minOccurs="0" name="id" nillable="true" type="xsd:int"/>
| </xsd:sequence>
| </xsd:extension>
| </xsd:complexContent>
| </xsd:complexType>
| <xsd:element name="worldcities_shape" substitutionGroup="gml:_Feature" type="geonode:worldcities_shapeType"/>
| </xsd:schema>
|
That would explain why QGIS treats it as table not layer.
Ping @t-book did you see my last comment?
@jondoig sorry I've absolutely missed this!
That would explain why QGIS treats it as table not layer.
This makes definitely sense and either looks like a regression or some change on geoserver side. I will try to do some investigations as well! thanks for reporting!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
ping @t-book any chance you could look at this?
@jondoig sorry for being quite.
any chance you could look at this?
Unfortunately at earliest starting of February ;/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
CSV point data file uploaded to Geonode is added to QGIS via WFS and displays as points on map
Actual Behavior
CSV point data file uploaded to Geonode is added to QGIS via WFS and appears as a table not a layer
Steps to Reproduce the Problem
In browser:
In QGIS (3.4.12-Madeira on Windows 10):
=> ERROR: Dataset
geonode:worldcities
is added as a table not a layerBut the same CSV dataset, downloaded from Geonode as shapefile and re-uploaded, works fine!
In browser:
In File Explorer:
In browser:
In QGIS:
=> SUCCESS: Dataset worldcities_shape is added to map as a layer
Specifications