Re: [Qgis-user] Can't Create Shapefile Layer

2018-06-29 Thread Nicholas Maloof
Whoops. Forgot to specify a file location.

Time for some afternoon coffee.

On Fri, Jun 29, 2018 at 1:35 PM, Nicholas Maloof 
wrote:

> I'm having trouble creating a shapefile and adding it as a layer to my
> map. When I pull up the error message log, it indicates there's a warning,
> but nothing describing what happened. When I click on the OGR tab, it reads
> "Creation of OGR data source parcels.shp failed: Failed to create file
> parcels.shp: Permission denied."
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Can't Create Shapefile Layer

2018-06-29 Thread Nicholas Maloof
I'm having trouble creating a shapefile and adding it as a layer to my map.
When I pull up the error message log, it indicates there's a warning, but
nothing describing what happened. When I click on the OGR tab, it
reads "Creation
of OGR data source parcels.shp failed: Failed to create file parcels.shp:
Permission denied."
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Newby trying to load OSM place search plugin

2018-06-29 Thread Nicolas Cadieux
Perhaps 

http://www.qgistutorials.com/fi_FI/docs/downloading_osm_data.html

> Le 29 juin 2018 à 13:37, Cerasini, Vance S  
> a écrit :
> 
> Hello,
>  
> I am really new to QGIS after coming off 20+ years in the ESRI world.
>  
> I loaded the OSM place search plugin, but I can’t get the panel to come up. 
>  
> Can anyone help?
>  
> Thanks
>  
>  
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Newby trying to load OSM place search plugin

2018-06-29 Thread Cerasini, Vance S
Hello,

I am really new to QGIS after coming off 20+ years in the ESRI world.

I loaded the OSM place search plugin, but I can't get the panel to come up.

Can anyone help?

Thanks


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

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 3:24 PM, Andreas Neumann 
wrote:

> I have to agree with Tobias here. It is the most annoying new "feature" in
> QGIS 3x - this localizing of numeric values (decimal point and thousand
> separator). It causes many troubles.
>
> Plus: keep in mind that there are countries where several systems are in
> place. It shouldn't be forced on the user by the operating system setting.
> In Switzerland, some cantons use the "point" as decimal separator, while in
> other cantons, they use the "comma".
>

Hi Andreas,

Maybe worth a longer explanation:

0. the O.S. settings are in fact user settings: the user can choose whether
to use a comma, a dot etc. by configuration in the O.S. in user space
1. this changes were necessary to fix bugs introduced by widgets changes in
QGIS that prevented (among other things) to enter doubles for systems where
decimal point was not a dot, this is not a feature but a bug fix
2. the old situation was messy: some widgets in the UI were honoring the
O.S. settings some were not

The current situation tries to remove the inconsistencies (or at least the
majority of them) and leaves to the user the possibility to configure the
system.


> I would very much appreciate if there could be separate settings how to
> treat decimal point and thousand separator. The current behavior bothers me
> a lot.
>

There is already,  it's not in QGIS application but in the O.S. settings.

Btw, adding an option to override O.S. settings at the QGIS level is on the
way:

See: https://github.com/qgis/QGIS/pull/7337

--

Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS and ESRI's ArcMAp

2018-06-29 Thread Kurt Menke
Hi Scott,
Off the top of my head, these are some features QGIS has that ArcMap
doesn't have:

   - Live layer effects
   - Blending modes
   - Unique renderers for points like point cluster, point displacement &
   heatmap
   - Unique renderers for polygons like inverted polygons & 2.5D
   - Hillshade renderer for elevation data
   - Much better color picker interface with options not available in ArcMap
   - More unique sub-renders which can be used in combination with the
   above: Geometry generators, outline marker line, outline arrow...
   -
   - Styling dock
   - Support for a much wider array of vector and raster file formats (by
   an order of magnitude) including support for PostGIS, SpatiaLite, MSSQL,
   Oracle, DB2, Geonode...
   - QGIS is 64 bit vs 32 bit for ArcMap
   - QGIS has a significantly larger array of expression functions
   available which are available throughout the interface including data
   defined overrides
   - Global, Project and Layer Variables
   - Virtual Layers
   - In Esri speak what basically  amounts to automatic annotation
   - Multiple maps per project file
   - Preview of valid bounds of a CRS

Kurt

Bird’s Eye View
3016 Santa Clara Ave SE
Albuquerque, NM 87106

www.BirdsEyeViewGIS.com 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Processing question

2018-06-29 Thread Jean-Baptiste Desbas
Hi,

I had the same issue. I had to loop over the output vector layer (child
alg) to feed the sink (main alg). Maybe is not the
simpliest/shortest/fastest, but it works.
Something like that :

o = processing.run(
'qgis:pointsalonglines',
params, context=context, feedback=feedback
)['OUTPUT']

 (sink, dest_id) = self.parameterAsSink(
parameters,
self.OUTPUT,
context,
o.fields,
o.wkbType(),
o.sourceCrs()
)

for f in o.getFeatures()
sink.addFeature(f)


return {'OUTPUT':dest_id}


2018-06-29 9:35 GMT+02:00 Frank Broniewski :

