Re: [QGIS-Developer] Editable CSV files

2017-07-18 Thread Nyall Dawson
On 19 July 2017 at 15:45, Andreas Neumann  wrote:
> Hi,
>
> Is there a particular technical reason why csv/text files aren't editable in
> QGIS? Or is this mainly for historical reasons and it could be implemented
> as editable with reasonable effort?
>

It depends how they are loaded. If you load them using the delimited
text provider, then no, they aren't editable.

BUT.

if you load them as a ogr layer, they will be! (Since GDAL supports this)

So drag and drop them to QGIS, or add via the "add vector layer"
button and they'll be editable.

Nyall
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Editable CSV files

2017-07-18 Thread Bernhard Ströbl

Hi Stefan,

although I do not know very much about this topic I wonder how this is 
solved with other file-based data sets, e.g. shape. Furthermore I would 
not limit csv to Excel. I normally use an editor for csv (and sometimes 
LibreOffice). The editor does not lock the file but offers to refresh it 
if it has been changed on disk. LO does lock the file, so no concurrent 
editing is possible.


Bernhard

Am 19.07.2017 um 08:23 schrieb Stefan Keller:

Hii Andreas

I think this is particularly a Windows issue. For Linux it could be
implemented such that files are'nt write locked to other programs.
Background is how to solve the problem of concurrent editing (a file).
Just unlocking the file implies some problems of this type on how to
"inform" the other client to refresh?
A proper solution would be to implement a bidirectional communication
between Excel and QGIS - similar to how GISconnector for Excel (and
ArcGIS) did it.
Unfortunately Excel needs to be programmed in VBA :-(

:Stefan

2017-07-19 7:45 GMT+02:00 Andreas Neumann :

Hi,

Is there a particular technical reason why csv/text files aren't editable in
QGIS? Or is this mainly for historical reasons and it could be implemented
as editable with reasonable effort?

I know that there is a plugin called "Editable GeoCSV" - but shouldn't this
be supported by QGIS in general, without the need for a plugin?

I'd be willing to financially support such an improvement in QGIS core,
should a developer be interested in working on it.

Thanks,

Andreas

___



__ Information from ESET Mail Security, version of virus signature 
database 15770 (20170719) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Editable CSV files

2017-07-18 Thread Stefan Keller
Hii Andreas

I think this is particularly a Windows issue. For Linux it could be
implemented such that files are'nt write locked to other programs.
Background is how to solve the problem of concurrent editing (a file).
Just unlocking the file implies some problems of this type on how to
"inform" the other client to refresh?
A proper solution would be to implement a bidirectional communication
between Excel and QGIS - similar to how GISconnector for Excel (and
ArcGIS) did it.
Unfortunately Excel needs to be programmed in VBA :-(

:Stefan

2017-07-19 7:45 GMT+02:00 Andreas Neumann :
> Hi,
>
> Is there a particular technical reason why csv/text files aren't editable in
> QGIS? Or is this mainly for historical reasons and it could be implemented
> as editable with reasonable effort?
>
> I know that there is a plugin called "Editable GeoCSV" - but shouldn't this
> be supported by QGIS in general, without the need for a plugin?
>
> I'd be willing to financially support such an improvement in QGIS core,
> should a developer be interested in working on it.
>
> Thanks,
>
> Andreas
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Editable CSV files

2017-07-18 Thread Andreas Neumann

Hi,

Is there a particular technical reason why csv/text files aren't 
editable in QGIS? Or is this mainly for historical reasons and it could 
be implemented as editable with reasonable effort?


I know that there is a plugin called "Editable GeoCSV" - but shouldn't 
this be supported by QGIS in general, without the need for a plugin?


I'd be willing to financially support such an improvement in QGIS core, 
should a developer be interested in working on it.


Thanks,

Andreas

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Expression based output in Processing

2017-07-18 Thread Paolo Cavallini
Hi all,
(sorry I'm flooding the list) I wonder what is the use case for
expression based output in Processing. It makes sense to me for models
and for batches (where however is apparently not present), but I do not
understand its use case for single algs.
Anyone has details?
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Processing batch process interface

2017-07-18 Thread Paolo Cavallini
Hi all,
the button "Run as batch process" in 2.18 opens a new popup, whereas in
3 changes the current one. New arrangement is IMHO nicer, but there is
apparently no way of going back to non batch interface.
I think a "non-batch" button should be added.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Count points in polygon

2017-07-18 Thread Paolo Cavallini
Hi all,
in Q3, the above commend produces valid output, but issues a Python error:

2017-07-19T06:34:05 1   Traceback (most recent call last):
  File
"/usr/local/src/qgis/QGIS/build_qgis3/output/python/plugins/processing/algs/qgis/QgisAlgorithm.py",
line 39, in shortHelpString
return shortHelp.get(self.id(), None)
RuntimeError: wrapped C/C++ object of type 
PointsInPolygon has been
deleted

Should I open a ticket?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-developer] Adding default OSM backround maps

2017-07-18 Thread Stefan Keller
Coming back to the original thread, Petr just made an interesting
proposal [1], asking why no integrate into QGIS a vector global
basemap?

He is also offering ready made vector tiles data (MBTiles) which we
(QGIS) could host ourselves.

The styling would be done in QGIS.

He's also referring to the "Vector Tiles Reader" Python plugin I'm
supervising [2]. This astonishing experimental piece of software and
will get a last update before final release. This most probably
inlcudes "loading/flushing tiles" much like raster tiles (this is in
"base map" mode of the plugin. There exist two other modes: Analysis
and Inspection).

As Petr wrote, the "base map" mode of this Vector Tiles Reader should
actually be migrated to a C++ plugin in order to become really fast.
Unfortunately I don't have the resources in short terms to accomplish
that.

Yours, Stefan

[1] 
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/94#issuecomment-316130831
[2] https://github.com/geometalab/Vector-Tiles-Reader-QGIS-Plugin


2017-06-21 9:18 GMT+02:00 Paolo Cavallini :
> Il 21/06/2017 07:59, Richard Duivenvoorde ha scritto:
>
>> It is a LOT of work, both styling and running an open server hosting
>> world data in a custom style. You need also quite a lot
>> cpu/disk/connection resources for it to perform well.
>>
>> So somebody needs to put time/resources in it, AND take responsibility
>> to keep it run smoothly...
>>
>> So I would stick with OSM tiles for now (or some other local/open tile
>> servers), and maybe start yourself with the styling/hosting of a smaller
>> part of the world, share that map and see if that makes people eager to
>> see more :-)
>
> +1
> what I would like to have is some default server already present in
> QGIS. There is some work to do also for this, but much less, and it's
> sustainable over time.
> Anyone willing to help?
> All the best.
>
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1280] Coordtransform approval notification.

