[Qgis-user] Problem Classifying A Layer in a File Geodatabase

2015-07-17 Thread Bruce, Bob (CWS)
I am using QGIS 2.10.0-Pisa QGIS code revision 
a486c7chttps://github.com/qgis/QGIS/commit/a486c7c obtained from an OSGEO4W 
download a week ago on a Windows 7 system and when I try and classify a polygon 
feature class from a file geodatabase I do not get a classification based on 
actual field values. However when I query the layer in QGIS I see the actual 
field values. So there seems to be a problem with the layer classification in 
my file geodatabase. There are 143453 polygons in the layer, it has several 
coded domains, the field that I am

trying to classify is assigned to one of those domains.



I am able to successfully classify the layer in ArcMap.



Has anyone else has problems classifying a file geodatabase polygon vector 
layer in QGIS?



Thanks in advance for your help.



Bob Bruce

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Mosaicking aerial images

2014-12-10 Thread Bruce, Bob (CWS)
Hi Andreas,

I wrote a QGIS python plugin a number of years ago for merging overlapping 
imagery, it can be found at: http://www.mappinggeek.ca/QGISPythonPlugins/ under 
the title Image Clipper. I developed it for my day job where our map/photo 
sales people wanted to georeferenced and merge aerial photography for map photo 
bases. Our staff continue to use this plugin to merge georeferenced 
photography. This plugin has never been upgraded to QGIS version 2, at some 
point I would like to tackle that but I haven't done any python development in 
QGIS for a couple of years so I'm leery of that.

You might want to investigate OSSIM as I believe that it has tools for merging 
and colour balancing of overlapping images.

Bob Bruce

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: December-10-14 12:38 PM
To: Michael Treglia
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Mosaicking aerial images

Hi,

The correlator project sort of does what I need, however, probably without 
blending/fusing. On the other hand my images are already very well 
georeferenced (with thin-plate spline and around 1000 points per
image) - so not really a need to correlate.

So I am actually more looking for a blending/fusing app that keeps 
georeferencing.

I will probably ask at the gdal list as well to see if someone has an idea.

For my panoramic photography I use either hugin or autopano giga. Both do an 
excellent job with blending, but I fear they would delete my georeferencing 
data and I don't know if they can handle the big files I have.

Andreas

