Re: [Qgis-user] Where is georeferencer plugin in QGIS 3 ?

2018-03-09 Thread delazj
Hi all, 

-1 from me to have it enabled by default. Imho It's not a common tool every one 
needs (a niche usage) and as Luigi says, no need to clutter toolbars and menus. 
I can as well find other Core plugins that would deserve being on by default. 
Imho, people should learn that besides QGIS "visible" tools, there are also 
tools they can call "on-demand" and acquire the reflex of checking the 
"Plugins"menu and discover the wonderful world behind. 

Regards, 
Harrissou 
Le 6 mars 2018 10:49 AM, Luigi Pirelli  a écrit :
>
> -1 or -0
>
> a reason is to avoid toolbar cluttering. QGIS is a so multipurpose
> tool that we cannot enable by default any feature (what about eVis for
> example?)
>
> btw, cluttering problem would disappear when we decide to offer a set
> of default profiles or when users will start to be used with profiles.
> Luigi Pirelli
>
> **
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> * 
> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> * Hire me: http://goo.gl/BYRQKg
> **
>
> On 6 March 2018 at 00:35, Nyall Dawson  wrote:
> > On 6 March 2018 at 01:58, Andreas Neumann  wrote:
> >> Hi,
> >>
> >> It is a core plugin. You can enable/disable it in menu "Plugins" --> 
> >> "Manage
> >> and Install Plugins" --> "Installed".
> >>
> >> Once enabled, you find it in menu "Raster" --> "Georeferencer" -->
> >> "Georeferencer".
> >
> > I've been wondering... is there any good reason we don't always enable
> > georeferencer and require users to manually check it on?
> >
> > 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
___
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] Missing plugins on CentOS 7 Linux version of QGIS 2.14.9

2018-03-09 Thread Alexander Bruy
If you go with 2.18, you don't need any of these plugins, as QGIS 2.18
has *native* support for XYZ layers which is much more robust than
plugins.

2018-03-10 9:06 GMT+02:00  :
> Hi,
> You need to set or enable the default plugin repository (see 
> https://docs.qgis.org/testing/en/docs/user_manual/plugins/plugins.html#the-settings-tab)
>
> HTH,
> HarrissouLe 10 mars 2018 5:12 AM, Patrick Dunford  a 
> écrit :
>>
>> Be aware 2.14 is not maintained now, recommend you go for 2.18
>>
>> On 10/03/18 15:19, prospector16 wrote:
>> > I just installed 2.14.9 on CentOS 7 and watched the 30 minute tutorial to 
>> > get
>> > myself going since I have never used a GIS application before.
>> >
>> > I'm looking for plugins to give me the "Web" menu and the base maps from
>> > Google, Openstreetmaps and the likes, but I only see 10 or 12 plugins and
>> > neither of the 2 mentioned in the video for accessing this information :
>> > Open Layers or QuickMapServices.
>> >
>> >
>> >
>> > --
>> > Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
>> > ___
>> > 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 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



-- 
Alexander Bruy
___
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] Missing plugins on CentOS 7 Linux version of QGIS 2.14.9

2018-03-09 Thread delazj
Hi, 
You need to set or enable the default plugin repository (see 
https://docs.qgis.org/testing/en/docs/user_manual/plugins/plugins.html#the-settings-tab)
 

HTH, 
HarrissouLe 10 mars 2018 5:12 AM, Patrick Dunford  a 
écrit :
>
> Be aware 2.14 is not maintained now, recommend you go for 2.18
>
> On 10/03/18 15:19, prospector16 wrote:
> > I just installed 2.14.9 on CentOS 7 and watched the 30 minute tutorial to 
> > get
> > myself going since I have never used a GIS application before.
> >
> > I'm looking for plugins to give me the "Web" menu and the base maps from
> > Google, Openstreetmaps and the likes, but I only see 10 or 12 plugins and
> > neither of the 2 mentioned in the video for accessing this information :
> > Open Layers or QuickMapServices.
> >
> >
> >
> > --
> > Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> > ___
> > 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 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] Missing plugins on CentOS 7 Linux version of QGIS 2.14.9