2017-07-18 Thread noreply

Plugin Coordtransform approval by pcav.
The plugin version "[1280] Coordtransform 1.0" is now approved
Link: http://plugins.qgis.org/plugins/Coordtransform/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Polygons_Pile

2017-07-18 Thread Régis Haubourg
Maybe if this doesn't work (highly expectable since it's a new institution,
they could have mail server issues), you can try that one:
jean- christophe.bau...@onema.fr


2017-07-18 16:53 GMT+02:00 Régis Haubourg :

> Hi Paolo,
> he asked for a mantra yesterday with this email: jean-christophe.baudin@
> afbiodiversite.fr
>
> Régis
>
> 2017-07-18 16:32 GMT+02:00 Paolo Cavallini :
>
>> Hi all,
>> anyone knows j-c baudin, reportedly the author of the above mentioned
>> plugin? The address provided appears wrong, and I need to contact him
>> for a review of its plugin.
>> Thanks.
>> --
>> Paolo Cavallini - www.faunalia.eu
>> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
>> https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Polygons_Pile

2017-07-18 Thread Régis Haubourg
Hi Paolo,
he asked for a mantra yesterday with this email:
jean-christophe.bau...@afbiodiversite.fr

Régis

2017-07-18 16:32 GMT+02:00 Paolo Cavallini :

> Hi all,
> anyone knows j-c baudin, reportedly the author of the above mentioned
> plugin? The address provided appears wrong, and I need to contact him
> for a review of its plugin.
> Thanks.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1273] Repair Geometry (Reparar Geometria) approval notification.

2017-07-18 Thread noreply

Plugin Repair Geometry (Reparar Geometria) approval by pcav.
The plugin version "[1273] Repair Geometry (Reparar Geometria) 0.1.4 
Experimental" is now approved
Link: http://plugins.qgis.org/plugins/RepairGeometry/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Polygons_Pile

2017-07-18 Thread Paolo Cavallini
Hi all,
anyone knows j-c baudin, reportedly the author of the above mentioned
plugin? The address provided appears wrong, and I need to contact him
for a review of its plugin.
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] [Qgis-developer] [Server] performance questions

2017-07-18 Thread René-Luc Dhont

Hi Régis,

Is this work, about "Speed up project loading by skipping data checks. 
Useful in qgis server context or project with huge database views or 
materialized view.", still relevant ?


https://github.com/pblottiere/QGIS/tree/trust

Regards,
René-Luc

Le 15/02/2017 à 18:48, Régis Haubourg a écrit :

Hi all,
reviving the thread - Oslandia had the opportunity to work on speed up
improvements.
So Paul  introduced an option to avoid unecessary checks on startup called
"Trust project when datasource has no metadata (id, extent, geometry type).
His branch is here https://github.com/pblottiere/QGIS/tree/trust

we plan to change the associated tooltip to: "Speed up project loading by
skipping data checks. Useful in qgis server context or project with huge
database views or materialized view."

If anyone has very big databases using views, it would be cool to test to
estimate how faster a project loads (and a getCapabilities is generated then
fort QGIS server)

Cheers
Régis



-
--
Régis Haubourg
GIS administrator and project manager
Administrateur de données géographiques et chef de projet SIG
Agence de l'eau Adour-Garonne

--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Server-performance-questions-tp5252233p5308088.html
Sent from the QGIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] add an new feed to http://plugins.qgis.org/planet/ ?

2017-07-18 Thread Régis Haubourg
Many thanks Richard! That works as expected.
Régis

2017-07-17 17:30 GMT+02:00 Richard Duivenvoorde :

> On 17-07-17 17:17, Régis Haubourg wrote:
> > Hi,
> > we have a new website at Oslandia now and we'll try to be a lot more
> > active in publishing web articles.
> >
> > May I ask someone to add our feed to the planet aggregator (or point me
> > to how do it by myself) ?
> >
> > here is the link: http://oslandia.com/en/tag/qgis-en/feed/atom/
>
> Hi Régis,
>
> we run a feedjack plugin in the plugins.qgis.org Django website.
>
> I added your link at Feeds and Subscribers.
>
> So let the articles come in, and please check if the show up at
> http://qgis.org and http://plugins.qgis.org/planet/
>
> There is a small cronjob pulling the feeds from feedjack and caching
> them on disk, where some javascript pulls them into qgis.org [0][1]
>
> Regards,
>
> Richard Duivenvoorde
>
> [0]
> https://github.com/qgis/QGIS-Website/blob/master/themes/qgis
> -theme/languageswitch.html#L122
> [1]
> https://github.com/qgis/QGIS-Website/blob/master/themes/qgis
> -theme/index.html#L267
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer