Discussion:
Invisible shapefile
Paolo Cavallini
2014-10-18 11:21:47 UTC
Permalink
Hi all.
I am creating shapefiles with SAGA (from Contour lines from grid) that are correctly
loading, but not shown. Once resaved, they are OK. Any hint? File available is
someone wants to test.
I'm working with current master and saga 2.1.2 from Debian sid.
All the best, and thanks.
--
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
Even Rouault
2014-10-18 11:24:53 UTC
Permalink
Post by Paolo Cavallini
Hi all.
I am creating shapefiles with SAGA (from Contour lines from grid) that are
correctly loading, but not shown. Once resaved, they are OK. Any hint?
File available is someone wants to test.
Paolo,

Have you compared the output of ogrinfo -al on the shapefile after SAGA has
created it, and after resaving ?

Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
Paolo Cavallini
2014-10-18 11:35:43 UTC
Permalink
Post by Even Rouault
Have you compared the output of ogrinfo -al on the shapefile after SAGA has
created it, and after resaving ?
Thanks Even. The wrong one has:
Extent: (nan, nan) - (nan, nan)
However, updating the extent from QGIS vector propertires does not solve the issue.
Seems more of a problem with SAGA though.
Do you think I should open a ticket upstream?
All the best.
--
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
Even Rouault
2014-10-18 11:59:21 UTC
Permalink
Post by Paolo Cavallini
Post by Even Rouault
Have you compared the output of ogrinfo -al on the shapefile after SAGA
has created it, and after resaving ?
Extent: (nan, nan) - (nan, nan)
However, updating the extent from QGIS vector propertires does not solve the issue.
It is likely that the OGR Shapefile driver doesn't do right things with such
extent. Perhaps always filtering out features when spatial filter is defined.
Post by Paolo Cavallini
Seems more of a problem with SAGA though.
Do you think I should open a ticket upstream?
Yes, that should likely be fixed on SAGA side.

Perhaps OGR could also better react in that case. Perhaps open a ticket in
GDAL trac with the shapefile attached.
Post by Paolo Cavallini
All the best.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
Paolo Cavallini
2014-10-18 16:01:05 UTC
Permalink
Post by Even Rouault
Post by Paolo Cavallini
Seems more of a problem with SAGA though.
Do you think I should open a ticket upstream?
Yes, that should likely be fixed on SAGA side.
Done: https://sourceforge.net/p/saga-gis/bugs/197/
Post by Even Rouault
Perhaps OGR could also better react in that case. Perhaps open a ticket in
GDAL trac with the shapefile attached.
Done: http://trac.osgeo.org/gdal/attachment/ticket/5702/

Thanks.
--
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
Saber Razmjooei
2014-10-19 09:00:31 UTC
Permalink
There seems to be a problem with SAGA's shapefile writer/reader. See this:
http://hub.qgis.org/issues/11007

Cheers,
Saber


-----Original Message-----
From: qgis-developer-bounces-***@public.gmane.org
[mailto:qgis-developer-bounces-***@public.gmane.org] On Behalf Of Paolo Cavallini
Sent: 18 October 2014 17:01
To: Even Rouault
Cc: qgis-developer-***@public.gmane.org
Subject: Re: [Qgis-developer] Invisible shapefile
Post by Even Rouault
Post by Paolo Cavallini
Seems more of a problem with SAGA though.
Do you think I should open a ticket upstream?
Yes, that should likely be fixed on SAGA side.
Done: https://sourceforge.net/p/saga-gis/bugs/197/
Post by Even Rouault
Perhaps OGR could also better react in that case. Perhaps open a
ticket in GDAL trac with the shapefile attached.
Done: http://trac.osgeo.org/gdal/attachment/ticket/5702/

Thanks.
--
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
_______________________________________________
Qgis-developer mailing list
Qgis-developer-***@public.gmane.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Whilst reasonable care has been taken to avoid virus transmission, no responsibility for viruses is taken and it is your responsibility to carry out
such checks as you feel appropriate.

If this email contains a quote or offer to sell products, carry out work or perform services then our standard terms and conditions (which can be found at http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf shall apply unless explicitly stated otherwise.

Saber Razmjooei and Peter Wells trading as Lutra Consulting.
Richard Duivenvoorde
2014-10-19 10:20:41 UTC
Permalink
Post by Saber Razmjooei
http://hub.qgis.org/issues/11007
I think in such cases it would be nice if the different issues are
updated to link to each other, so different issues/projects can benefit
from each others comments or data?

Regards,

Richard Duivenvoorde
Paolo Cavallini
2014-10-19 15:52:32 UTC
Permalink
Post by Richard Duivenvoorde
I think in such cases it would be nice if the different issues are
updated to link to each other, so different issues/projects can benefit
from each others comments or data?
not quite sure it's the same issue.
I'm investigating upstream (SAGA and GDAL).
Thanks.
--
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
Pedro VenĂ¢ncio
2014-10-18 11:32:37 UTC
Permalink
Hi Paolo,

Not confirmed here with qgis master and saga 2.1.1 (xubuntu 12.04).

Have you tried the same process on saga standalone?


Best regards,
Pedro
Post by Paolo Cavallini
Hi all.
I am creating shapefiles with SAGA (from Contour lines from grid) that are correctly
loading, but not shown. Once resaved, they are OK. Any hint? File available is
someone wants to test.
I'm working with current master and saga 2.1.2 from Debian sid.
All the best, and thanks.
--
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
_______________________________________________
Qgis-developer mailing list
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Siki Zoltan
2014-10-18 13:19:38 UTC
Permalink
Dear Paolo,

recently I have something similar. I compared the bad and the good
shapes with diff (octal dumps).
If you send me the bad shape I can try to find the cause of the problem.

Regards,
Zoltan
Post by Paolo Cavallini
Hi all.
I am creating shapefiles with SAGA (from Contour lines from grid) that are correctly
loading, but not shown. Once resaved, they are OK. Any hint? File available is
someone wants to test.
I'm working with current master and saga 2.1.2 from Debian sid.
All the best, and thanks.
--
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
_______________________________________________
Qgis-developer mailing list
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Loading...