2018-03-09 Thread Paolo Cavallini
Il 10/03/2018 05:12, Patrick Dunford ha scritto:
> Be aware 2.14 is not maintained now, recommend you go for 2.18

maybe you didn't install python-qgis?
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-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] Missing plugins on CentOS 7 Linux version of QGIS 2.14.9

2018-03-09 Thread Patrick Dunford

Be aware 2.14 is not maintained now, recommend you go for 2.18


On 10/03/18 15:19, prospector16 wrote:

I just installed 2.14.9 on CentOS 7 and watched the 30 minute tutorial to get
myself going since I have never used a GIS application before.

I'm looking for plugins to give me the "Web" menu and the base maps from
Google, Openstreetmaps and the likes, but I only see 10 or 12 plugins and
neither of the 2 mentioned in the video for accessing this information :
Open Layers or QuickMapServices.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] Missing plugins on CentOS 7 Linux version of QGIS 2.14.9

2018-03-09 Thread prospector16
I just installed 2.14.9 on CentOS 7 and watched the 30 minute tutorial to get
myself going since I have never used a GIS application before.

I'm looking for plugins to give me the "Web" menu and the base maps from
Google, Openstreetmaps and the likes, but I only see 10 or 12 plugins and
neither of the 2 mentioned in the video for accessing this information :
Open Layers or QuickMapServices.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] New User: Cropping makes HUGE files (and I know about COMPRESS-LZW)

2018-03-09 Thread Alex M
Can you supply the bounding box you are using (or the full command).

Also which version of QGIS on which OS?

You are correct that something is odd.

Thanks,
Alex

On 03/09/2018 02:04 PM, Dennis Grant wrote:
> I did that, and I got a file that was 150 Gb (and still growing after an
> hour)
> 
> On Fri, Mar 9, 2018 at 6:01 PM, Alex M  wrote:
> 
>> The Clipper dialog is missing GUI options to set the compression. In the
>> box at the bottom, edit the command to add the following "-co
>> COMPRESS=DEFLATE -co PREDICTOR=2 -co ZLEVEL=9"
>>
>> That will apply compression to the output.
>>
>> Thanks,
>> Alex
>>
>> On 03/09/2018 01:44 PM, Dennis Grant wrote:
>>> Hi all, I have a very specific problem I'm attempting to solve, and I'm
>> sad
>>> to say it has defeated me.
>>>
>>> What I am trying to do is generate a 3D model of the terrain relief in a
>>> certain area so that it can be fed into a CNC machine for subsequent
>>> carving.
>>>
>>> So then, step 1 - get a DEM GEOTIFF from EarthExplorer: done.
>>>
>>> Here's the thumbnail
>>> https://earthexplorer.usgs.gov/browse/srtm_v3/1arc/w067/
>> n45_w067_1arc_v3.jpg
>>> (but I have the actual GEOTIFF too - I know that the thumbnail is not the
>>> GEOTIFF)
>>>
>>> Now what I need to do is crop the area covered by the GEOTIFF down to the
>>> roughly 4 sq km area I want to model.
>>>
>>> So I downloaded and installed qgis for Linux. Add new raster layer using
>>> the downloaded GEOTIFF, and that comes in fine.
>>>
>>> Problem: I can't narrow down the exact area I need. So I installed the
>>> OpenStreetMap plugin and added an OSM layer. Happily, the OSM layer and
>> the
>>> GEOTIFF raster layer line up as expected. So I'm able to adjust the zoom
>>> window to the area I want to carve.
>>>
>>> I go to Raster: Extraction: Clipper. Input file is the downloaded DEM
>>> GEOTIFF. Output file is a filename I pick for the extract. I select the
>>> area I want, and I see that it builds a command line for gdal_translate
>>> accordingly. OK, I get it, QGIS is a graphical front end for command line
>>> tools - that's a common Linux method for building applications. Seen that
>>> before. No worries.
>>>
>>> So then I execute, and after 10 minutes, it still isn't done, and the
>> file
>>> it is building is almost a gigabyte in size.
>>>
>>> Stop process, google for "qgis extract huge files" and I find that the
>>> issue is likely compressed vs uncompressed TIFF, and there are a couple
>> of
>>> options to feed gdal_translate to turn on compression (via the little
>>> pencil icon) OK, add that, and set it off.
>>>
>>> Come back an hour later, still not done, and the file is 150 Gb in size.
>>>
>>> Something is not right. The base GEOTIFF is 25 Mb. A drastically cropped
>>> version - even uncompressed - should not be that large.
>>>
>>> This happens even if I delete the OSM layer.
>>>
>>> What is going on here? What have I missed?
>>>
>>> DG
>>>
>>>
>>>
>>> ___
>>> 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] New User: Cropping makes HUGE files (and I know about COMPRESS-LZW)

2018-03-09 Thread Alex M
The Clipper dialog is missing GUI options to set the compression. In the
box at the bottom, edit the command to add the following "-co
COMPRESS=DEFLATE -co PREDICTOR=2 -co ZLEVEL=9"

That will apply compression to the output.

Thanks,
Alex

On 03/09/2018 01:44 PM, Dennis Grant wrote:
> Hi all, I have a very specific problem I'm attempting to solve, and I'm sad
> to say it has defeated me.
> 
> What I am trying to do is generate a 3D model of the terrain relief in a
> certain area so that it can be fed into a CNC machine for subsequent
> carving.
> 
> So then, step 1 - get a DEM GEOTIFF from EarthExplorer: done.
> 
> Here's the thumbnail
> https://earthexplorer.usgs.gov/browse/srtm_v3/1arc/w067/n45_w067_1arc_v3.jpg
> (but I have the actual GEOTIFF too - I know that the thumbnail is not the
> GEOTIFF)
> 
> Now what I need to do is crop the area covered by the GEOTIFF down to the
> roughly 4 sq km area I want to model.
> 
> So I downloaded and installed qgis for Linux. Add new raster layer using
> the downloaded GEOTIFF, and that comes in fine.
> 
> Problem: I can't narrow down the exact area I need. So I installed the
> OpenStreetMap plugin and added an OSM layer. Happily, the OSM layer and the
> GEOTIFF raster layer line up as expected. So I'm able to adjust the zoom
> window to the area I want to carve.
> 
> I go to Raster: Extraction: Clipper. Input file is the downloaded DEM
> GEOTIFF. Output file is a filename I pick for the extract. I select the
> area I want, and I see that it builds a command line for gdal_translate
> accordingly. OK, I get it, QGIS is a graphical front end for command line
> tools - that's a common Linux method for building applications. Seen that
> before. No worries.
> 
> So then I execute, and after 10 minutes, it still isn't done, and the file
> it is building is almost a gigabyte in size.
> 
> Stop process, google for "qgis extract huge files" and I find that the
> issue is likely compressed vs uncompressed TIFF, and there are a couple of
> options to feed gdal_translate to turn on compression (via the little
> pencil icon) OK, add that, and set it off.
> 
> Come back an hour later, still not done, and the file is 150 Gb in size.
> 
> Something is not right. The base GEOTIFF is 25 Mb. A drastically cropped
> version - even uncompressed - should not be that large.
> 
> This happens even if I delete the OSM layer.
> 
> What is going on here? What have I missed?
> 
> DG
> 
> 
> 
> ___
> 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] New User: Cropping makes HUGE files (and I know about COMPRESS-LZW)

2018-03-09 Thread Dennis Grant
Hi all, I have a very specific problem I'm attempting to solve, and I'm sad
to say it has defeated me.

What I am trying to do is generate a 3D model of the terrain relief in a
certain area so that it can be fed into a CNC machine for subsequent
carving.

So then, step 1 - get a DEM GEOTIFF from EarthExplorer: done.

Here's the thumbnail
https://earthexplorer.usgs.gov/browse/srtm_v3/1arc/w067/n45_w067_1arc_v3.jpg
(but I have the actual GEOTIFF too - I know that the thumbnail is not the
GEOTIFF)

Now what I need to do is crop the area covered by the GEOTIFF down to the
roughly 4 sq km area I want to model.

So I downloaded and installed qgis for Linux. Add new raster layer using
the downloaded GEOTIFF, and that comes in fine.

Problem: I can't narrow down the exact area I need. So I installed the
OpenStreetMap plugin and added an OSM layer. Happily, the OSM layer and the
GEOTIFF raster layer line up as expected. So I'm able to adjust the zoom
window to the area I want to carve.

I go to Raster: Extraction: Clipper. Input file is the downloaded DEM
GEOTIFF. Output file is a filename I pick for the extract. I select the
area I want, and I see that it builds a command line for gdal_translate
accordingly. OK, I get it, QGIS is a graphical front end for command line
tools - that's a common Linux method for building applications. Seen that
before. No worries.

So then I execute, and after 10 minutes, it still isn't done, and the file
it is building is almost a gigabyte in size.

Stop process, google for "qgis extract huge files" and I find that the
issue is likely compressed vs uncompressed TIFF, and there are a couple of
options to feed gdal_translate to turn on compression (via the little
pencil icon) OK, add that, and set it off.

Come back an hour later, still not done, and the file is 150 Gb in size.

Something is not right. The base GEOTIFF is 25 Mb. A drastically cropped
version - even uncompressed - should not be that large.

This happens even if I delete the OSM layer.

What is going on here? What have I missed?

DG
___
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] QGIS3 location error

2018-03-09 Thread Adam Dershowitz
I followed that thread, and it did provide a work around.  
For anyone else who runs into this...I just tried to create an identical CRS to 
the actual one, but without "+nadgrids=@null”.  I then set the source for my 
image to use that custom CRS and now it does display in the correct location.  

Thank you for pointing me in the right direction!  

--Adam



> On Mar 9, 2018, at 1:15 PM, Adam Dershowitz  wrote:
> 
> It looks like currently Macports is using proj 5.0.0 so that is likely the 
> problem.  Ugh.  
> 
> Thanks,
> 
> --Adam
> 
> 
> 
>> On Mar 9, 2018, at 1:07 PM, Richard Duivenvoorde  wrote:
>> 
>> Which version of proj are you using? See the about box of QGIS.
>> 
>> If it is 500, you hit a proj issue, see this thread
>> https://lists.osgeo.org/pipermail/qgis-developer/2018-March/052501.html
>> (or in this list read msgs with subject "proj5 and epsg:3857")
>> 
>> If you have 49* it is another problem.
>> 
>> Regards,
>> 
>> Richard
>> 
>> 
>> 
>> 
>> On 09-03-18 18:47, Adam Dershowitz wrote:
>>> I have a project that I created and have worked with in QGIS2.  I just
>>> tried it in QGIS3, and one of the layers is showing in the wrong
>>> location.  In both cases they show a CRS definition of "+proj=merc
>>> +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0
>>> +units=m +nadgrids=@null +wktext +no_defs"
>>> After doing some testing, and creating a new project, it seems that
>>> there is a single layer that is offset in QGIS3, from the correct
>>> location, by about 500m West and about 20,000m North.  
>>> 
>>> The layer is a JP2 imagery layer, that I downloaded from this link:
>>> https://www.sciencebase.gov/catalog/item/58281f9fe4b01fad870f045f
>>> 
>>> And, here is the information about it:
>>> https://www.sciencebase.gov/catalog/file/get/58281f9fe4b01fad870f045f?f=__disk__76%2F45%2F79%2F7645799634b35663c92271129192d7ff9c4204e0&transform=1&allowOpen=true
>>> 
>>> 
>>> 
>>> As one example, if I use an NAD83 CRS, it shows up as being from
>>> approximately 36.12deg N to about 36.18deg N.  But, according to the
>>> link above, the actual bounding coordinates should be 35.9375 to 36..  
>>> 
>>> Any idea why this won’t show up in the correct location, or what I can
>>> do about it?  
>>> 
>>> I’m using qgis 3.0.0_1 on a Mac that I installed using Macports.
>>> 
>>> Thanks,
>>> 
>>> 
>>> --Adam
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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 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] 3D Surfaces in QGIS3

