Re: [Qgis-developer] [Qgis-user] Qgis nightly - stuck in loading "Add raster" dialog

2016-09-16 Thread Mathieu Pellerin
Richard.

This commit,
https://github.com/qgis/QGIS/commit/59583e97deef732f6884a54b518fc34225fd6012
, fixed a 9-day-old regression which had QGIS constantly use CPU.

Math


On Sun, Sep 11, 2016 at 8:39 PM, Richard Duivenvoorde 
wrote:

>
> Hi, are we the only ones?
>
> It's a strange thing: sometimes the raster dialog opens fine and I can
> load a raster and immidiatly after the loading I cannot use the dialog
> anymore...
>
> I also tried to start QGIS with a clean configpath..
>
> It's both in master_2 and in master/QGIS3 with me?
> QGIS is very busy at that moment..  trying to index something? Or
> searching for something??
>
> http://storage7.static.itmages.com/i/16/0911/h_
> 1473598922_7608453_940ca73ec1.png
>
> Using strace, it looks like it is polling something?
>
> poll([{fd=6, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=6,
> revents=POLLOUT}])
> writev(6,
> [{"\213\24\t\0\20\0`\1\1\0\0\0\17\0\0\0\3\0\2\0\0\0\2\0\4\
> 0\0\0\2\235F\0"...,
> 108}, {NULL, 0}, {"", 0}], 3) = 108
> recvmsg(6, {msg_name(0)=NULL,
> msg_iov(1)=[{"\16\0L\251\252\0`\1\0\0>\0\0\0\0\0\0\0\0\0\0\
> 0\0\0\0\0\0\0\0\0\0\0",
> 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
> recvmsg(6, 0x7ffcd8ab7f50, 0)   = -1 EAGAIN (Resource
> temporarily unavailable)
> recvmsg(6, 0x7ffcd8ab7f50, 0)   = -1 EAGAIN (Resource
> temporarily unavailable)
> recvmsg(6, 0x7ffcd8ab8120, 0)   = -1 EAGAIN (Resource
> temporarily unavailable)
> recvmsg(8, 0x7ffcd8ab8110, 0)   = -1 EAGAIN (Resource
> temporarily unavailable)
>
> piping the strace output to a file I try to find what QGIS was doing
> when that starts:
> http://pastebin.com/dE06wib3
>
> Look like it is GTk+ related...
>
> If I select another Style: /Options/General/Style all is ok! Plastique,
> Cleanlooks, Windows: no problem
>
> So only the GTK+ theme (which I think is default on Linux?) is affected.
>
> So maybe it is a GTK+ problem (on Debian Testing)?
>
> Regards,
>
> Richard
>
>
>
>
>
>
>
> On 09-09-16 16:24, Richard Duivenvoorde wrote:
> > On 09-09-16 16:11, Amedeo Fadini wrote:
> >> hi everybody,
> >>
> >> I'm not subscribed the dev list, so I try posting here.
> >> Maybe is a know issue and will be fixed tonight.
> >> Just updated qgis from debian-nightly
> >>
> >> http://qgis.org/debian-nightly
> >>
> >>
> >> when I try to add raster it freezes trying to open the add raster
> dialog...
> >>
> >> The console output says
> >>
> >> src/gui/qgisgui.cpp: 38: (openFilesRememberingFilter) [6691ms] Opening
> >> file dialog with filters: All files (*);
> >
> > [moving to dev list]
> >
> > Mmm, confirmed here: running a fresh compile of this morning (Debian
> > Jessie)...
> > Only when opening the Raster dialog
> > Running in gdb:
> >
> > src/gui/qgisgui.cpp: 38: (openFilesRememberingFilter) [1607ms] Opening
> > file dialog with filters: All files (*);;GDAL/OGR VSIFileHandler (*.zip
> > *.gz *.tar *.tar.gz *.tgz *.ZIP *.GZ *.TAR *.TAR.GZ *.TGZ);;ACE2 (*.ace2
> > *.ACE2);;ARC Digitized Raster Graphics (*.gen *.GEN);;ASCII Gridded XYZ
> > (*.xyz *.XYZ);;Arc/Info ASCII Grid (*.asc *.ASC);;Arc/Info Binary Grid
> > (hdr.adf HDR.ADF);;Arc/Info Export E00 GRID (*.e00 *.E00);;DRDC COASP
> > SAR Processor Raster (*.hdr *.HDR);;DTED Elevation Raster (*.dt0 *.dt1
> > *.dt2 *.DT0 *.DT1 *.DT2);;ECRG TOC format (*.xml *.XML);;ESRI .hdr
> > Labelled (*.bil *.BIL);;EUMETSAT Archive native  (*.nat *.NAT);;Envisat
> > Image Format (*.n1 *.N1);;Erdas Imagine Images  (*.img *.IMG);;FARSITE
> > v.4 Landscape File  (*.lcp *.LCP);;GMT NetCDF Grid Format (*.nc
> > *.NC);;GRIdded Binary  (*.grb *.GRB);;GeoPackage (*.gpkg
> > *.GPKG);;GeoSoft Grid Exchange Format (*.gxf *.GXF);;GeoTIFF (*.tif
> > *.tiff *.TIF *.TIFF);;Geospatial PDF (*.pdf *.PDF);;Golden Software 7
> > Binary Grid  (*.grd *.GRD);;Golden Software ASCII Grid  (*.grd
> > *.GRD);;Golden Software Binary Grid  (*.grd *.GRD);;Graphics Interchange
> > Format  (*.gif *.GIF);;Graphics Interchange Format  (*.gif
> > *.GIF);;Ground-based SAR Applications Testbed File Format  (*.gff
> > *.GFF);;HF2/HFZ heightfield raster (*.hf2 *.HF2);;Hierarchical Data
> > Format Release 4 (*.hdf *.HDF);;Hierarchical Data Format Release 5
> > (*.hdf5 *.HDF5);;ILWIS Raster Map (*.mpr *.mpl *.MPR *.MPL);;IRIS data
> > (*.ppi *.PPI);;Idrisi Raster A.1 (*.rst *.RST);;JPEG JFIF (*.jpg *.jpeg
> > *.JPG *.JPEG);;JPEG-2000 driver based on OpenJPEG library (*.jp2 *.j2k
> > *.JP2 *.J2K);;Japanese DEM  (*.mem *.MEM);;KOLOR Raw (*.kro
> > *.KRO);;Leveller heightfield (*.ter *.TER);;MBTiles (*.mbtiles
> > *.MBTILES);;MS Windows Device Independent Bitmap (*.bmp *.BMP);;Magellan
> > topo  (*.blx *.BLX);;NOAA NGS Geoid Height Grids (*.bin *.BIN);;NOAA
> > Vertical Datum .GTX (*.gtx *.GTX);;NTv2 Datum Grid Shift (*.gsb
> > *.GSB);;National Imagery Transmission Format (*.ntf *.NTF);;Network
> > Common Data Format (*.nc *.NC);;Northwood Classified Grid Format
> > .grc/.tab (*.grc *.GRC);;Northwood Numeric Grid Format .grd/.tab (*.grd
> > 

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Randal Hale

I just ran a test

Ubuntu Linux
QGIS 2.16.2
Shapefile with 925,000+ polygons

I opened the attribute table which took a bit.
Started editing.
Split 5 polygons.
Saved.
Stopped editing.
Removed the layer.
Added it back - it didn't corrupt.

I'm wondering if I should have done something more deliberate like 
delete or add more polygons.


Randy




On 09/16/2016 06:00 PM, Jeff McKenna wrote:

On 2016-09-16 3:53 PM, Even Rouault wrote:


One of my hypothesis is some bad interaction with the "connection pool".
Could you (or anyone) open the attribute table before doing the 
edits,and do
the edits and commit them no more than 60 seconds afterwards ? I'm 
not sure
but this might perhaps also require the shapefile to be big enough 
(several

thousands of features).





Here was my next test:

- download OSM land polygons for the world, unsplit: 
http://data.openstreetmapdata.com/land-polygons-complete-4326.zip 
424MB   568,635 features  <--- big test!


- add shapefile to QGIS 2.16.2 view

- open attribute table

- start editing

- after a while waiting for nodes to appear as QGIS works, message is 
displayed of "qgis-bin.exe has stopped working"


With QGIS 2.14.0:

- exact same issue when starting editing of that layer

With QGIS 1.8.0:

- able to click start editing and no crash as nodes are displayed for 
world


- able to use "Split Features" and save edits

- seems to write changes to .dbf .shp .shx (to be honest, changes 
don't look like a valid feature split, hard to tell, but it seems a 
few more feature records were added)


You likely aren't happy that I tried with such large of a file, but, 
it was honestly the first big file that I found.



other test for fun:

- checked layer summary through ogrinfo
- indexed the .shp with the shptree utility (generates 22MB .qix index 
file, wow)
- created a small MapServer mapfile with only that layer, for world 
extents
- generated map image through MapServer, recording layer draw speed 
(cool!)
- tried to compare that speed, to QGIS 2.16.2 loading that same 
shapefile (doing both a same time)


Fun results!  Any guess how MapServer did?  :)

Honestly I didn't plan to check that, and that is not why I tried to 
help here, but when I saw QGIS having a hard time with this large 
file, on a 16MB RAM new machine, I thought 'hmm i wonder how MapServer 
would handle this huge file?'   For one of the previous WMS 
Benchmarking exercises at an old FOSS4G event I tested with a 1GB 
shapefile, and we had to fix the indexing for MapServer...so it is 
good to try to push limits once in a while.


sorry if i offend anyone with these tests, was just having some fun 
pushing MapServer as well.


Let me know if you need more tests.

-jeff




--

Randal Hale
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 rjh...@northrivergeographic.com
twitter:rjhale http://about.me/rjhale
http://www.northrivergeographic.com/introduction-to-quantum-gis
https://www.facebook.com/NRGSInc

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna

On 2016-09-16 7:00 PM, Jeff McKenna wrote:

On 2016-09-16 3:53 PM, Even Rouault wrote:


One of my hypothesis is some bad interaction with the "connection pool".
Could you (or anyone) open the attribute table before doing the
edits,and do
the edits and commit them no more than 60 seconds afterwards ? I'm not
sure
but this might perhaps also require the shapefile to be big enough
(several
thousands of features).





Here was my next test:

- download OSM land polygons for the world, unsplit:
http://data.openstreetmapdata.com/land-polygons-complete-4326.zip
424MB   568,635 features  <--- big test!

- add shapefile to QGIS 2.16.2 view

- open attribute table

- start editing

- after a while waiting for nodes to appear as QGIS works, message is
displayed of "qgis-bin.exe has stopped working"

With QGIS 2.14.0:

- exact same issue when starting editing of that layer

With QGIS 1.8.0:

- able to click start editing and no crash as nodes are displayed for world

- able to use "Split Features" and save edits

- seems to write changes to .dbf .shp .shx (to be honest, changes don't
look like a valid feature split, hard to tell, but it seems a few more
feature records were added)

You likely aren't happy that I tried with such large of a file, but, it
was honestly the first big file that I found.


other test for fun:

- checked layer summary through ogrinfo
- indexed the .shp with the shptree utility (generates 22MB .qix index
file, wow)
- created a small MapServer mapfile with only that layer, for world extents
- generated map image through MapServer, recording layer draw speed (cool!)
- tried to compare that speed, to QGIS 2.16.2 loading that same
shapefile (doing both a same time)

Fun results!  Any guess how MapServer did?  :)

Honestly I didn't plan to check that, and that is not why I tried to
help here, but when I saw QGIS having a hard time with this large file,
on a 16MB RAM new machine, I thought 'hmm i wonder how MapServer would
handle this huge file?'   For one of the previous WMS Benchmarking
exercises at an old FOSS4G event I tested with a 1GB shapefile, and we
had to fix the indexing for MapServer...so it is good to try to push
limits once in a while.

sorry if i offend anyone with these tests, was just having some fun
pushing MapServer as well.

Let me know if you need more tests.

-jeff




it would be fun, yet make no sense to technical people, to compare 
MapServer WFS output or WFS-Transaction requests, versus other tools 
like QGIS editing.  But that is apples vs oranges and could never be 
agreed upon by development teams (or any sane person).


Anyway, I was just having some fun pushing MapServer.

I hope those tests are somewhat useful!

-jeff


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna

On 2016-09-16 3:53 PM, Even Rouault wrote:


One of my hypothesis is some bad interaction with the "connection pool".
Could you (or anyone) open the attribute table before doing the edits,and do
the edits and commit them no more than 60 seconds afterwards ? I'm not sure
but this might perhaps also require the shapefile to be big enough (several
thousands of features).





Here was my next test:

- download OSM land polygons for the world, unsplit: 
http://data.openstreetmapdata.com/land-polygons-complete-4326.zip 
424MB   568,635 features  <--- big test!


- add shapefile to QGIS 2.16.2 view

- open attribute table

- start editing

- after a while waiting for nodes to appear as QGIS works, message is 
displayed of "qgis-bin.exe has stopped working"


With QGIS 2.14.0:

- exact same issue when starting editing of that layer

With QGIS 1.8.0:

- able to click start editing and no crash as nodes are displayed for world

- able to use "Split Features" and save edits

- seems to write changes to .dbf .shp .shx (to be honest, changes don't 
look like a valid feature split, hard to tell, but it seems a few more 
feature records were added)


You likely aren't happy that I tried with such large of a file, but, it 
was honestly the first big file that I found.



other test for fun:

- checked layer summary through ogrinfo
- indexed the .shp with the shptree utility (generates 22MB .qix index 
file, wow)

- created a small MapServer mapfile with only that layer, for world extents
- generated map image through MapServer, recording layer draw speed (cool!)
- tried to compare that speed, to QGIS 2.16.2 loading that same 
shapefile (doing both a same time)


Fun results!  Any guess how MapServer did?  :)

Honestly I didn't plan to check that, and that is not why I tried to 
help here, but when I saw QGIS having a hard time with this large file, 
on a 16MB RAM new machine, I thought 'hmm i wonder how MapServer would 
handle this huge file?'   For one of the previous WMS Benchmarking 
exercises at an old FOSS4G event I tested with a 1GB shapefile, and we 
had to fix the indexing for MapServer...so it is good to try to push 
limits once in a while.


sorry if i offend anyone with these tests, was just having some fun 
pushing MapServer as well.


Let me know if you need more tests.

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/





___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna

On 2016-09-16 3:53 PM, Even Rouault wrote:


One of my hypothesis is some bad interaction with the "connection pool".
Could you (or anyone) open the attribute table before doing the edits,and do
the edits and commit them no more than 60 seconds afterwards ? I'm not sure
but this might perhaps also require the shapefile to be big enough (several
thousands of features).




hmm, still works with 1000 features.  Will look for a bigger test.

-jeff



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Even Rouault
Le vendredi 16 septembre 2016 20:27:05, Jeff McKenna a écrit :
> I just tried to reproduce with QGIS 2.16.2 on Windows 10, I had no
> problems using the "Split Features" tool on a shapefile, and saving. I
> notice that the .dbf .shp .shx were modified properly.
> 
> (I did have a brain lapse to remember that the Split Features tool lives
> in the /edit menu ha)

One of my hypothesis is some bad interaction with the "connection pool".
Could you (or anyone) open the attribute table before doing the edits,and do 
the edits and commit them no more than 60 seconds afterwards ? I'm not sure 
but this might perhaps also require the shapefile to be big enough (several 
thousands of features). 

> 
> -jeff
> 
> > Unfortunately a fairly nasty regression has slipped in to 2.16 and is
> > still present on master. This results in shapefile corruption in
> > certain circumstances.
> > 
> > While I've hit this issue maybe 3 or 4 times in the last 2 months, I
> > haven't been able to track down exactly what causes this. It seems
> > related to using the split or reshape tool on a shapefile, then saving
> > the changes and getting the errors "Cannot reopen datasource
> > xxx.shp|layerid=0 in read-only mode" and "Data source is invalid
> > (Unable to open xxx.shx or xxx.SHX.Try --config SHAPE_RESTORE_SHX true
> > to restore or create it)" in the log.
> > 
> > A full report is at http://hub.qgis.org/issues/15570
> > 
> > Hopefully we can resolve this before the next round of releases. In
> > the meantime, there's a workaround for recovering data:
> > 
> > In the same folder as the shapefile there'll be additional files
> > "xxx_packed.shp" and "xxx_packed.shx". Renaming the "xxx_packed.shx"
> > file to "xxx.shx" allows the original shapefile to be reopened.
> > 
> > Nyall
> > ___
> > Qgis-developer mailing list
> > Qgis-developer@lists.osgeo.org
> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna
I just tried to reproduce with QGIS 2.16.2 on Windows 10, I had no 
problems using the "Split Features" tool on a shapefile, and saving. I 
notice that the .dbf .shp .shx were modified properly.


(I did have a brain lapse to remember that the Split Features tool lives 
in the /edit menu ha)


-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-09-15 10:08 PM, Nyall Dawson wrote:

Unfortunately a fairly nasty regression has slipped in to 2.16 and is
still present on master. This results in shapefile corruption in
certain circumstances.

While I've hit this issue maybe 3 or 4 times in the last 2 months, I
haven't been able to track down exactly what causes this. It seems
related to using the split or reshape tool on a shapefile, then saving
the changes and getting the errors "Cannot reopen datasource
xxx.shp|layerid=0 in read-only mode" and "Data source is invalid
(Unable to open xxx.shx or xxx.SHX.Try --config SHAPE_RESTORE_SHX true
to restore or create it)" in the log.

A full report is at http://hub.qgis.org/issues/15570

Hopefully we can resolve this before the next round of releases. In
the meantime, there's a workaround for recovering data:

In the same folder as the shapefile there'll be additional files
"xxx_packed.shp" and "xxx_packed.shx". Renaming the "xxx_packed.shx"
file to "xxx.shx" allows the original shapefile to be reopened.

Nyall
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Lene Fischer
Hi Nyall,
I have been using 2.16 in a 3 week summer class. We have been using these 
functions, and not seen the described errors.
We use OS : Windows 7 and 8 - the MAC users was using 2.14

Is it on Linux you get the errors ?
Regards


Lene Fischer

-Oprindelig meddelelse-
Fra: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne af 
Nyall Dawson
Sendt: 16. september 2016 03:09
Til: qgis-developer
Emne: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to 
recover

Unfortunately a fairly nasty regression has slipped in to 2.16 and is still 
present on master. This results in shapefile corruption in certain 
circumstances.

While I've hit this issue maybe 3 or 4 times in the last 2 months, I haven't 
been able to track down exactly what causes this. It seems related to using the 
split or reshape tool on a shapefile, then saving the changes and getting the 
errors "Cannot reopen datasource
xxx.shp|layerid=0 in read-only mode" and "Data source is invalid (Unable to 
open xxx.shx or xxx.SHX.Try --config SHAPE_RESTORE_SHX true to restore or 
create it)" in the log.

A full report is at http://hub.qgis.org/issues/15570

Hopefully we can resolve this before the next round of releases. In the 
meantime, there's a workaround for recovering data:

In the same folder as the shapefile there'll be additional files 
"xxx_packed.shp" and "xxx_packed.shx". Renaming the "xxx_packed.shx"
file to "xxx.shx" allows the original shapefile to be reopened.

Nyall
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [902] GeoServer Explorer approval notification.

2016-09-16 Thread noreply

Plugin GeoServer Explorer approval by elpaso.
The plugin version "[902] GeoServer Explorer 0.5" is now unapproved
Link: http://plugins.qgis.org/plugins/geoserverexplorer/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Error in WFS QgsDataProvider.dataSourceUri()?

2016-09-16 Thread Tom Chadwin
OK, I'll not submit a PR, but let others decide if it's worth it.

Thanks

Tom



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Error-in-WFS-QgsDataProvider-dataSourceUri-tp5286330p5286337.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Error in WFS QgsDataProvider.dataSourceUri()?

2016-09-16 Thread Even Rouault
Le vendredi 16 septembre 2016 13:58:39, Tom Chadwin a écrit :
> It includes "retrictToRequestBBOX" (missing an 's'). Should be
> "restrictToRequestBBOX". Don't know if this is internal to QGIS, or if it's
> eg OGR. Also don't know what breakages would be caused by fixing it.

Ah.. Purely a QGIS thing, but not completely internal in the meaning that it 
can be used by code building a connection string (eg in unit tests) and it is 
actually documented in http://qgis.org/api/classQgsVectorLayer.html#details

So if we wanted to change that we should probably accept the old value as 
well.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [740] qgis2web approval notification.

2016-09-16 Thread noreply

Plugin qgis2web approval by pcav.
The plugin version "[740] qgis2web 1.16.1" is now approved
Link: http://plugins.qgis.org/plugins/qgis2web/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Error in GDALTools

2016-09-16 Thread Paolo Cavallini
Hi all,
I have been reported an error from GDALTools on Windows (gdalbuildvrt),
QGIS 2.16.2:

Traceback (most recent call last):
  File
"C:/PROGRA~1/QGIS2~1.16/apps/qgis/./python/plugins\GdalTools\tools\doBuildVRT.py",
line 110, in switchLayerMode
enableInputFiles = not self.inputSelLayersCheck.isChecked()
RuntimeError: wrapped C/C++ object of type QCheckBox has been deleted

On Debian all OK.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Error in WFS QgsDataProvider.dataSourceUri()?

2016-09-16 Thread Tom Chadwin
It includes "retrictToRequestBBOX" (missing an 's'). Should be
"restrictToRequestBBOX". Don't know if this is internal to QGIS, or if it's
eg OGR. Also don't know what breakages would be caused by fixing it.

Thanks

Tom



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Error-in-WFS-QgsDataProvider-dataSourceUri-tp5286330.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Plugin [1035] Lat Lon Tools approval notification.

2016-09-16 Thread Robin Paulson

On 2016-09-16 19:08, nore...@qgis.org wrote:

Plugin Lat Lon Tools approval by pcav.
The plugin version "[1035] Lat Lon Tools 0.5" is now approved
Link: http://plugins.qgis.org/plugins/latlontools/


plugins.qgis.org is giving me a 504

--
robin
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Geo DrinX
Hi Nyall,


2016-09-16 3:08 GMT+02:00 Nyall Dawson :

Unfortunately a fairly nasty regression has slipped in to 2.16 and is
> still present on master.


perhaps, the name "NODEB" stands for  "--NODEBug"   ?   :(



> This results in shapefile corruption in
> certain circumstances.
>

well,  but today  a SHP is not so important   ;)

Serioulsly,  do you have some  plugin active ?   Do you tested with
"--NOPLUGINS"  option active ?
Do you can try renaming  .qgis2   directory,  so that we are sure  QGIS  do
no use it ?
And what is the result ?

Please, let us know.


Regards

Roberto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Saber Razmjooei
There was another report of Shapefile corruption earlier with 2.14 which I 
thought it could be side effects of the solution for #11007:
http://hub.qgis.org/issues/15407

Cheers,
Saber

-Original Message-
From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf 
Of Giovanni Manghi
Sent: 16 September 2016 09:55
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and 
how to recover

Hi all,


> While I've hit this issue maybe 3 or 4 times in the last 2 months, I 
> haven't been able to track down exactly what causes this. It seems 
> related to using the split or reshape tool on a shapefile, then saving 
> the changes and getting the errors "Cannot reopen datasource
> xxx.shp|layerid=0 in read-only mode" and "Data source is invalid 
> (Unable to open xxx.shx or xxx.SHX.Try --config SHAPE_RESTORE_SHX true 
> to restore or create it)" in the log.
>
> A full report is at http://hub.qgis.org/issues/15570


geez... this unfortunately sounds familiar... remember all the issues with 
deleted features and shapefiles opened in software other than QGIS?

Can this be something related to that?

cheers

-- G --
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: 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.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Qgis donload entire postgis data table (with geom?) opening attribute table

2016-09-16 Thread Pietro Rossin
@Nyall
Thanks, it would be nice if it will be fixed in next releases..
Other nice thing would be the possibility to select if we want to fetch the
geometry column, and which geometry column opening attribute table..

A user could add more than a single geometry column in a postgis table, for
example full resolution- half, a quarter etc.. with a trigger to update the
lower resolution ones after a geometry update.
This could be usefull in web publishing applications..
Now we are using Lizmap and I create some materialized views to create
visualization by scale in my project. Having more than one geometry column
(not fetched loading attribute table) could lower the mess and maintenance
(refresh materialized views etc)..

@DelazJ
Thanks, I didn't see it
Anyway selecting "Plain text, no geometry" don't fix the fetching of the
geometry column opening attribute table and copy/paste it..

Cheers
Pietro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Qgis-donload-entire-postgis-data-table-with-geom-opening-attribute-table-tp5285532p5286279.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Giovanni Manghi
Hi all,


> While I've hit this issue maybe 3 or 4 times in the last 2 months, I
> haven't been able to track down exactly what causes this. It seems
> related to using the split or reshape tool on a shapefile, then saving
> the changes and getting the errors "Cannot reopen datasource
> xxx.shp|layerid=0 in read-only mode" and "Data source is invalid
> (Unable to open xxx.shx or xxx.SHX.Try --config SHAPE_RESTORE_SHX true
> to restore or create it)" in the log.
>
> A full report is at http://hub.qgis.org/issues/15570


geez... this unfortunately sounds familiar... remember all the issues
with deleted features and shapefiles opened in software other than
QGIS?

Can this be something related to that?

cheers

-- G --
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Qgis donload entire postgis data table (with geom?) opening attribute table

2016-09-16 Thread DelazJ
Hi,
Pietro, the WKT option is still available in Settings --> Options --> Data
Sources, and in the listbox "copy features as", select "Plain text, no
geometry".

HTH,
Harrissou

2016-09-16 8:33 GMT+02:00 Nyall Dawson :

> On 16 September 2016 at 16:31, Jean-Roc Morreale
>  wrote:
> > It's not an issue, it's the default behaviour :)
>
> Well - it's actually a bug. The geometry shouldn't be getting fetched
> here unless it's required. I looked into this a couple of weeks back
> and there's a few issues in the caching mechanism which means it's not
> being utilised correctly. I haven't had a chance yet to address these.
>
> Nyall
>
>
>
> >
> >
> >
> > Le 2016-09-16 08:19, Pietro Rossin a écrit :
> >>
> >> Am I the only one having this issue??
> >>
> >> Pietro
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> >> http://osgeo-org.1560.x6.nabble.com/Qgis-donload-
> entire-postgis-data-table-with-geom-opening-attribute-
> table-tp5285532p5286232.html
> >> Sent from the Quantum GIS - Developer mailing list archive at
> Nabble.com.
> >> ___
> >> Qgis-developer mailing list
> >> Qgis-developer@lists.osgeo.org
> >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> > ___
> > Qgis-developer mailing list
> > Qgis-developer@lists.osgeo.org
> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [740] qgis2web approval notification.

2016-09-16 Thread noreply

Plugin qgis2web approval by pcav.
The plugin version "[740] qgis2web 1.16.0" is now approved
Link: http://plugins.qgis.org/plugins/qgis2web/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [862] Geosearch DK approval notification.

2016-09-16 Thread noreply

Plugin Geosearch DK approval by pcav.
The plugin version "[862] Geosearch DK 0.2.7" is now approved
Link: http://plugins.qgis.org/plugins/geosearch_dk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Plugin [1035] Lat Lon Tools approval notification.

2016-09-16 Thread noreply

Plugin Lat Lon Tools approval by pcav.
The plugin version "[1035] Lat Lon Tools 0.5" is now approved
Link: http://plugins.qgis.org/plugins/latlontools/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Qgis donload entire postgis data table (with geom?) opening attribute table

2016-09-16 Thread Nyall Dawson
On 16 September 2016 at 16:31, Jean-Roc Morreale
 wrote:
> It's not an issue, it's the default behaviour :)