> Hi Nyall,
>
> thanks a ton for your response. I am well know for making things tricky
> for myself 😃
> Anyway, my testing-algorithm-script is still not working. It runs through,
> but I do not get the expected result loaded into the layer tree. I suppose
> it runs through - the  output from the 'qgis:pointsalonglines' is a
> QgsVectorLayer - but after finishing I get nuthink back.
>
> Here's my complete script: You'll need a temporary polygon layer in a
> projected CRS (I use EPSG:31466) for it to work nicely. Copy & Paste it
> into a new script window and run it. I simply don't find the reason why the
> point result layer isn't loaded into my layer tree ...
>
>
> from qgis.PyQt.QtCore import QCoreApplication
> from qgis.core import (QgsApplication,
>QgsProcessing,
>QgsFeatureSink,
>QgsProcessingAlgorithm,
>QgsProcessingParameterFeatureSource,
>QgsProcessingParameterNumber,
>QgsProcessingParameterFeatureSink)
>
> import processing
>
>
> class PolygonCenterline(QgsProcessingAlgorithm):
>
> INPUT = 'INPUT'
> DISTANCE = 'DISTANCE'
> OUTPUT = 'OUTPUT'
>
> def tr(self, text):
> return QCoreApplication.translate('Processing', text)
>
> def createInstance(self):
> return PolygonCenterline()
>
> def group(self):
> return self.tr('Cartography')
>
> def groupId(self):
> return 'cartography'
>
> def name(self):
> return 'polygoncenterline'
>
> def displayName(self):
> return self.tr('Calculate a polygon centerline')
>
> def initAlgorithm(self, config=None):
> self.addParameter(
> QgsProcessingParameterFeatureSource(
> self.INPUT,
> self.tr('Vector Polygon Layer'),
> [QgsProcessing.TypeVectorPolygon]
> )
> )
>
> self.addParameter(
> QgsProcessingParameterNumber(
> self.DISTANCE,
> self.tr('Point distance value'),
> type=QgsProcessingParameterNumber.Double,
> minValue=10.0
> )
> )
>
> self.addParameter(
> QgsProcessingParameterFeatureSink(
> self.OUTPUT,
> self.tr('Center line')
> )
> )
>
> def processAlgorithm(self, parameters, context, feedback):
> # qgis:pointsalonglines
> params = {
> 'INPUT': parameters[self.INPUT],
> 'DISTANCE': parameters[self.DISTANCE],
> 'START_OFFSET': 0,
> 'END_OFFSET': 0,
> 'OUTPUT': 'memory:'
> }
> points = processing.run(
> 'qgis:pointsalonglines',
> params, context=context, feedback=feedback
> )['OUTPUT']
>
> return {self.OUTPUT: points}
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Nyall Dawson 
> Gesendet: Freitag, 29. Juni 2018 01:04
> An: Frank Broniewski 
> Cc: qgis-user 
> Betreff: Re: [Qgis-user] QGIS 3 Processing question
>
> On Fri, 29 Jun 2018 at 07:14, Frank Broniewski 
> wrote:
> >
> > def processAlgorithm(self, parameters, context, feedback):
>
>
> You're making this tricky for yourself! Cut out everything in
> processAlgorithm related to self.INPUT, and just pass the parameter value
> direct to the child algorithm to handle:
>
> > params = {
> >
> > 'INPUT': parameters[self.INPUT],
> >
> > 'DISTANCE': pt_value,
> >
> > 'START_OFFSET': 0,
> >
> > 'END_OFFSET': 0,
> >
> > 'OUTPUT': 'memory:'
> >
> > }
>
>
> Nyall
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] Demo application for G3W-SUITE

2018-06-29 Thread Walter Lorenzetti

Hi Tim, thanks!!


Il 29/06/2018 15:30, Tim Sutton ha scritto:

Nice work Walter, congratulations!

We really should maintain a ‘derivative projects’ page on QGIS.ORG 
 where we can list all cool projects like this.


The ‘derivative projects’ page idea sound as good! We can try..


W

--

Walter Lorenzetti phD
email: lorenze...@gis3w.it
skype: aiki74
twitter:w_lorenzetti 
g+:aiki74 
Tel/Cell: (+39) 347-6597931
Viale Verdi 24 - 51016 Montecatini Terme (PT)
Nuovi corsi QGIS e GFOSS 



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

Re: [Qgis-user] [QGIS-Developer] Demo application for G3W-SUITE

2018-06-29 Thread Tim Sutton
Nice work Walter, congratulations!

We really should maintain a ‘derivative projects’ page on QGIS.ORG where we can 
list all cool projects like this.

Regards

Tim

> On 29 Jun 2018, at 09:02, Walter Lorenzetti  wrote:
> 
> Hi users, hi developers,
> 
> in past May we introduce you a new suite application to publish QGIS projects 
> on web using QGIS-Server.
> https://lists.osgeo.org/pipermail/qgis-user/2018-May/042280.html 
> 
> https://lists.osgeo.org/pipermail/qgis-developer/2018-May/053171.html 
> 
> You rightly ask us a demo applications, sorry for delay but now we have a 
> demo for You :)
> 
> https://demo.g3wsuite.it/ 
> You can try this demo, using demo data that we prepared for your test, and 
> following instructions on this web page
> 
> https://g3wsuite.gis3w.it/demo/ 
> I hope you enjoy it, feedback are welcome.
> 
> Bye
> 
> W
> --
> Walter Lorenzetti phD
> email: lorenze...@gis3w.it 
> skype: aiki74
> twitter:w_lorenzetti 
> g+:aiki74 
> Tel/Cell: (+39) 347-6597931
> Viale Verdi 24 - 51016 Montecatini Terme (PT)
> Nuovi corsi QGIS e GFOSS 
> ___
> QGIS-Developer mailing list
> qgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com  to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net



signature.asc
Description: Message signed with OpenPGP
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS and ESRI's ArcMAp

2018-06-29 Thread Randal Hale

Good Morning (Greetings from TN)

It's a really mixed bag as far as capabilities. I say that - I haven't 
used ArcGIS now for a bit except at ones client's office. The big thing 
you'll notice is it's a different workflow (not necessarily one being 
more right over another). So if you try some workflow you're used to in 
ArcGIS you might get a bit frustrated - but I get frustrated now with 
ArcGIS because of my workflows in QGIS.


 * In general all the extensions you're used to are already included.
   So things like the spatial analyst toolset is there already.
 * Probably the 3D environment in Pro is better (but I've never opened
   pro) - but QGIS is gaining momentum.
 * I find the community here is more vibrant - you can send emails on
   Saturday at noon to the listserve and get an answer.

 * I think QGIS is more flexible - but probably 8 years ago I would
   have argued ArcGIS was. I enjoy this software more now.
 * I think the cartography tools are equal and possibly better than
   ArcGIS.
 * Everyone here is more receptive to suggestions. You can file a bug
   report and talk to a person (and not get a  error).

Give it a shot and start playing with it. Do a small project. Style it 
all up - make a PDF. Hopefully you'll like it -  possibly love it.


(look here -> this might help although it refers to an older version of 
QGIS - it's still a great read - 
https://gisunchained.wordpress.com/2016/01/28/qgis-features-i-long-for-while-using-arcgis/ 
)


Randy



On 06/29/2018 07:59 AM, Crosby, Scott wrote:


Good morning,

Are there tools and/or capabilities unique to QGIS that are not 
available in ArcMap? I’m currently using ArcMap 10.5.1, and recently 
installed QGIS.


*Scott Crosby, C.F.*

Forestry Supervisor II, Etoniah Creek State Forest

Florida Forest Service

Florida Department of Agriculture and Consumer Services

Certified Forester #12604, Society of American Foresters

Office: (386) 329-2555

Fax: (386) 329-2554

scott.cro...@freshfromflorida.com 



www.FreshFromFlorida.com 

Please note that Florida has a broad public records law (Chapter 119, 
Florida Statutes). Most written communications to or from state 
employees are public records obtainable  by the public upon request. 
Emails sent to me at this e-mail address may be considered public and 
will only be withheld from disclosure if deemed confidential pursuant 
to the laws of the State of Florida.




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


--
Randal Hale
rjh...@northrivergeographic.com
https://www.northrivergeographic.com
(423)653-3611

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

Re: [Qgis-user] QGIS and ESRI's ArcMAp

2018-06-29 Thread Nicolas Cadieux
Hi,
Hard to answer but I used to be a big MapInfo, AutoCAD Map user.  I usually 
just use ESRI when other have problems I need to trouble shoot.  Now, i am 
almost exclusively QGIS.  Like others say, it would be hard to make a list as 
QGIS aim is not to just do what others do.  It’s not a copy of other softwares.

There are currently two things that I would like to see in QGIS.  The first is 
a good raster calculator capable of dealing rapidly with HUGE rasters that 
can’t fit into memory. (I am talking LiDAR huge over large territory.)  
(Thankfully, the gdal calculator does it but it was more restrictions 
(identical size,CRS, pixel posting..). I AM not sure ESRI has a flexible way of 
doing that.  

ESRI also has the concept of a raster database.  That is not implemented but 
when you think about it, it’s easy to just keep track of the descriptive values 
in another table.

Nicolas

> Le 29 juin 2018 à 07:59, Crosby, Scott  a 
> écrit :
> 
> Good morning,
>  
> Are there tools and/or capabilities unique to QGIS that are not available in 
> ArcMap? I’m currently using ArcMap 10.5.1, and recently installed QGIS.
>  
> Scott Crosby, C.F.
> Forestry Supervisor II, Etoniah Creek State Forest
> Florida Forest Service
> Florida Department of Agriculture and Consumer Services
> Certified Forester #12604, Society of American Foresters
>  
> Office: (386) 329-2555
> Fax: (386) 329-2554
> scott.cro...@freshfromflorida.com
>  
> www.FreshFromFlorida.com
>  
> Please note that Florida has a broad public records law (Chapter 119, Florida 
> Statutes). Most written communications to or from state employees are public 
> records obtainable  by the public upon request. Emails sent to me at this 
> e-mail address may be considered public and will only be withheld from 
> disclosure if deemed confidential pursuant to the laws of the State of 
> Florida.
>  
>  
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Andreas Neumann
I have to agree with Tobias here. It is the most annoying new "feature" 
in QGIS 3x - this localizing of numeric values (decimal point and 
thousand separator). It causes many troubles.


Plus: keep in mind that there are countries where several systems are in 
place. It shouldn't be forced on the user by the operating system 
setting. In Switzerland, some cantons use the "point" as decimal 
separator, while in other cantons, they use the "comma".


I would very much appreciate if there could be separate settings how to 
treat decimal point and thousand separator. The current behavior bothers 
me a lot.


Andreas


Am 29.06.2018 um 12:10 schrieb Tobias Wendorff:

Am Fr, 29.06.2018, 11:53 schrieb Alessandro Pasotti:

It's operating system and window manager dependent.

Usually under "language/country" settings.

Oh okay. I thought, QGIS would have its own settings. The new settings
are damn annoying... My FIDs look like 1.000.400 :(

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


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

Re: [Qgis-user] QGIS and ESRI's ArcMAp

2018-06-29 Thread SEGGIE Graeme
That will vary on what level of licensing you have for ArcGIS. If you are on a 
Basic license then you will probably find QGIS will fill in quite a lot of gaps 
in your functionality. Off the top of my head these would include Erase / 
Difference geoprocessing and some proximity analysis.
It will also vary accoring to any extensions you have licensed in Arc - so any 
route networking will be available (in QGIS if you have plugins and suitable 
data)) whereas in Arc you would need the Network Anlayst extentsion. Any raster 
analysis is available in QGIS, but requires Spatial Analyst extension in Arc...

Graeme



From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Crosby, 
Scott
Sent: 29 June 2018 13:00
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] QGIS and ESRI's ArcMAp

Good morning,

Are there tools and/or capabilities unique to QGIS that are not available in 
ArcMap? I'm currently using ArcMap 10.5.1, and recently installed QGIS.

Scott Crosby, C.F.
Forestry Supervisor II, Etoniah Creek State Forest
Florida Forest Service
Florida Department of Agriculture and Consumer Services
Certified Forester #12604, Society of American Foresters