2018-03-09 Thread Adam Dershowitz
One of the features that I was most excited about for QGIS3 was 3D views.  One 
of my projects has 3D polygons above the ground elevation surface, and I was 
hoping to display them in QGIS. 
I figured out that I need to change the layer properties->3D View and Enable 3D 
render.  Now, it does display the polygon in space.  But, the polygon is always 
fully opaque.  If I change the layer opacity, it does change the opacity of the 
projection of the polygon on the ground, but not of the actual polygon in 
space.  
Is there anyway to change the opacity of the polygon in 3D space, so I can see 
the ground through it?

Thanks,

--Adam



___
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] Why is pandas not part of the QGIS python package?

2018-03-09 Thread Chris Crook
Hi

If you are using windows I believe pandas is available as a library with 
osgeo4w (https://trac.osgeo.org/osgeo4w/ticket/472).  I guess the question 
relates to the Windows standalone installer?

Cheers
Chris

From: Qgis-user [qgis-user-boun...@lists.osgeo.org] on behalf of Nyall Dawson 
[nyall.daw...@gmail.com]
Sent: 09 March 2018 14:04
To: Ivan Dochev
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Why is pandas not part of the QGIS python package?

On 8 March 2018 at 22:30, Ivan Dochev  wrote:
> Hi,
>
>
> I apologize if this was already discussed, but is there a specific reason
> why pandas isn't part of the QGIS python distribution? I saw a couple of
> discussions on how to get it installed, however every dependency
> installation lowers the "user-friendliness" - imagine I write a script,
> format it is a processing tool and send it someone, explaining that he/she
> has to install dependencies is an additional step, which could,
> theoretically, be avoided...
>
> Pandas is an extremely wide used library, so this must have already come up?

I think you're mixing some things up -- there's no such thing as a
"QGIS python distribution".

If you're running a linux distro then python libraries can be
installed using your normal distro package installer. If instead
you're referring to the Windows build then you'll need to raise this
with the osgeo4w project and get pandas packaged there.

If you're using a mac... I'd just dual boot and save yourself a
billion issues and much frustation.*

Regards,
Nyall

* My opinion. Not that of the project.
___
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



This message contains information, which may be in confidence and may be 
subject to legal privilege. If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message. If you have received 
this message in error, please notify us immediately (Phone 0800 665 463 or 
i...@linz.govt.nz) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
___
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] QGIS3 location error

2018-03-09 Thread Adam Dershowitz
It looks like currently Macports is using proj 5.0.0 so that is likely the 
problem.  Ugh.  

Thanks,

--Adam



