5

I tried to view GML files from download services ( http://services.cuzk.cz/gml/inspire/cp/epsg-5514/ ) and I have a problem with viewing of polygons from layer "CP:CadastralParcel". This Layer contains reference point and polygon of parcel, but I see only reference point.

Boundaries from layer "CP:CadastralBoundary" I see fine.

Could you help me? Thanks

2
  • which viewer do you use
    – underdark
    Oct 21, 2012 at 15:09
  • I use Quantum GIS 1.8.0 on Windows 7 Professional, 64 bit. I use function Add vector layer. Oct 21, 2012 at 16:49

2 Answers 2

6

Same reason --> OGR does not support multiple geometries in one feature http://www.weichand.de/2012/08/26/qgis-wfs-2-0-plugin-update/comment-page-1/#comment-8177

~~ UPDATE ~~

After the first import of your GML-file there will be a .gfs file in the same directory. This file contains the following part:

<Name>CadastralParcel</Name>
<ElementPath>CadastralParcel</ElementPath>
<GeometryType>1</GeometryType>

Change it to:

<Name>CadastralParcel</Name>
<ElementPath>CadastralParcel</ElementPath>
<GeometryType>3</GeometryType>
<GeometryElementPath>geometry</GeometryElementPath>

After reopening your GML-file the CadastralParcels polygons will be displayed instead of the reference points.

2
0

With QGIS 3.22 (probably since quite some time) you can now drag and drop the XML file to QGIS and it will detect the different layers

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.