Office: (386) 329-2555
Fax: (386) 329-2554
scott.cro...@freshfromflorida.com

www.FreshFromFlorida.com

Please note that Florida has a broad public records law (Chapter 119, Florida 
Statutes). Most written communications to or from state employees are public 
records obtainable  by the public upon request. Emails sent to me at this 
e-mail address may be considered public and will only be withheld from 
disclosure if deemed confidential pursuant to the laws of the State of Florida.




This message has been verified and checked by company's antispam system. Click 
here
 to report this message as a spam.
 This message has been 
scanned for malware. This message and any attachments (the "message") are 
confidential, intended solely for the addressees, and may contain legally 
privileged information. Any unauthorised use or dissemination is prohibited. 
E-mails are susceptible to alteration. Neither our company or any of its 
subsidiaries or affiliates shall be liable for the message if altered, changed 
or falsified. = Ce 
message a ete verifie et ne contient pas de programme malveillant. Ce message 
et toutes les pieces jointes (ci-apres le "message") sont confidentiels et 
susceptibles de contenir des informations couvertes par le secret 
professionnel. Ce message est etabli a l'intention exclusive de ses 
destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout 
message electronique est susceptible d'alteration. Notre societe et ses 
filiales declinent toute responsabilite au titre de ce message s'il a ete 
altere, deforme falsifie. 
=

This message has been scanned for malware. This message and any attachments 
(the "message") are confidential, intended solely for the addressees, and may 
contain legally privileged information. Any unauthorised use or dissemination 
is prohibited. E-mails are susceptible to alteration. Neither our company or 
any of its subsidiaries or affiliates shall be liable for the message if 
altered, changed or falsified.
=
Ce message a ete verifie et ne contient pas de programme malveillant. Ce 
message et toutes les pieces jointes (ci-apres le "message") sont confidentiels 
et susceptibles de contenir des informations couvertes par le secret 
professionnel. Ce message est etabli a l'intention exclusive de ses 
destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout 
message electronique est susceptible d'alteration. Notre societe et ses 
filiales declinent toute responsabilite au titre de ce message s'il a ete 
altere, deforme falsifie.
= This message has been 
scanned for malware. This message and any attachments (the "message") are 
confidential, intended solely for the addressees, and may contain legally 
privileged information. Any unauthorised use or dissemination of the message or 
its contents is prohibited. The confidential or legally privileged nature of 
the information contained in the message is not waived, lost or destroyed if it 
is sent other than to the addressee. Use or dissemination of the information 
contained in the message, by a recipient other than the addressee, may cause 
commercial damage to either or both of the sender and the addressee. If you are 
not the addressee of this message, please contact the sender immediately and 

Re: [Qgis-user] QGIS and ESRI's ArcMAp

2018-06-29 Thread Andreas Neumann

Hi Scott,

This is a difficult (and quite open) question.

There are things in ArcGIS that QGIS doesn't have and vice versa. And 
things that are easier in one system or the other.


One difference is that in ArcGIS you often need commercial extensions, 
while in QGIS you don't have to pay, but it has extensions as plugins 
and processing providers (GRASS, SAGA, R, OTB, etc.) for additional tools.


I haven't used ArcGIS for a long time, so I can't give a fair 
comparison. But things I like in QGIS most, is that it is really 
flexible and open, and easy to extend. I also very much like the 
"expression" system and the fact you can use expressions pretty much 
everywhere where you can set a parameter. Also, the cartographic and 
labeling functionalities and map layout options, as well as atlas and 
report serial prints in QGIS are really nice. Starting from version 3, 
also the processing / analysis functions should be much more stable and 
user friendly. However, I heard that cartography is also a strength of 
the ESRI platform.


To be honest, to get a really fair comparison between the two systems, 
this would require a lot of work and still remain a bit subjective.


What aspects of GIS are you interested in? Cartography, editing, data 
management, publication, analysis?


Greetings,

Andreas


Am 29.06.2018 um 13:59 schrieb Crosby, Scott:


Good morning,

Are there tools and/or capabilities unique to QGIS that are not 
available in ArcMap? I’m currently using ArcMap 10.5.1, and recently 
installed QGIS.


*Scott Crosby, C.F.*

Forestry Supervisor II, Etoniah Creek State Forest

Florida Forest Service

Florida Department of Agriculture and Consumer Services

Certified Forester #12604, Society of American Foresters

Office: (386) 329-2555

Fax: (386) 329-2554

scott.cro...@freshfromflorida.com 



www.FreshFromFlorida.com 

Please note that Florida has a broad public records law (Chapter 119, 
Florida Statutes). Most written communications to or from state 
employees are public records obtainable  by the public upon request. 
Emails sent to me at this e-mail address may be considered public and 
will only be withheld from disclosure if deemed confidential pursuant 
to the laws of the State of Florida.




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


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

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Matthias Kuhn
On 06/29/2018 07:47 AM, Alessandro Pasotti wrote:
>
> On Fri, Jun 29, 2018 at 2:39 PM, Matthias Kuhn  > wrote:
>
> On 06/29/2018 07:36 AM, Alessandro Pasotti wrote:
>> On Fri, Jun 29, 2018 at 2:11 PM, Matthias Kuhn
>> mailto:matth...@opengis.ch>> wrote:
>>
>> On 06/29/2018 07:01 AM, Alessandro Pasotti wrote:
>>> On Fri, Jun 29, 2018 at 12:28 PM, Tobias Wendorff
>>> >> > wrote:
>>
>>  
>>
>>
>>  - "According to system locale"
>>  - "According to locale [combobox]"
>>  - "No formatting"
>>
>>
>>
>> I'm afraid that the last one requires changes through all the
>> code and the implementation of custom validators and custom
>> widgets, so I believe it's a no go, unless we wanted to go back
>> to UI inconsistencies where some widgets use system locale (scale
>> and coordinates to cite some) and some other don't and get back
>> to a certain number of bugs that this implementation fixed.
>>
>
> Will it not work if the last option does
> QLocale.setDefault(QLocale::c()); ?
>
>
>
> Maybe (I've recently messed with that from O.S. settings and got
> unicode issues but that might not affect C++ code), but why do you
> want to loose the possibility to user your favorite locale's decimal
> point without having the group separator?

What I want is a quick option for people to disable both separators,
without having to dig into details about which locale might offer this.
I think that's the most common request.
For the manual configuration of the group separators, if you can see a
use-case for that I don't mind, I just could not think of one.

-- 
Matthias Kuhn
matth...@opengis.ch 
+41 (0)76 435 67 63 
OPENGIS.ch Logo 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 2:39 PM, Matthias Kuhn  wrote:

> On 06/29/2018 07:36 AM, Alessandro Pasotti wrote:
>
> On Fri, Jun 29, 2018 at 2:11 PM, Matthias Kuhn 
> wrote:
>
>> On 06/29/2018 07:01 AM, Alessandro Pasotti wrote:
>>
>> On Fri, Jun 29, 2018 at 12:28 PM, Tobias Wendorff <
>> tobias.wendo...@tu-dortmund.de> wrote:
>>
>>
>
>>
>>  - "According to system locale"
>>  - "According to locale [combobox]"
>>  - "No formatting"
>>
>
>
> I'm afraid that the last one requires changes through all the code and the
> implementation of custom validators and custom widgets, so I believe it's a
> no go, unless we wanted to go back to UI inconsistencies where some widgets
> use system locale (scale and coordinates to cite some) and some other don't
> and get back to a certain number of bugs that this implementation fixed.
>
>
> Will it not work if the last option does QLocale.setDefault(QLocale::c());
> ?
>


Maybe (I've recently messed with that from O.S. settings and got unicode
issues but that might not affect C++ code), but why do you want to loose
the possibility to user your favorite locale's decimal point without having
the group separator?


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Matthias Kuhn
On 06/29/2018 07:36 AM, Alessandro Pasotti wrote:
> On Fri, Jun 29, 2018 at 2:11 PM, Matthias Kuhn  > wrote:
>
> On 06/29/2018 07:01 AM, Alessandro Pasotti wrote:
>> On Fri, Jun 29, 2018 at 12:28 PM, Tobias Wendorff
>> > > wrote:
>
>  
>
>
>  - "According to system locale"
>  - "According to locale [combobox]"
>  - "No formatting"
>
>
>
> I'm afraid that the last one requires changes through all the code and
> the implementation of custom validators and custom widgets, so I
> believe it's a no go, unless we wanted to go back to UI
> inconsistencies where some widgets use system locale (scale and
> coordinates to cite some) and some other don't and get back to a
> certain number of bugs that this implementation fixed.
>

Will it not work if the last option does QLocale.setDefault(QLocale::c()); ?

-- 
Matthias Kuhn
matth...@opengis.ch 
+41 (0)76 435 67 63 
OPENGIS.ch Logo 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 2:11 PM, Matthias Kuhn  wrote:

> On 06/29/2018 07:01 AM, Alessandro Pasotti wrote:
>
> On Fri, Jun 29, 2018 at 12:28 PM, Tobias Wendorff <
> tobias.wendo...@tu-dortmund.de> wrote:
>
>> Am Fr, 29.06.2018, 12:20 schrieb Alessandro Pasotti:
>> > No: not yet, for now you need to change your operating system
>> > settings but nothing prevents us to implement this as an override
>> > in the QGIS options locale section.
>>
>> I've give an +1.E+12 on this :D
>>
>> >> The new settings
>> >> are damn annoying... My FIDs look like 1.000.400 :(
>> >>
>> > This is how numbers are supposed to look in your (german?) locale.
>>
>> Exactly, f.e. locale for money "1.000.000,00 Euro"
>>
>>
> I looked into this: the problem is that you can customize the group
> separator (thousands) and/or omit it completely but you cannot customize
> the decimal point without changing the whole locale (the locale also
> defines currency and other settings that are not currently used by QGIS).
>
> So, the best solution here would probably be:
>
> - allow the user to override system locale as a whole (same widget that we
> have for the translations)
> - add an option to omit the group separator
>
> This way you could set QGIS to have the decimal point from your locale or
> from any other locale and you could set it to omit the group separator, but
> you would not be able to choose a group separator different from the locale
> you selected.
>
> How does it sound?
>
>
> What do you think about a radio button for Number formatting
>

The problem is that QLocale does not allow to only format numbers: you get
all from a locale (date, currency etc.) or none, which is not currently a
big problem because we only format dates and numbers (AFAIK), but using
QLocale::setDefault at the application level seems to me the right solution
for the long term.


>
>  - "According to system locale"
>  - "According to locale [combobox]"
>  - "No formatting"
>


I'm afraid that the last one requires changes through all the code and the
implementation of custom validators and custom widgets, so I believe it's a
no go, unless we wanted to go back to UI inconsistencies where some widgets
use system locale (scale and coordinates to cite some) and some other don't
and get back to a certain number of bugs that this implementation fixed.


I'm working on my proposed solution, let's see if that suit all needs (I
think it should: at least you should have the "old" behavior with dot and
no group separator without the old inconsistencies).


Btw, there is already a workaround: change your number formatting options
at the operating system level and QGIS will respect your choices.


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Claas Leiner

Hi,

In my opinion, no representation of a thousand separator in the 
attribute table is required. This is confusing for the users. By 
default, the attribute table should show only data, not a representation.

If needed, it can be created using the expression format_number ().

format_number(11615,0) returns 11.615
format_number(11615,2) returns 11.615,00

This is easier than in the operating system settings.

Claas
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Matthias Kuhn
On 06/29/2018 07:01 AM, Alessandro Pasotti wrote:
> On Fri, Jun 29, 2018 at 12:28 PM, Tobias Wendorff
>  > wrote:
>
> Am Fr, 29.06.2018, 12:20 schrieb Alessandro Pasotti:
> > No: not yet, for now you need to change your operating system
> > settings but nothing prevents us to implement this as an override
> > in the QGIS options locale section.
>
> I've give an +1.E+12 on this :D
>
> >> The new settings
> >> are damn annoying... My FIDs look like 1.000.400 :(
> >>
> > This is how numbers are supposed to look in your (german?) locale.
>
> Exactly, f.e. locale for money "1.000.000,00 Euro"
>
>
> I looked into this: the problem is that you can customize the group
> separator (thousands) and/or omit it completely but you cannot
> customize the decimal point without changing the whole locale (the
> locale also defines currency and other settings that are not currently
> used by QGIS).
>
> So, the best solution here would probably be:
>
> - allow the user to override system locale as a whole (same widget
> that we have for the translations)
> - add an option to omit the group separator
>
> This way you could set QGIS to have the decimal point from your locale
> or from any other locale and you could set it to omit the group
> separator, but you would not be able to choose a group separator
> different from the locale you selected.
>
> How does it sound?
>

What do you think about a radio button for Number formatting

 - "According to system locale"
 - "According to locale [combobox]"
 - "No formatting"

I believe the last one deserves its quick setting. I am not sure if
someone wants to omit the group separator and have a custom decimal
point, then ok.

-- 
Matthias Kuhn
matth...@opengis.ch 
+41 (0)76 435 67 63 
OPENGIS.ch Logo 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS and ESRI's ArcMAp

2018-06-29 Thread Crosby, Scott
Good morning,

Are there tools and/or capabilities unique to QGIS that are not available in 
ArcMap? I'm currently using ArcMap 10.5.1, and recently installed QGIS.

Scott Crosby, C.F.
Forestry Supervisor II, Etoniah Creek State Forest
Florida Forest Service
Florida Department of Agriculture and Consumer Services
Certified Forester #12604, Society of American Foresters

Office: (386) 329-2555
Fax: (386) 329-2554
scott.cro...@freshfromflorida.com

www.FreshFromFlorida.com

Please note that Florida has a broad public records law (Chapter 119, Florida 
Statutes). Most written communications to or from state employees are public 
records obtainable  by the public upon request. Emails sent to me at this 
e-mail address may be considered public and will only be withheld from 
disclosure if deemed confidential pursuant to the laws of the State of Florida.


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

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 12:28 PM, Tobias Wendorff <
tobias.wendo...@tu-dortmund.de> wrote:

> Am Fr, 29.06.2018, 12:20 schrieb Alessandro Pasotti:
> > No: not yet, for now you need to change your operating system
> > settings but nothing prevents us to implement this as an override
> > in the QGIS options locale section.
>
> I've give an +1.E+12 on this :D
>
> >> The new settings
> >> are damn annoying... My FIDs look like 1.000.400 :(
> >>
> > This is how numbers are supposed to look in your (german?) locale.
>
> Exactly, f.e. locale for money "1.000.000,00 Euro"
>
>
I looked into this: the problem is that you can customize the group
separator (thousands) and/or omit it completely but you cannot customize
the decimal point without changing the whole locale (the locale also
defines currency and other settings that are not currently used by QGIS).

So, the best solution here would probably be:

- allow the user to override system locale as a whole (same widget that we
have for the translations)
- add an option to omit the group separator

This way you could set QGIS to have the decimal point from your locale or
from any other locale and you could set it to omit the group separator, but
you would not be able to choose a group separator different from the locale
you selected.

How does it sound?

-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Tobias Wendorff
Am Fr, 29.06.2018, 12:20 schrieb Alessandro Pasotti:
> No: not yet, for now you need to change your operating system
> settings but nothing prevents us to implement this as an override
> in the QGIS options locale section.

I've give an +1.E+12 on this :D

>> The new settings
>> are damn annoying... My FIDs look like 1.000.400 :(
>>
> This is how numbers are supposed to look in your (german?) locale.

Exactly, f.e. locale for money "1.000.000,00 Euro"

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

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 12:10 PM, Tobias Wendorff <
tobias.wendo...@tu-dortmund.de> wrote:

> Am Fr, 29.06.2018, 11:53 schrieb Alessandro Pasotti:
> >
> > It's operating system and window manager dependent.
> >
> > Usually under "language/country" settings.
>
> Oh okay. I thought, QGIS would have its own settings.



No: not yet, for now you need to change your operating system settings but
nothing prevents us to implement this as an override in the QGIS options
locale section.



> The new settings
> are damn annoying... My FIDs look like 1.000.400 :(
>
>
This is how numbers are supposed to look in your (german?) locale.


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Tobias Wendorff
Am Fr, 29.06.2018, 11:53 schrieb Alessandro Pasotti:
>
> It's operating system and window manager dependent.
>
> Usually under "language/country" settings.

Oh okay. I thought, QGIS would have its own settings. The new settings
are damn annoying... My FIDs look like 1.000.400 :(

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

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 11:37 AM, Tobias Wendorff <
tobias.wendo...@tu-dortmund.de> wrote:

> Am Fr, 29.06.2018, 11:28 schrieb Andreas Wicht:
> >> QGIS now respects user's locale taken from the operating system
> >> settings, you can choose a different thousand separator or omit it
> >> completely by modifying the settings in your operating system (QGIS
> >> restart is required).
> >>
> >> Eventually, we could implement these settings as overrides at the
> >> application level for a more fine grained control.
>
> Sorry for hijacking this thread. Where can I find the setting?
>
>
>

It's operating system and window manager dependent.

Usually under "language/country" settings.


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 11:28 AM, Andreas Wicht  wrote:

> > QGIS now respects user's locale taken from the operating system
> settings, you can choose a different thousand separator or omit it
> completely by modifying the settings in your operating system (QGIS restart
> is required).
> >
> > Eventually, we could implement these settings as overrides at the
> application level for a more fine grained control.
>
> Would it be possible to implement this only to influence the
> representation of the number?
>
This is how I see other software
> products have solved this issue. Separators being copied is probably
> very rarely desired by the user.
>


I don't have statistics about the copy operations in the attribute table so
I cannot confirm or deny, sorry.

I guess that in some cases you might want to copy the localized format to
paste it in something used for presentation purposes.

I'd suggest you to open a feature request where we can discuss this issue:
it might be possible to implement it in a copy routine when selecting the
cells in the attribute table.

But again, I'm not 100% sure this is always the desired behavior.

Please note that we have two different localized elements (for floating
numbers) here:
- decimal separator (floating numbers only)
- thousand separator


-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Tobias Wendorff
Am Fr, 29.06.2018, 11:28 schrieb Andreas Wicht:
>> QGIS now respects user's locale taken from the operating system
>> settings, you can choose a different thousand separator or omit it
>> completely by modifying the settings in your operating system (QGIS
>> restart is required).
>>
>> Eventually, we could implement these settings as overrides at the
>> application level for a more fine grained control.

Sorry for hijacking this thread. Where can I find the setting?


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

Re: [Qgis-user] qgis.networkanalysis missing in QGIS 3

2018-06-29 Thread DelazJ
Hi all,

Karl, what would be nice once you sort out how the network stuff works in
3.x is to provide an update to the docs repository. These docs (actually
most of the Python Cookbook pages) are outdated because we do not have
python writers that would test and provide new information. So if each of
us that has knowledge on an area provides updates on the few he knows, I
think this big issue will be quickly fixed and we avoid people
complain/lose their time on this.

To fix a doc: simply use the FixMe link at the bottom of the page (
https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/network_analysis.html
in this case) and if you have a github account, modify the text and send a
pull request (guidelines are available at
https://docs.qgis.org/testing/en/docs/documentation_guidelines/first_contribution.html
)
If for any reason you really do not want to create a GitHub account, we
also value raw text: do the changes in a text editor and send it to the
list. Less straightforward for us to integrate but still better than
nothing.

Looking forward

Greetings,
Harrissou

2018-06-26 23:36 GMT+02:00 Nyall Dawson :

> On Wed, 27 Jun 2018 at 03:04, karlg  wrote:
>
> > I remind you this is a "user" forum. I have posted a problem in detail
> and
> > explained what I have tried. The norm, in StackExchange, etc etc is for
> > those with knowledge to provide an answer if they have one. Don't tell
> me to
> > RTFM, there isn't a valid one.
> >
>
> Sorry - we often come across as blunt on these mailing lists because a
> lot of us subscribe to a "better a short reply than no reply", and
> we've only got time for short replies!
>
> So here's my short reply ;) A good resource is to look at what the
> processing algorithms and unit tests do . In this case look at:
>
> https://github.com/qgis/QGIS/blob/master/python/plugins/
> processing/algs/qgis/ShortestPathPointToPoint.py
>
> Which more or less gives a complete working example of how to use these
> classes.
>
> Nyall
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Andreas Wicht
> QGIS now respects user's locale taken from the operating system settings, you 
> can choose a different thousand separator or omit it completely by modifying 
> the settings in your operating system (QGIS restart is required).
>
> Eventually, we could implement these settings as overrides at the application 
> level for a more fine grained control.

Would it be possible to implement this only to influence the
representation of the number? This is how I see other software
products have solved this issue. Separators being copied is probably
very rarely desired by the user.

greetings
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Alessandro Pasotti
On Fri, Jun 29, 2018 at 10:48 AM, Michael Schulz 
wrote:

> Hi,
>
> short question: in the attribute table of a database (pg) query layer,
> that has an integer field, the values are displayed with a thousand
> separator (1.003 instead of 1003). Is this new in QGIS 3.2? It's kind of
> annoying, because if you copy the value, the separator is copied as well,
> so you cannot paste it and use it directly in another query...
>


Yes: this is new in 3.2 and was aimed to reduce inconsistencies in number
representation though all QGIS application.

QGIS now respects user's locale taken from the operating system settings,
you can choose a different thousand separator or omit it completely by
modifying the settings in your operating system (QGIS restart is required).

Eventually, we could implement these settings as overrides at the
application level for a more fine grained control.

Cheers

-- 
Alessandro Pasotti
w3:   www.itopen.it
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] qgis 3.2 attribute table thousand separator

2018-06-29 Thread Michael Schulz
Hi,

short question: in the attribute table of a database (pg) query layer, that
has an integer field, the values are displayed with a thousand separator
(1.003 instead of 1003). Is this new in QGIS 3.2? It's kind of annoying,
because if you copy the value, the separator is copied as well, so you
cannot paste it and use it directly in another query...

Thanks, Michael
-- 
---
Michael Schulz
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] cadtools QGIS3

2018-06-29 Thread Jonathan ALLAIN
 
Hello,

Will the CadTools plugins be ported to Qgis3 ?

It's a very useful and effective plugin.

Regards.

Jonathan ALLAIN
 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3 Processing question

2018-06-29 Thread Frank Broniewski
Hi Nyall,

thanks a ton for your response. I am well know for making things tricky for 
myself 😃
Anyway, my testing-algorithm-script is still not working. It runs through, but 
I do not get the expected result loaded into the layer tree. I suppose it runs 
through - the  output from the 'qgis:pointsalonglines' is a QgsVectorLayer - 
but after finishing I get nuthink back.

Here's my complete script: You'll need a temporary polygon layer in a projected 
CRS (I use EPSG:31466) for it to work nicely. Copy & Paste it into a new script 
window and run it. I simply don't find the reason why the point result layer 
isn't loaded into my layer tree ...


from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsApplication,
   QgsProcessing,
   QgsFeatureSink,
   QgsProcessingAlgorithm,
   QgsProcessingParameterFeatureSource,
   QgsProcessingParameterNumber,
   QgsProcessingParameterFeatureSink)

import processing


class PolygonCenterline(QgsProcessingAlgorithm):

INPUT = 'INPUT'
DISTANCE = 'DISTANCE'
OUTPUT = 'OUTPUT'

def tr(self, text):
return QCoreApplication.translate('Processing', text)

def createInstance(self):
return PolygonCenterline()

def group(self):
return self.tr('Cartography')

def groupId(self):
return 'cartography'

def name(self):
return 'polygoncenterline'

def displayName(self):
return self.tr('Calculate a polygon centerline')

def initAlgorithm(self, config=None):
self.addParameter(
QgsProcessingParameterFeatureSource(
self.INPUT,
self.tr('Vector Polygon Layer'),
[QgsProcessing.TypeVectorPolygon]
)
)

self.addParameter(
QgsProcessingParameterNumber(
self.DISTANCE,
self.tr('Point distance value'),
type=QgsProcessingParameterNumber.Double,
minValue=10.0
)
)

self.addParameter(
QgsProcessingParameterFeatureSink(
self.OUTPUT,
self.tr('Center line')
)
)

def processAlgorithm(self, parameters, context, feedback):
# qgis:pointsalonglines
params = {
'INPUT': parameters[self.INPUT], 
'DISTANCE': parameters[self.DISTANCE],
'START_OFFSET': 0,
'END_OFFSET': 0,
'OUTPUT': 'memory:'
}
points = processing.run(
'qgis:pointsalonglines', 
params, context=context, feedback=feedback
)['OUTPUT']

return {self.OUTPUT: points}




-Ursprüngliche Nachricht-
Von: Nyall Dawson  
Gesendet: Freitag, 29. Juni 2018 01:04
An: Frank Broniewski 
Cc: qgis-user 
Betreff: Re: [Qgis-user] QGIS 3 Processing question

On Fri, 29 Jun 2018 at 07:14, Frank Broniewski  
wrote:
>
> def processAlgorithm(self, parameters, context, feedback):


You're making this tricky for yourself! Cut out everything in processAlgorithm 
related to self.INPUT, and just pass the parameter value direct to the child 
algorithm to handle:

> params = {
>
> 'INPUT': parameters[self.INPUT],
>
> 'DISTANCE': pt_value,
>
> 'START_OFFSET': 0,
>
> 'END_OFFSET': 0,
>
> 'OUTPUT': 'memory:'
>
> }


Nyall


smime.p7s
Description: S/MIME cryptographic signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Weird bug with view in postgresql

2018-06-29 Thread Rémi Desgrange
Hi,

We are using views to display data « nicely » to user in qgis. This views have 
INSERT/UPDATE/DELETE INSTEAD OF trigger ex: 

CREATE TABLE myCable(
cab_id uuid primary key default uuid_generate_v4(),
cab_usefull_column text,
the_geom geometry(LineString, 2154)
);

CREATE VIEW vw_myCable AS SELECT * FROM myCable;

CREATE FUNCTION f_insert_via_trig_mycable() RETURNS TRIGGER
LANGUAGE plpgsql AS $$
BEGIN 
--useful stuff and finaly
INSERT INTO myCable (cab_id, cab_usefull_column, the_geom) VALUES 
(NEW.cab_id, NEW.cab_usefull, NEW.the_geom);
END;
$$;

CREATE TRIGGER insert_mycable_trig INSTEAD OF INSERT ON myCable FOR EACH ROW 
EXECUTE PROCEDURE f_insert_via_trig_mycable();

Same stuff for update and delete.

Ok so pretty normal stuff. Now the weird part happens. Some person in my org 
(not always the same) tell me that, sometimes (that’s not good… regularly, I 
experienced it myself) when they create (INSERT) or modify (UPDATE) a geometry 
they can’t select it after creation/update. They have to restart Qgis, and this 
is not good ☹. I’m wondering why this stuff happen… Maybe it’s because 
inserting stuff takes long time (db speaking : >100ms, <200ms). They don’t have 
this kind of problem with non-view layer. I activated “log_statement=all” in 
postgresql to see what happen but I cannot activate it all day on production. 
Maybe this is a problem because 


If you have any insight on this… 

In advance thanks.

We are using postgresql 10, but this behavior happens in pg 9.4/9.5 and 9.6 too.


Sincelery, Rémi Desgrange

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

[Qgis-user] Demo application for G3W-SUITE

2018-06-29 Thread Walter Lorenzetti

Hi users, hi developers,

in past May we introduce you a new suite application to publish QGIS 
projects on web using QGIS-Server.


https://lists.osgeo.org/pipermail/qgis-user/2018-May/042280.html

https://lists.osgeo.org/pipermail/qgis-developer/2018-May/053171.html

You rightly ask us a demo applications, sorry for delay but now we have 
a demo for You :)


https://demo.g3wsuite.it/

You can try this demo, using demo data that we prepared for your test, 
and following instructions on this web page


https://g3wsuite.gis3w.it/demo/

I hope you enjoy it, feedback are welcome.

Bye

W

--

Walter Lorenzetti phD
email: lorenze...@gis3w.it
skype: aiki74
twitter:w_lorenzetti 
g+:aiki74 
Tel/Cell: (+39) 347-6597931
Viale Verdi 24 - 51016 Montecatini Terme (PT)
Nuovi corsi QGIS e GFOSS 



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