> On Mar 9, 2018, at 1:07 PM, Richard Duivenvoorde  wrote:
> 
> Which version of proj are you using? See the about box of QGIS.
> 
> If it is 500, you hit a proj issue, see this thread
> https://lists.osgeo.org/pipermail/qgis-developer/2018-March/052501.html
> (or in this list read msgs with subject "proj5 and epsg:3857")
> 
> If you have 49* it is another problem.
> 
> Regards,
> 
> Richard
> 
> 
> 
> 
> On 09-03-18 18:47, Adam Dershowitz wrote:
>> I have a project that I created and have worked with in QGIS2.  I just
>> tried it in QGIS3, and one of the layers is showing in the wrong
>> location.  In both cases they show a CRS definition of "+proj=merc
>> +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0
>> +units=m +nadgrids=@null +wktext +no_defs"
>> After doing some testing, and creating a new project, it seems that
>> there is a single layer that is offset in QGIS3, from the correct
>> location, by about 500m West and about 20,000m North.  
>> 
>> The layer is a JP2 imagery layer, that I downloaded from this link:
>> https://www.sciencebase.gov/catalog/item/58281f9fe4b01fad870f045f
>> 
>> And, here is the information about it:
>> https://www.sciencebase.gov/catalog/file/get/58281f9fe4b01fad870f045f?f=__disk__76%2F45%2F79%2F7645799634b35663c92271129192d7ff9c4204e0&transform=1&allowOpen=true
>> 
>> 
>> 
>> As one example, if I use an NAD83 CRS, it shows up as being from
>> approximately 36.12deg N to about 36.18deg N.  But, according to the
>> link above, the actual bounding coordinates should be 35.9375 to 36..  
>> 
>> Any idea why this won’t show up in the correct location, or what I can
>> do about it?  
>> 
>> I’m using qgis 3.0.0_1 on a Mac that I installed using Macports.
>> 
>> Thanks,
>> 
>> 
>> --Adam
>> 
>> 
>> 
>> 
>> 
>> ___
>> 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] QGIS3 location error

2018-03-09 Thread Richard Duivenvoorde
Which version of proj are you using? See the about box of QGIS.

If it is 500, you hit a proj issue, see this thread
https://lists.osgeo.org/pipermail/qgis-developer/2018-March/052501.html
(or in this list read msgs with subject "proj5 and epsg:3857")

If you have 49* it is another problem.

Regards,

Richard




On 09-03-18 18:47, Adam Dershowitz wrote:
> I have a project that I created and have worked with in QGIS2.  I just
> tried it in QGIS3, and one of the layers is showing in the wrong
> location.  In both cases they show a CRS definition of "+proj=merc
> +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0
> +units=m +nadgrids=@null +wktext +no_defs"
> After doing some testing, and creating a new project, it seems that
> there is a single layer that is offset in QGIS3, from the correct
> location, by about 500m West and about 20,000m North.  
> 
> The layer is a JP2 imagery layer, that I downloaded from this link:
> https://www.sciencebase.gov/catalog/item/58281f9fe4b01fad870f045f
> 
> And, here is the information about it:
> https://www.sciencebase.gov/catalog/file/get/58281f9fe4b01fad870f045f?f=__disk__76%2F45%2F79%2F7645799634b35663c92271129192d7ff9c4204e0&transform=1&allowOpen=true
> 
> 
> 
> As one example, if I use an NAD83 CRS, it shows up as being from
> approximately 36.12deg N to about 36.18deg N.  But, according to the
> link above, the actual bounding coordinates should be 35.9375 to 36..  
> 
> Any idea why this won’t show up in the correct location, or what I can
> do about it?  
> 
> I’m using qgis 3.0.0_1 on a Mac that I installed using Macports.
> 
> Thanks,
> 
> 
> --Adam
> 
> 
> 
> 
> 
> ___
> 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] QGIS3 location error

2018-03-09 Thread Adam Dershowitz
I have a project that I created and have worked with in QGIS2.  I just tried it 
in QGIS3, and one of the layers is showing in the wrong location.  In both 
cases they show a CRS definition of "+proj=merc +a=6378137 +b=6378137 
+lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext 
+no_defs"
After doing some testing, and creating a new project, it seems that there is a 
single layer that is offset in QGIS3, from the correct location, by about 500m 
West and about 20,000m North.  