Am 2014-12-10 19:21, schrieb Michael Treglia:
 Hi Andreas,
 
 I'm Bringing this back to the list, as others here probably have some 
 better thoughts than I do.  Googling around, I found this tool which 
 might be useful (?), though I can't tell how it handles overlaps 
 [haven't even downloaded it...]:
 https://trac.osgeo.org/gdal/wiki/Correlator [4]
 
 Not sure about enblend (can't access the site right now)
 
 Depending on how different the images are, you could just try 
 mosaicing and see what it looks like (gdal_merge takes the values of 
 last image added for overlaps).  If there's a way to standardize color 
 values based on brightness, or by RGB bands, that might help, either 
 before or after mosaicing. (might depend on if you're dealing with 
 multi-band image, or single band? - it would be fairly easy on 
 multi-band like Landsat)
 
 Hope that helps,
 mike
 
 On Wed, Dec 10, 2014 at 9:28 AM, Andreas Neumann a.neum...@carto.net
 wrote:
 
 Hi Michael,
 
 I have 4 images with approx 30% overlap in each axis (north/east).
 I would like to mosaic the images to get a single big images covering 
 the full area.
 
 I hope that the images are nicely blended into each other so I don't 
 see the the seam/border of the original images - I was hoping to get 
 something similar to enblend/enfuse
 (http://enblend.sourceforge.net [1]). I don't think that 
 enblend/enfuse keeps my georefencing - or does it?
 
 Andreas
 
 On 10.12.2014 16:10, Michael Treglia wrote:
 
 Hi Andreas,
 
 Do you mean that you want to effectively create a stack of rasters 
 (i.e., multi-band raster)? If not, we might need some more details.
 
  If so, the Raster Merge operation (using gdal_warp) should work - go 
 to Raster - Miscellaneous - Merge, and check the box for Layer 
 Stack (http://www.gdal.org/gdal_merge.html [2]).
 
 You can also do that in SAGA via Import/Export - GDAL/OGR - GDAL:
 Export Raster, and add multiple grids, though this is a bit more 
 constrained and I think needs to have all layers in the same 
 Resolution.
 
 This is also do-able in R using the Raster package, look into 
 brick, stack, and writeRaster
 
 hope that helps,
 Mike
 
 On Wed, Dec 10, 2014 at 8:00 AM, Andreas Neumann 
 a.neum...@carto.net wrote:
 Hi,
 
 I georeferenced four overlapping aerial images - with QGIS/GDAL and 
 the thin plate spline method. Now I want to mosaick/blend the 
 overlapping images. Are there any good FOSSGIS tools available that 
 support mosaicking with blending? Perhaps with SAGA/GRASS/OTB? Any 
 recommendations?
 
 Thanks for any pointers/tutorials.
 
 Andreas
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user [3]
 
 
 
 Links:
 --
 [1] http://enblend.sourceforge.net
 [2] http://www.gdal.org/gdal_merge.html
 [3] http://lists.osgeo.org/mailman/listinfo/qgis-user
 [4] https://trac.osgeo.org/gdal/wiki/Correlator
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Problem with WMS in QGIS 2.2

2014-05-14 Thread Bruce, Bob (CWS)
Richard,
 thanks so much. It works great.
Bob Bruce

From: Richard Duivenvoorde [rdmaili...@duif.net]
Sent: May 14, 2014 1:14 PM
To: Bruce, Bob (CWS); Qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Problem with WMS in QGIS 2.2

Hi Bob,

Looking into to he capabilities of the first one:

http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?request=getCapabilities

You can see that the online resource is pointing to:
  http://nlwis-agprd0p.agr.gc.ca/arcgis
which is for you/me not available (but seems to be an internal address
or so??)

In QGIS output, I can see it tries to pull this url:

http://nlwis-agprd0p.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?SERVICE=WMSVERSION=1.3.0REQUEST=GetMapBBOX=48.950220162,-101.717164428,52.395249721,-97.750967283CRS=EPSG:4326WIDTH=808HEIGHT=703LAYERS=IMG_MB_ORTHO_50CM_2009STYLES=FORMAT=image/jpegDPI=96MAP_RESOLUTION=96FORMAT_OPTIONS=dpi:96

BUT: a lot of WMS servers are not configured ok, so QGIS has an option
to ignore the url's in the capabilities, but actually use the same host
as the capabilities come from:

In the WMS connection parameters, click the two check boxes:

[v] Ignore GetMap/GetTile URI reported in capabilities
[v] Ignore GetFeatureInfo URI reported in capabilities

THEN I get a map \o/

You can also contact them, and ask them to configure their wms with the
right online resource url ( and ask them to move from arcgis to
qgisserver ;-) ).

Regards,


Richard Duivenvoorde





On 14-05-14 19:09, Bruce, Bob (CWS) wrote:
 I am having a problem access some WMS servers in QGIS. Could someone
 else please have a look at this to see if I am doing something wrong or
 if there is a problem with QGIS?



 I am using QGIS 2.2.0-Valmiera



 I have got it to work on one WMS server, but when I try and connect to:



 http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer



 it shows it connected and I can add the layer to my view but when I try
 and draw it no map image returns.



 When I try a URL request for a map image to that WMS I do get one, here
 is an example:



 http://atlas.agr.gc.ca/arcgis/services/ImageServices/IMG_MB_ORTHO_50CM_2009/ImageServer/WMSServer?service=WMSrequest=GETMAPversion=1.3.0crs=EPSG:26914format=image/jpeglayers=IMG_MB_ORTHO_50CM_2009styles=transparent=falsebbox=336636.55,5539116.4,349496.46,5550523.7width=902height=801



 so I am stumped as to why I don't see anything in QGIS. I have tried to
 be careful and select the same CRS and image type as the one in my URL
 above and my project is set to the same CRS but still no map image returns.



 Is this a QGIS problem or something that I'm doing?



 thanks,

Bob Bruce



 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] WMTS

2013-08-08 Thread Bruce, Bob (CWS)
Jonathon,
I agree that it would be preferable to have a button to choose 
a WMTS connection. This would help the user to know for sure which service that 
they are selecting. And it would sure help me because my standard base URL is 
the same for WMTS and for WMS. However I have been waiting for awhile to see 
WMTS working in QGIS so I'm happy to see it here in some (if not an ideal) 
fashion.

Bob Bruce

From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Jonathan Moules
Sent: August-07-13 5:58 AM
To: Paolo Cavallini
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] WMTS

Is this something that should be documented though? That suggests this is 
desired behaviour.
As a user I'd expect QGIS to:
a) Figure it out automatically.
or 
b) Have a separate button for WMTS.

