Re: [Qgis-user] qgis project to online

2022-11-09 Thread Julien Cabieces via Qgis-user
Hi, You need to install[0] and configure[1] a QGIS server on your server so you can stream the project and its data to your web client using for instance WMS. Your data need to be either on a database (PostGreSQL/PostGIS for instance) or inside files side-by-side with your project file (but it

[Qgis-user] qgis project to online

2022-11-09 Thread Alexandru Munteanu via Qgis-user
Hello everyone! Can somebody, please, provide me with hints and directions on where should i start with understanding on how to make that the projects we work on to be available online, on a web interface? What i understand is that we need a server where the project should be uploaded (which w

Re: [Qgis-user] QGIS project templates and PostGIS connections

2021-11-24 Thread Frank Broniewski
I just wanted to thank you all for your valuable feedback that I received. It's good to have so many, flexible options in QGIS, although the KERBEROS stuff is way over my head :-), but it's good to know that it is possible. Many thanks again, Frank Am 22.11.21 um 20:35 schrieb Frank Bronie

Re: [Qgis-user] QGIS project templates and PostGIS connections

2021-11-23 Thread DelazJ
Hi, Le mar. 23 nov. 2021 à 09:13, Pekka Sarkola a écrit : > Hi Frank and lists members, > > We use to identify different PostgreSQL clusters/databases with > PGServicefile: this gives flexibility to change PostgreSQL cluster and/or > databases without annoying users. Authentication of the users

Re: [Qgis-user] QGIS project templates and PostGIS connections

2021-11-23 Thread Pekka Sarkola
Hi Frank and lists members, We use to identify different PostgreSQL clusters/databases with PGServicefile: this gives flexibility to change PostgreSQL cluster and/or databases without annoying users. Authentication of the users is done via a personal authentication database. Old, but still valid

Re: [Qgis-user] QGIS project templates and PostGIS connections

2021-11-22 Thread Dirk.Pispers
Hi Frank, in our city administration we have many QGIS projects, that are used by a number of different users and includes PostgreSQL-Connections. The way we handle this is that every user creates an authentication configuration with the same id. If you have only one PostgreSQL instance or if u

Re: [Qgis-user] QGIS project templates and PostGIS connections

2021-11-22 Thread Jorge Gustavo Rocha
Hi Frank, There are several options. That's the problem. I use pg_services. Every user has his own pg_service file, with their credentials. Project templates (and common styles) are stored in one specific database, that everybody can read. All Postgis layers are referenced by the service n

Re: [Qgis-user] QGIS project templates and PostGIS connections

2021-11-22 Thread Alessandro Pasotti
Hi Frank, you can safely use a custom authentication ID for the connection (choose something easy to type), then instruct your users to create an authentication configuration with the same ID but with their own credentials. This could be automated at the company level with a custom python init sc

Re: [Qgis-user] QGIS project templates and PostGIS connections

2021-11-22 Thread Bo Victor Thomsen
This answer is somewhat old; there might be a better solution: https://gis.stackexchange.com/questions/247454/simplify-postgis-authentication-process-from-qgis and directory .qgis2 is replaced by a profile directory:  Menu item "Settings"->"Open Active Profile Folder" Med venlig hilsen / Kind

[Qgis-user] QGIS project templates and PostGIS connections

2021-11-22 Thread Frank Broniewski
Hi fellow QGIS user! I am scratching my head on the following problem. I want to create a QGIS project template which has PostGIS layers in it. I want to be able to pass this template to other users who might use them for different tasks. The problem now is the connection string to the PostGI

Re: [Qgis-user] QGIS Project

2018-04-14 Thread Martin Weis
Hello Marco! Am 12.04.2018 um 08:31 schrieb Marco Dinges: > What my question is now about, is that I want to receive position > data (coordinates) from another program (not a GPS) on the raspberry > and track that position on my map. Even better with a visualization > on my desktop. Another thing

[Qgis-user] QGIS Project

2018-04-11 Thread Marco Dinges
Hey everyone, I am new to QGIS and GIS and general and I hope to find some answers for my project. First I want to create my own map with an own coordinate system in QGIS. For this I am working with the training manual right now to get a good overview of everything QGIS has to offer. Afterwards I

Re: [Qgis-user] qgis project with large number of wfs services

2017-09-07 Thread Jorge Gustavo Rocha
Hi Holger, This subject was discussed recently in this list. You can disable the local cache to avoid this issue. try to find the discussion thread. Regards, Jorge Gustavo On 07-09-2017 07:20, Holger Naumann wrote: > Hi list, > I try to load lots of wfs layers to my qgis project. > After some l

[Qgis-user] qgis project with large number of wfs services

2017-09-06 Thread Holger Naumann
Hi list, I try to load lots of wfs layers to my qgis project. After some layers I get a error message. ERROR: Too many connections: max 64 ERROR unable to initialize the SpatiaLite extension: NULL cache !!! ERROR: Too many connections: max 64 ERROR 6: Creating a Spatialite database, but Spatialit

Re: [Qgis-user] QGIS project background colour not appearing in print composer?

2016-09-21 Thread McDonaldR
er 2016 10:15 To: qgis-user@lists.osgeo.org Subject: [Qgis-user] QGIS project background colour not appearing in print composer? Hi I have a non-white project background colour selected in my project but when I open the print composer it doesn't appear to add this onto my map - I am wond

[Qgis-user] QGIS project background colour not appearing in print composer?

2016-09-21 Thread Chris Buckmaster
Hi I have a non-white project background colour selected in my project but when I open the print composer it doesn't appear to add this onto my map - I am wondering is this just how the print composer works, or do I need to enable / configure any additional options so that my project background

[Qgis-user] QGIS project not opening with WMS layer after exporting as PDF in print composer?

2016-07-21 Thread Chris Buckmaster
Hi I came across this problem before in a previous version but seem to be having the same issue in 2.16.0. I have a project with a fairly simple PostGIS polygon layer and a WMS layer - I then use the print composer to compose a basic map, and then export it to a PDF. After saving the project a

Re: [Qgis-user] QGIS project with no projection

2016-05-13 Thread Andrew Harfoot
Hi Simon, Sorry for the confusion - GeoTiff is a standard for embedding the georeferencing information within the tif image file. A GeoTiff will usually contain the CRS information as well. A tfw file is an example of a world file, not a GeoTiff. It is an alternative approach to conveying geo

Re: [Qgis-user] QGIS project with no projection

2016-05-11 Thread Nicolas Cadieux
Hi, I haven't been fowling the thread closely but when I have something to do and don't want it necessarily georeferenced, I just use a local UTM zone in meters... Nicolas On May 11, 2016 05:07, "simonc8 [via OSGeo.org]" wrote: Thanks for

Re: [Qgis-user] QGIS project with no projection

2016-05-11 Thread simonc8
Thanks for all the responses. I've tried the various suggestions but can't get my tiff to import properly without specifying a projection. Even following the steps suggested in Lee Hachadoorian's post the tiff imports and appears to show the correct units in the information bar but when I measure

Re: [Qgis-user] QGIS project with no projection

2016-05-10 Thread Andrew Harfoot
QGIS is configured into a non-earth or local CRS mode by doing the following (in 2.14): 1. Turn off 'On the Fly CRS transformation' (Project > Project Properties > CRS) 2. Ensure that the measurement ellipsoid is set to 'None / Planimetric' (Project > Project Properties > General) 3. Set the c

Re: [Qgis-user] QGIS project with no projection

2016-05-06 Thread Jonathan Moules
There have been some more knowledgeable responses than mine, but they do make me ask: Why doesn't QGIS have a generic Coordinate System for X/Y in meters (and maybe one in feet for the less developed nations ;-) )? It would be particularly useful for non-geographical datasets and would open QGIS

Re: [Qgis-user] QGIS project with no projection

2016-05-06 Thread Andrew Harfoot
Hi Simon, Surely if your image is georeferenced, then it will have been done so to a CRS (not necessarily a projected one though). However, if you don't know the CRS (and it appears that QGIS cannot extract it from the GeoTiff if it is prompting you), but you do know the georeferenced units u

Re: [Qgis-user] QGIS project with no projection

2016-05-06 Thread Lee Hachadoorian
Simon, You *must* specify a projection, but within some limits, the projection doesn't matter. Basically, if the GeoTIFF uses units of meters and you want your distances in meters, you can load the GeoTIFF in *any* projected CRS that uses meters. An example would be to use any of the UTM zones. Yo

Re: [Qgis-user] QGIS project with no projection

2016-05-06 Thread Jonathan Moules
Hi Simon, If you know the real-world width and height of the area covered on the image, could you not geo-reference it to have lower-left at 0,0, and then the top-right at the applicable location in the projection of your choice, and then work from there? The problem is picking an applicable pr

[Qgis-user] QGIS project with no projection

2016-05-06 Thread simonc8
I want to use QGIS to make measurements such as distances and angles on a flat scaled image which I have as a georeferenced tiff. I don't want to use any projection - just a straightforward orthogonal linear scale in metres. QGIS seems to require that I choose a projection. What would be the best c

[Qgis-user] QGIS project with no projection

2016-05-06 Thread simonc8
I want to use QGIS to make measurements on a flat scaled image which I have as a georeferenced tiff. I don't want to use any projection - just a straightforward orthogonal linear scale in metres. QGIS seems to require that I choose a projection. What would be the best choice for my needs? Can I mak

Re: [Qgis-user] QGIS project not opening - print composer issue / bug?

2016-02-26 Thread Goyo
Seems to work for me in master. 2016-02-26 10:24 GMT+01:00 Chris Buckmaster : > Hi > > > > I seem to have found an issue when using the print composer with a WMTS > service which I would just like to know if it’s a bug, or if it might be > something specific to my project / layers. > > > > My scen

[Qgis-user] QGIS project not opening - print composer issue / bug?

2016-02-26 Thread Chris Buckmaster
Hi I seem to have found an issue when using the print composer with a WMTS service which I would just like to know if it's a bug, or if it might be something specific to my project / layers. My scenario is I add a WMTS layer to my project, I then create a print composer window to an A2 page si

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-09 Thread Andrea Peri
Hi , Jurgen, I test it. Now is more quickly. From 7 minutes to about 45 seconds. Really good. ps: the qgis porject I share has some groups with the "mutually exclusive" setting. And notice that with the dev this seem always disabled. I do some more test and open an issue eventually. Thx again.

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-09 Thread kimaidou
Thanks Jürgen for this commit. Michaël 2015-12-09 16:49 GMT+01:00 Jürgen E. : > Hi, > > On Mon, 07. Dec 2015 at 07:58:07 +1100, Nyall Dawson wrote: > > For reference I have a commonly-used WMS where the capabilities request > is > > 9MB. Understandably, this is a significant issue with QGIS usin

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-09 Thread Jürgen E . Fischer
Hi, On Mon, 07. Dec 2015 at 07:58:07 +1100, Nyall Dawson wrote: > For reference I have a commonly-used WMS where the capabilities request is > 9MB. Understandably, this is a significant issue with QGIS using this layer! > I've learnt to live with it, but a cache would be VERY much appreciated. As

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-06 Thread Nyall Dawson
On 7 December 2015 at 00:31, aperi2007 wrote: > Hi, > > When need to add a new wms layer is preferrable to avoid to use the cache > but, instead, do a new getcapabilities request and list the layers as > resulted by the xml response . > Also I guess a the time lost is not only the request/response

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-06 Thread aperi2007
Of course, but the result of the parsing of the getcapabilities response is an umpredictable set of results. So it is very hard to store in a structured cache (aka a db). In a response capabilities of a wms 3.0 thereis many information , all in multeplicitly N. And often optionally. Also there

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-06 Thread Sandro Santilli
On Sun, Dec 06, 2015 at 02:31:52PM +0100, aperi2007 wrote: > Also I guess a the time lost is not only the request/response time, but also > the parsing time of the response. > A cache do not help on this. It can ! Depending on what you cache, you may save either (or both) download and parse time.

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-06 Thread aperi2007
Hi, When need to add a new wms layer is preferrable to avoid to use the cache but, instead, do a new getcapabilities request and list the layers as resulted by the xml response . Also I guess a the time lost is not only the request/response time, but also the parsing time of the response. A c

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-06 Thread kimaidou
Hi all Why not "just" caching the getCapabilities response for the current QGIS session ? This way, if you have 100 layers coming from the same WMS server, only one request will be made when opening the project and the response will be stored in cache and used for other layers. Please open a feat

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread Andrea Peri
For who is interest to test the opening issue on wms layer. This is the link to retrieve the porject I'm using. It is a project for qgis 2.12 using only wms layers. The time to open is about 7 minutes. https://www.dropbox.com/s/he85dwlluvcv4rw/wms_project.zip?dl=0 A. 2015-12-05 23:58 GMT+01:00

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread aperi2007
Hi, I try to change the qgis project setting for the wms url the parameter: "Ignore GetMap/GetTitle URI reported in capabilities" But the sniffer report me that the qgis is still doing the getcapabilities request at start of project. If the getcapability reported url is to be ignored , why i

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread aperi2007
Hi Jurgen, I know that the getmap url, getfeatureinfo ulr and getlegendgraphics url couldbe significative different from the main url for the getcapability request. But when choose the layer I guess in the project was stored the three url. Infact I see in the setting windows for new wms servic

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread Jürgen E . Fischer
Hi Andrea, On Sat, 05. Dec 2015 at 21:34:10 +0100, Andrea Peri wrote: > But when I open a project where the wms layer are just added why do a > getcapabilites request for every wms layer in it ? The capabilities provide the urls for all the other requests (sometimes pointing to other servers and

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread aperi2007
e gis user are capable to understand what mean validate an wms layer. my 02c... Brent Wood *From:* Andrea Peri *To:* aperi2007 ; Jürgen E. ; qgis-user *Sent:* Sunday, December 6, 2015 9:34 AM *Subject:* Re: [Qgis-user

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread Andrea Peri
Hi Sandro, I study better the question and perhas this is more a strange issue. Infact my doub is why is necessary a getCapability request when open a project ? The getcapabilities is need for list the layers, choose the style, choose the srs and retrieve the bounding-box of the layer. All this a

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread Sandro Santilli
On Sat, Dec 05, 2015 at 06:06:05PM +0100, aperi2007 wrote: > https://lists.osgeo.org/pipermail/qgis-user/2015-December/034593.html [..] > Insteal the problem is on the getcapabilites requests. > They are repeated the same for every single wms layer indipendently > if it is coming from the same w

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread aperi2007
Hi jurgen. I have don more test using a sniffer. As report in this https://lists.osgeo.org/pipermail/qgis-user/2015-December/034593.html The qgis do not do any request getlegendgraphics at startup . This is good and well done. Insteal the problem is on the getcapabilites requests. They are repe

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread Jürgen E . Fischer
Hi Andrea, On Sat, 05. Dec 2015 at 12:54:29 +0100, Andrea Peri wrote: > The qgs is calling the same getlegendgraphics 10 times instead of one > only time and reusing the same response for the other 9 wms layers. Isn't the request different for each layer? It should have a LAYERS parameter for e

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-05 Thread Andrea Peri
Hi, I test with a sniffer. So I can exlude the GetLegendGraphics. Infact it is not called at open project, but instead at open of the legend folder. Instead I see from the sniffer that the qgis is calling the getcapabilites one time for every single wms layer. This is a tremendous waste of time.

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-04 Thread Bernhard Ströbl
I was just guessing what _might_ happen. Any chance you can check if QGIS sends GetLegendGraphics or GetCapabilities requests during these five minutes? Bernhard Am 04.12.2015 um 12:18 schrieb Andrea Peri: Oops ! I hope no. :( AFAIK it should retrieve the legend image ONLY when I voluntary o

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-04 Thread Andrea Peri
Oops ! I hope no. :( AFAIK it should retrieve the legend image ONLY when I voluntary open the legend in the tree. Before is often a waste of time. Infact the legends in the wms is changing dipendently the scale of the canvas, and retrieving several hundred of legend at an unuseful scale is unusef

Re: [Qgis-user] QGIS project slow to open when too much wms layers

2015-12-04 Thread Bernhard Ströbl
hi, maybe it tries to get the legend or the layer's bbox so you can zoom to it? just thoughts Bernhard Am 04.12.2015 um 12:06 schrieb Andrea Peri: Hi, I have a project with some hundred of wms layers. All switch off. When I open the project I see it take about 5 minutes to connect all of t

[Qgis-user] QGIS project slow to open when too much wms layers

2015-12-04 Thread Andrea Peri
Hi, I have a project with some hundred of wms layers. All switch off. When I open the project I see it take about 5 minutes to connect all of them. It try to connect to all the layers indipendendl if they are OFF or ON. Is this ok or an issue ? Thx, -- - Andrea Peri . . . .

AW: AW: [Qgis-user] QGis project file with relative paths

2011-05-23 Thread Felix Obermaier
Thanks, that did the trick. Project loads fine Felix Obermaier > -Ursprüngliche Nachricht- > Von: Giovanni Manghi [mailto:giovanni.man...@gmail.com] > Gesendet: Montag, 23. Mai 2011 11:02 > An: Felix Obermaier > Cc: qgis-user@lists.osgeo.org > Betreff: Re: AW: [Qgis-

Re: AW: [Qgis-user] QGis project file with relative paths

2011-05-23 Thread Giovanni Manghi
On Mon, 2011-05-23 at 10:52 +0200, Felix Obermaier wrote: > Sorry, I must have missed that, but where do I have to find that option? > If I do it that way, does the project load properly from within QGis? > Thanks in advance project properties -> general -> save paths

AW: [Qgis-user] QGis project file with relative paths

2011-05-23 Thread Felix Obermaier
ontag, 23. Mai 2011 10:24 > An: Felix Obermaier > Cc: qgis-user@lists.osgeo.org > Betreff: Re: [Qgis-user] QGis project file with relative paths > > On Mon, 2011-05-23 at 10:15 +0200, Felix Obermaier wrote: > > Hello all, > > I have set-up my project file with a bunch of sha

Re: [Qgis-user] QGis project file with relative paths

2011-05-23 Thread Giovanni Manghi
On Mon, 2011-05-23 at 10:15 +0200, Felix Obermaier wrote: > Hello all, > I have set-up my project file with a bunch of shapefiles. > I have removed absolute paths from the *.qgs file with an external editor. you don't need to do it the hard way, there is an option in qgis to use relative paths.

Re: [Qgis-user] QGis project file with relative paths

2011-05-23 Thread Werner Macho
Hi! Which QGIS Version? Which operating System? Is Save paths set to "relative" or "absolute" in General of the Project Properties or did you just change the .qgis project file? I never changed something in the .qgs file - but everything works nice for me if i set Save paths to relative ..

[Qgis-user] QGis project file with relative paths

2011-05-23 Thread Felix Obermaier
Hello all, I have set-up my project file with a bunch of shapefiles. I have removed absolute paths from the *.qgs file with an external editor. Now I'm experiencing the following: If I double-click the *.qgs file in the explorer, QGis opens it up and shows everything nicely. If I open the same fi