The layer is a JP2 imagery layer, that I downloaded from this link:
https://www.sciencebase.gov/catalog/item/58281f9fe4b01fad870f045f 


And, here is the information about it:
https://www.sciencebase.gov/catalog/file/get/58281f9fe4b01fad870f045f?f=__disk__76%2F45%2F79%2F7645799634b35663c92271129192d7ff9c4204e0&transform=1&allowOpen=true
 



As one example, if I use an NAD83 CRS, it shows up as being from approximately 
36.12deg N to about 36.18deg N.  But, according to the link above, the actual 
bounding coordinates should be 35.9375 to 36..  

Any idea why this won’t show up in the correct location, or what I can do about 
it?  

I’m using qgis 3.0.0_1 on a Mac that I installed using Macports.

Thanks,


--Adam



___
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] Simple QGIS KML/KMZ Import

2018-03-09 Thread C Hamilton
The challenge with KML imports is that its free form nature makes it
difficult to conform to a table. I have large KMLs with nested folder
structures. I find that these large KMLs crash QGIS if I try to import the
entire thing and then each point gets rendered as a separate layer.

It wouldn't be hard to write a script that just pulls out all the
placemarks and writes them to a point layer, lines to a line layer, and
polygons to a polygon layer. What I would loose is the folder structure and
styling, but I could easily process large KMLs. I could consider a field in
the layers that would be a string of the nested folders that each point,
line, polygon were in.

Would this be of interest as a plugin? Is anyone doing this already? There
doesn't appear to be anything in the plugin repository.

Thanks,

Calvin
___
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 custom python function with zero or more args

2018-03-09 Thread Fuenfer-Koenigstein.Benjamin2
Hi Frank,

thanks for your answer! Yes looks like there is no other way but passing empty 
strings. That’s what I wanted to avoid but anyway.

Regards
Benjamin



-Ursprüngliche Nachricht-
Von: Frank Broniewski [mailto:ha...@frankbroniewski.com] 
Gesendet: Freitag, 9. März 2018 11:25
An: Fuenfer-Koenigstein.Benjamin extern IT-LN; Qgis-user@lists.osgeo.org
Betreff: AW: QGIS custom python function with zero or more args

Hi Benjamin,

I don't have a recipe for no argument, but you can pass an empty string as a 
workaround:

@qgsfunction(args="auto", group="Custom") def myfunc(value, feature, parent):
if not value:
value = "Wert"
return value

Dipl. Geogr. Frank Broniewski
Waldhölzbacher Str. 51
66679 Losheim am See
06872 509 068 4
0176 611 26 9 2 6
www.frankbroniewski.com

-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von 
fuenfer-koenigstein.benjam...@swm.de
Gesendet: Freitag, 9. März 2018 09:19
An: Qgis-user@lists.osgeo.org
Betreff: [Qgis-user] QGIS custom python function with zero or more args

Hi all,

I would like to write a custom python function for QGIS 2.18 that takes zero or 
one argument. The reason is that in most cases I can use a default value in the 
function, in some cases I would like to enter the value as argument. For python 
I know that you can prefix args in functions to make them optional, e.g. def 
func(*arg). For QGIS functions this will not work because there always have to 
be the args feature and parent in last two positions. Has anyone experience 
with QGIS functions that take zero or more arguments? Thanks for any help!

Regards
Benjamin
___
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] QGIS-Server: How support label in map-unit in both epsg:4326 and other projected srs

2018-03-09 Thread Andrea Peri
Hi,
I notice that QGIS when rendering a map in a projected srs and has labels
in map-unit need a value like (as example) "7" this need "do a label of 7
and scale it using the scale value.


But when the project is in epsg:4326 (a decimal degree unit system).
The value for the dimension of the labl in map-unit need to be more lower.
Infact using a value like 7 simply is too big and the label do not appear.

Instead appear if I use a value like 0,0004.

These difference are a big trouble when we pass to qgis-server.

Infact a wms allow the requests of map in a projected srs but also in a
geographical srs like epsg:4326.

These mean that a project server with qgis-server , in the label compoenent
dont work both in projected srs and decimal degree srs.

Should need a workaround to change the dimension of label when the user
request switch from a projected to a geographicsl srs.

So I like to know if someone has found some workaround to have this switch
automatically.

Many thx,
Andrea.


-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
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 custom python function with zero or more args

2018-03-09 Thread Frank Broniewski
Hi Benjamin,

I don't have a recipe for no argument, but you can pass an empty string as a 
workaround:

@qgsfunction(args="auto", group="Custom")
def myfunc(value, feature, parent):
if not value:
value = "Wert"
return value

Dipl. Geogr. Frank Broniewski
Waldhölzbacher Str. 51
66679 Losheim am See
06872 509 068 4
0176 611 26 9 2 6
www.frankbroniewski.com

-Ursprüngliche Nachricht-
Von: Qgis-user  Im Auftrag von 
fuenfer-koenigstein.benjam...@swm.de
Gesendet: Freitag, 9. März 2018 09:19
An: Qgis-user@lists.osgeo.org
Betreff: [Qgis-user] QGIS custom python function with zero or more args

Hi all,

I would like to write a custom python function for QGIS 2.18 that takes zero or 
one argument. The reason is that in most cases I can use a default value in the 
function, in some cases I would like to enter the value as argument. For python 
I know that you can prefix args in functions to make them optional, e.g. def 
func(*arg). For QGIS functions this will not work because there always have to 
be the args feature and parent in last two positions. Has anyone experience 
with QGIS functions that take zero or more arguments? Thanks for any help!

Regards
Benjamin
___
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 custom python function with zero or more args

2018-03-09 Thread Stefan Giese (WhereGroup)

Hi Benjamin,
you can do it like this example which only makes a sum of 2 values. Two 
aruments or only one...:

--
@qgsfunction(-1, 'Python')
def add_values( values, feature, parent):
if len(values) == 2:
return values[0]+values[1]
elif len(values) == 1:
return values[0]+5

@qgsfunction(-1, 'Python') says that you will pass a list of arguments 
and the function will be in the Python rider.
In the code, you can check the number of arguments with getting the 
length of the list, and then use your default values...


hope this helps
stefan


---
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
***
Treffen Sie uns auf der
FOSSGIS Konferenz 2018
21.-24. März 2018 in Bonn
https://fossgis-konferenz.de/2018/
***
WhereGroup GmbH & Co. KG
Schwimmbadstr. 2
79100 Freiburg
Germany

Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.gi...@wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
---
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
---

Am 2018-03-09 09:18, schrieb fuenfer-koenigstein.benjam...@swm.de:

Hi all,

I would like to write a custom python function for QGIS 2.18 that
takes zero or one argument. The reason is that in most cases I can use
a default value in the function, in some cases I would like to enter
the value as argument. For python I know that you can prefix args in
functions to make them optional, e.g. def func(*arg). For QGIS
functions this will not work because there always have to be the args
feature and parent in last two positions. Has anyone experience with
QGIS functions that take zero or more arguments? Thanks for any help!

Regards
Benjamin
___
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] QGIS custom python function with zero or more args

2018-03-09 Thread Fuenfer-Koenigstein.Benjamin2
Hi all,

I would like to write a custom python function for QGIS 2.18 that takes zero or 
one argument. The reason is that in most cases I can use a default value in the 
function, in some cases I would like to enter the value as argument. For python 
I know that you can prefix args in functions to make them optional, e.g. def 
func(*arg). For QGIS functions this will not work because there always have to 
be the args feature and parent in last two positions. Has anyone experience 
with QGIS functions that take zero or more arguments? Thanks for any help!

Regards
Benjamin
___
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