Requiring a user to add stuff to the URL is very suboptimal.

Jonathan

On 7 August 2013 06:09, Paolo Cavallini cavall...@faunalia.it wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 07/08/2013 01:01, Bruce, Bob (CWS) ha scritto:
 Thanks everyone for your input on this. The solution for this is to
 add the strings SERVICE=WMTSREQUEST=GetCapabilites to the URL for
 the WMTS.

 This seems to 'tell' QGIS to use WMTS instead of WMS.
Hi Bob,
could you please check that this is correctly documented in the new
manual?
Thanks.

- --
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlIB1o8ACgkQ/NedwLUzIr4VKwCgq2k0CX/OODYxD6z9XMB7Vwad
gTMAoJiWfcGD3sMTUoq8uIiSwnPrxGUz
=0y/E
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] WMTS

2013-08-06 Thread Bruce, Bob (CWS)
Thanks everyone for your input on this. The solution for this is to add the 
strings SERVICE=WMTSREQUEST=GetCapabilites to the URL for the WMTS.

This seems to 'tell' QGIS to use WMTS instead of WMS.

This only worked for me in the latest master (1.9.0-354) version of QGIS.

Bob Bruce

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Bruce, Bob (CWS)
Sent: August-02-13 2:59 PM
To: 'Andreas Neumann'; 'Jonathan Moules'
Cc: 'qgis-user@lists.osgeo.org'; 'ekeig...@cubewerx.com'
Subject: Re: [Qgis-user] WMTS

Andreas,

I have a WMTS connection to try:

http://nis.cubewerx.com/cubewerx/cubeserv?CONFIG=OIM_MB_-_Orthophoto-WMTS

this is an OGC compliant WMTS server.

(the GetCapabilities request is at: 
http://nis.cubewerx.com/cubewerx/cubeserv?CONFIG=OIM_MB_-_Orthophoto-WMTSSERVICE=WMTSREQUEST=GetCapabilities
 )

this is part of our NIS pilot project and will be available for another 3 
months.

Unfortunately I have not been able to get this to work with either the stable 
version of QGIS 1.8.0 or the current development version of 1.9.

I am able to get this WMTS server to work with OpenLayers though through a web 
page that I have created.

Do you know how QGIS detects that this is a WMTS connection since we are using 
the WMS connection dialog? I am seeing error messages that keep saying that a 
WMS connection could not be established, is that because the error message is 
currently not specific to the type of connection (WMS or WMTS)  or because it 
didn't try and make a WMTS connection?

Thanks,
Bob Bruce

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: August-02-13 7:12 AM
To: Jonathan Moules
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] WMTS

 Hi Jonathan,

 Perhaps it would make sense to go the extra mile and either test  another 
Geoserver WMTS or make your WMTS server publically available (at  least in a 
password protected manner) - so that people can test it.

 Although WMTS is standardized there are often minor issues that prevent  
particular implementations from working. I know that WMTS is working in  
general. I was able to test it against an Intergraph-based WMTS server -  but I 
do not have a Geoserver instance at hand.

 Andreas

 On Fri, 2 Aug 2013 12:29:18 +0100, Jonathan Moules wrote:
 Hi Andreas,
 Yep, it's a local URL; that hostname is on our local DNS for our 
 mapping systems. The URL is correct; it works fine in ArcMap as noted.

 My QGIS cannot connect to the internet so I can't test with external 
 datasets; QGIS's proxy setup doesn't like our proxy.

 I held off reporting as a bug because I didn't know if I was doing 
 something wrong and there's no error.
 Can other folks connect to a GeoServer WMTS?

 Thanks,
  Jonathan

 On 2 August 2013 12:25, Andreas Neumann  wrote:

 Hi Jonathan,

 Are you sure that the URL is correct? It seems that this server is 
 only available locally. At least it is not a publically available and 
 correct URL.

 If you think there is a bug in QGIS, please write a bug report and 
 provide a test URL.

 Andreas

 On Fri, 2 Aug 2013 11:51:55 +0100, Jonathan Moules wrote:

 Thanks Andreas;

 I'd suggest changing the following text:
 - Tooltip
 - dialog header
 - Help (may be changed, but my help doesn't load right now!)

 =

 Beyond that, it doesn't seem to work. I add my connection 
 (http://compass/geoserver/gwc/service/wmts [8] [8]), and then when I 
 click

 connect it swaps to the server search tab. But there's nothing 
 listed. I didn't tick any of the boxes.

 GeoServer 2.3.4 WMTS.
 ArcMap can connect to it, so I know it's not a problem with the 
 WMTS.

 How do I get it to work?

 It does connect to my WMS fine.

 Thanks,
 Jonathan

 On 2 August 2013 10:52, Andreas Neumann  wrote:

 And this is already fixed in Master - see
 http://hub.qgis.org/issues/8396 [5] [5] - thanks to Jürgen.

 Andreas

 On Fri, 02 Aug 2013 11:29:39 +0200, Andreas Neumann wrote:

 Hi Jonathan,

 You just use the WMS connection dialogue. It also works for WMTS.

 I am now opening a bug to change the Add WMS layer into Add 
 WMS/WMTS layer. This should make things clearer to the users.

 Andreas

 On Thu, 1 Aug 2013 11:42:50 +0100, Jonathan Moules wrote:

 Hi List,
 How do I use WMTS in QGIS (weekly build)?

 I've tried searches on:

         * qgis.org [1] [1] [1] - no results

         * wiki - no results
         *
 http://docs.qgis.org/2.0/html/en/docs/user_manual [2] [2] [2] - 
 one

 results
 about caches.
         * plugs.qgis - no results

 Thanks,
 Jonathan
  This transmission is intended for the named addressee(s) only 
 and may contain sensitive or protectively marked material up to 
 RESTRICTED and should be handled accordingly. Unless you are the 
 named addressee (or authorised to receive it for the addressee) 
 you may not copy or use it, or disclose it to anyone

Re: [Qgis-user] WMTS

2013-08-02 Thread Bruce, Bob (CWS)
Andreas,

I have a WMTS connection to try:

http://nis.cubewerx.com/cubewerx/cubeserv?CONFIG=OIM_MB_-_Orthophoto-WMTS

this is an OGC compliant WMTS server.

(the GetCapabilities request is at: 
http://nis.cubewerx.com/cubewerx/cubeserv?CONFIG=OIM_MB_-_Orthophoto-WMTSSERVICE=WMTSREQUEST=GetCapabilities
 )

this is part of our NIS pilot project and will be available for another 3 
months.

Unfortunately I have not been able to get this to work with either the stable 
version of QGIS 1.8.0 or the current development version of 1.9.

I am able to get this WMTS server to work with OpenLayers though through a web 
page that I have created.

Do you know how QGIS detects that this is a WMTS connection since we are using 
the WMS connection dialog? I am seeing error messages that keep saying that a 
WMS connection could not be established, is that because the error message is 
currently not specific to the type of connection (WMS or WMTS)  or because it 
didn't try and make a WMTS connection?

Thanks,
Bob Bruce

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: August-02-13 7:12 AM
To: Jonathan Moules
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] WMTS

 Hi Jonathan,

 Perhaps it would make sense to go the extra mile and either test  another 
Geoserver WMTS or make your WMTS server publically available (at  least in a 
password protected manner) - so that people can test it.

 Although WMTS is standardized there are often minor issues that prevent  
particular implementations from working. I know that WMTS is working in  
general. I was able to test it against an Intergraph-based WMTS server -  but I 
do not have a Geoserver instance at hand.

 Andreas

 On Fri, 2 Aug 2013 12:29:18 +0100, Jonathan Moules wrote:
 Hi Andreas,
 Yep, it's a local URL; that hostname is on our local DNS for our 
 mapping systems. The URL is correct; it works fine in ArcMap as noted.

 My QGIS cannot connect to the internet so I can't test with external 
 datasets; QGIS's proxy setup doesn't like our proxy.

 I held off reporting as a bug because I didn't know if I was doing 
 something wrong and there's no error.
 Can other folks connect to a GeoServer WMTS?

 Thanks,
  Jonathan

 On 2 August 2013 12:25, Andreas Neumann  wrote:

 Hi Jonathan,

 Are you sure that the URL is correct? It seems that this server is 
 only available locally. At least it is not a publically available and 
 correct URL.

 If you think there is a bug in QGIS, please write a bug report and 
 provide a test URL.

 Andreas

 On Fri, 2 Aug 2013 11:51:55 +0100, Jonathan Moules wrote:

 Thanks Andreas;

 I'd suggest changing the following text:
 - Tooltip
 - dialog header
 - Help (may be changed, but my help doesn't load right now!)

 =

 Beyond that, it doesn't seem to work. I add my connection 
 (http://compass/geoserver/gwc/service/wmts [8] [8]), and then when I 
 click

 connect it swaps to the server search tab. But there's nothing 
 listed. I didn't tick any of the boxes.

 GeoServer 2.3.4 WMTS.
 ArcMap can connect to it, so I know it's not a problem with the 
 WMTS.

 How do I get it to work?

 It does connect to my WMS fine.

 Thanks,
 Jonathan

 On 2 August 2013 10:52, Andreas Neumann  wrote:

 And this is already fixed in Master - see
 http://hub.qgis.org/issues/8396 [5] [5] - thanks to Jürgen.

 Andreas

 On Fri, 02 Aug 2013 11:29:39 +0200, Andreas Neumann wrote:

 Hi Jonathan,

 You just use the WMS connection dialogue. It also works for WMTS.

 I am now opening a bug to change the Add WMS layer into Add 
 WMS/WMTS layer. This should make things clearer to the users.

 Andreas

 On Thu, 1 Aug 2013 11:42:50 +0100, Jonathan Moules wrote:

 Hi List,
 How do I use WMTS in QGIS (weekly build)?

 I've tried searches on:

         * qgis.org [1] [1] [1] - no results

         * wiki - no results
         *
 http://docs.qgis.org/2.0/html/en/docs/user_manual [2] [2] [2] - 
 one

 results
 about caches.
         * plugs.qgis - no results

 Thanks,
 Jonathan
  This transmission is intended for the named addressee(s) only 
 and may contain sensitive or protectively marked material up to 
 RESTRICTED and should be handled accordingly. Unless you are the 
 named addressee (or authorised to receive it for the addressee) 
 you may not copy or use it, or disclose it to anyone else. If you 
 have received this transmission in error please notify the sender 
 immediately.
 All
 email
 traffic sent to or from us, including without limitation all GCSX 
 traffic, may be subject to recording and/or monitoring in 
 accordance with relevant legislation.

 Links:
 --
 [1] http://qgis.org [3] [3]
 [2] http://docs.qgis.org/2.0/html/en/docs/user_manual [4] [4]

 --
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org [6] [6]