Well - it's actually a bug. The geometry shouldn't be getting fetched
here unless it's required. I looked into this a couple of weeks back
and there's a few issues in the caching mechanism which means it's not
being utilised correctly. I haven't had a chance yet to address these.

Nyall



>
>
>
> Le 2016-09-16 08:19, Pietro Rossin a écrit :
>>
>> Am I the only one having this issue??
>>
>> Pietro
>>
>>
>>
>> --
>> View this message in context:
>>
>> http://osgeo-org.1560.x6.nabble.com/Qgis-donload-entire-postgis-data-table-with-geom-opening-attribute-table-tp5285532p5286232.html
>> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Nyall Dawson
On 16 September 2016 at 16:16, Lene Fischer  wrote:
> Hi Nyall,
> I have been using 2.16 in a 3 week summer class. We have been using these 
> functions, and not seen the described errors.
> We use OS : Windows 7 and 8 - the MAC users was using 2.14
>
> Is it on Linux you get the errors ?

No - it's on Windows. And I can't reproduce it everytime, but it has
happened multiple times.

Nyall


> Regards
>
>
> Lene Fischer
>
> -Oprindelig meddelelse-
> Fra: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] På vegne 
> af Nyall Dawson
> Sendt: 16. september 2016 03:09
> Til: qgis-developer
> Emne: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how 
> to recover
>
> Unfortunately a fairly nasty regression has slipped in to 2.16 and is still 
> present on master. This results in shapefile corruption in certain 
> circumstances.
>
> While I've hit this issue maybe 3 or 4 times in the last 2 months, I haven't 
> been able to track down exactly what causes this. It seems related to using 
> the split or reshape tool on a shapefile, then saving the changes and getting 
> the errors "Cannot reopen datasource
> xxx.shp|layerid=0 in read-only mode" and "Data source is invalid (Unable to 
> open xxx.shx or xxx.SHX.Try --config SHAPE_RESTORE_SHX true to restore or 
> create it)" in the log.
>
> A full report is at http://hub.qgis.org/issues/15570
>
> Hopefully we can resolve this before the next round of releases. In the 
> meantime, there's a workaround for recovering data:
>
> In the same folder as the shapefile there'll be additional files 
> "xxx_packed.shp" and "xxx_packed.shx". Renaming the "xxx_packed.shx"
> file to "xxx.shx" allows the original shapefile to be reopened.
>
> Nyall
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Qgis donload entire postgis data table (with geom?) opening attribute table

2016-09-16 Thread Jean-Roc Morreale

It's not an issue, it's the default behaviour :)


Le 2016-09-16 08:19, Pietro Rossin a écrit :

Am I the only one having this issue??

Pietro



--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Qgis-donload-entire-postgis-data-table-with-geom-opening-attribute-table-tp5285532p5286232.html
Sent from the Quantum GIS - Developer mailing list archive at 
Nabble.com.

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Qgis donload entire postgis data table (with geom?) opening attribute table

2016-09-16 Thread Pietro Rossin
Am I the only one having this issue??

Pietro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Qgis-donload-entire-postgis-data-table-with-geom-opening-attribute-table-tp5285532p5286232.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer