Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question
    
which viewer do you use –  underdark Oct 21 '12 at 15:09
    
I use Quantum GIS 1.8.0 on Windows 7 Professional, 64 bit. I use function Add vector layer. –  Petr Souček Oct 21 '12 at 16:49

1 Answer 1

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.

share|improve this answer
    
Thank you very much. I tried this solution and it works great. –  Petr Souček Oct 27 '12 at 12:00
    
It should be fixed in the next GDAL version according to this changeset: trac.osgeo.org/gdal/changeset/25183, see trac.osgeo.org/gdal/ticket/4897 –  Andre Joost Nov 16 '12 at 20:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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