Re: [Qgis-user] Pyspatialite installation issues on Fedora 25

2016-12-19 Thread Eric Goddard
Hi William, I had the same problem on Fedora 25 and solved it with comment 5 at https://bugzilla.redhat.com/show_bug.cgi?id=1340535. Create a pyspatialite.py file in ~/.qgis2/python with the following contents: from sqlite3 import * def connect(*args, **kwargs): import sqlite3 db =

Re: [Qgis-user] QGIS Viewer

2016-06-30 Thread Eric Goddard
If you're using the OSGeo4W installer, you could uninstall the filegdb api so that QGIS has to use the OpenFileGDB driver (which is read only) to view file geodatabases. The QGIS stand-alone installer just has the OpenFileGDB driver, so nothing extra is required there. Eric On Thu, Jun 30, 2016

Re: [Qgis-user] Lookup Tables in File GDB?

2016-06-06 Thread Eric Goddard
You're correct, the feature class is using a lookup table (domains in ArcGIS) that the ogr drivers can't access as far as I know. If you can load the gdb in ArcMap, you can use the Domain to Table tool ( http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/domain-to-table.htm) to

Re: [Qgis-user] creating a python plugin to autopopulate some of the Georeferencer properties

2016-03-29 Thread Eric Goddard
Problem solved, triggering from the raster menu didn't work, but going through the raster toolbar did work. for action in iface.rasterToolBar().actions(): if action.objectName() == 'mActionRunGeoref': georef = action georef.trigger() On Mon, Mar 28, 2016 at 12:36 PM, Eric Goddard

Re: [Qgis-user] creating a python plugin to autopopulate some of the Georeferencer properties

2016-03-28 Thread Eric Goddard
16 at 8:50 AM, Nathan Woodrow <madman...@gmail.com> wrote: > Don't stress. I'm going to move it to core in 2.16. Will let you know once > it's done. > > - Nathan > > > On Sat, 26 Mar 2016 11:21 pm John Layt <jl...@kde.org> wrote: >> >> On 26 March 201

Re: [Qgis-user] creating a python plugin to autopopulate some of the Georeferencer properties

2016-03-25 Thread Eric Goddard
custom applications I was hoping for a constructor for the georeferencer that I could use. Eric On Mar 25, 2016 4:35 PM, "John Layt" <jl...@kde.org> wrote: > On 25 March 2016 at 20:05, Eric Goddard <egoddard1...@gmail.com> wrote: > > It looks like I can make sure most

Re: [Qgis-user] creating a python plugin to autopopulate some of the Georeferencer properties

2016-03-25 Thread Eric Goddard
It looks like I can make sure most of the settings are configured properly using QSettings(), but still not sure how to go about opening the georeferencer with an image and the output and report fields pre-populated. On Fri, Mar 25, 2016 at 7:36 AM, Eric Goddard <egoddard1...@gmail.com>

Re: [Qgis-user] creating a python plugin to autopopulate some of the Georeferencer properties

2016-03-25 Thread Eric Goddard
directories and add > the parameters in the batch file. > > This is not very user friendly for the users but it's easy to make. > > I could send you an example for making up gdal-grid commands. > > Nicolas > On Mar 24, 2016 13:36, "Eric Goddard [via OSGeo.org]" &l

[Qgis-user] creating a python plugin to autopopulate some of the Georeferencer properties

2016-03-24 Thread Eric Goddard
Hi All, I'm working on a project that involves georeferencing many historic images. We'll have several people working in tandem, so to speed things up and reduce errors I'd like to create a qgis python plugin that, based on the source folder they select, auto populates the gdal transformation

Re: [Qgis-user] Stacking Landsat Bands

2014-11-13 Thread Eric Goddard
Hi Jonathan, Did you try the GDAL merge tool (Raster - Miscellaneous - Merge)? If you check the layer stack box it will create a multiband image with any number of input files. Eric On Thu, Nov 13, 2014 at 8:31 AM, Carl calb...@fs.fed.us wrote: Jonathan I'm not familiar with the Orfeo tool but

Re: [Qgis-user] Partitioning an Ortho?

2014-04-05 Thread Eric Goddard
Keep in mind that you need to have a license to write to sid files. If you only have the license to read sids, when you partition your existing 4GB sid, the output will most likely be geotiff which isn't as compressed as sid so the overall file size may be larger. On Apr 5, 2014 1:48 PM,

Re: [Qgis-user] Problem opening .GDB (v 10.1) using QGIS

2014-03-27 Thread Eric Goddard
I have gdal built with FileGDB support and I was unable to open the geodatabase; QGIS gave an invalid datasource error. Arcpy reports that it is indeed a version 10/10.1 database though. Using ogrinfo -al FWA_LINEAR_BOUNDARIES_SP.gdb reports that it was successfully opened: INFO: Open of

Re: [Qgis-user] Problem opening .GDB (v 10.1) using QGIS

2014-03-27 Thread Eric Goddard
:06 PM, Eric Goddard egoddard1...@gmail.com wrote: I have gdal built with FileGDB support and I was unable to open the geodatabase; QGIS gave an invalid datasource error. Arcpy reports that it is indeed a version 10/10.1 database though. Using ogrinfo -al FWA_LINEAR_BOUNDARIES_SP.gdb reports

Re: [Qgis-user] Selecting rasters with vector layer

2014-03-03 Thread Eric Goddard
Hi asher, if you go to raster - miscellaneous, there is a menu entry called build virtual raster catalog. You can use that to virtually mosaic all of your ECW files. This tool creates a new file you can load in as a raster that references all of the individual ECW files to display them seamlessly

Re: [Qgis-user] Selecting rasters with vector layer

2014-03-03 Thread Eric Goddard
) as an ECW file? I need to process it later with a 3rd party software. Regards 2014-03-03 23:26 GMT+01:00 Eric Goddard egoddard1...@gmail.com: Hi asher, if you go to raster - miscellaneous, there is a menu entry called build virtual raster catalog. You can use that to virtually mosaic all

Re: [Qgis-user] MrSID raster and QGIS in linux

2013-12-04 Thread Eric Goddard
to locate lex. On 04/12/13 00:20, Eric Goddard wrote: The packages I use for postgres on Ubuntu 13.04 are: postgresql-server-dev-9.1 postgresql-client postgresql-9.1 postgresql-contrib-9.1. I don't know if Ubuntu 12.04 has postgres 9.1; it may still be on 9. Try finding the equivalent packages

Re: [Qgis-user] MrSID raster and QGIS in linux

2013-12-04 Thread Eric Goddard
. Also couldn't seem to locate W11 and X. When I tried to install a package called curses.h it said something about package ncurses-hexedit should be rebuilt with new debhelper to get trigger support! - whatever that means. On 04/12/13 15:34, Eric Goddard [via OSGeo.org] wrote: You will need

Re: [Qgis-user] MrSID raster and QGIS in linux

2013-12-04 Thread Eric Goddard
. On 04/12/13 16:16, Eric Goddard [via OSGeo.org] wrote: It sounds like you didn't get all of the packages in the dependencies section installed; many of the development packages should have been installed with the build-essential package. bison and ncurses-dev are also in the list and will take

Re: [Qgis-user] MrSID raster and QGIS in linux

2013-12-03 Thread Eric Goddard
Hmm, I don't think you could've made it past the compiling gdal steps if the geotiff package wasn't installed. In the cmake window for configuring libLAS, do you have Values for GEOTIFF_INCLUDE_DIR and GEOTIFF_LIBRARY? I have /usr/include/geotiff and /usr/lib/geotiff.so, respectively. Keep in

Re: [Qgis-user] MrSID raster and QGIS in linux

2013-12-03 Thread Eric Goddard
I would recompile gdal. Switch to the gdal source directory and run 'make clean', and then re run the ./configure, make, and make install lines. On Tue, Dec 3, 2013 at 10:21 AM, BigBaka hunt.gl...@gmail.com wrote: After posting that I went into synaptic and installed geotiff 1.4. Following that

Re: [Qgis-user] MrSID raster and QGIS in linux

2013-12-03 Thread Eric Goddard
the current path. You may need to try re-running configure with a --with-pgconfig parameter. make: *** [GNUmakefile] Error 1 ideas? On 03/12/13 23:26, Eric Goddard [via OSGeo.org] wrote: I would recompile gdal. Switch to the gdal source directory and run 'make clean', and then re run

Re: [Qgis-user] MrSID raster and QGIS in linux

2013-11-24 Thread Eric Goddard
It isn't strictly true that you're crap out of luck--you just have to download the mrsid API and register it with ldconfig. Depending on your system, sometimes there are gdal plugins that you can then install. This is how it is setup on Debian based systems. If there isn't a plugin available, then

[Qgis-user] Selection tool outline color

2013-10-18 Thread Eric Goddard
Hi all, When using the selection tool in the map canvas, I can't see the light gray color of the bounding box against my data. Is it possible to change this color? I was only able to find an option to change the rubberband color for measurements and the color of the selected features. Thanks,

Re: [Qgis-user] Selection tool outline color

2013-10-18 Thread Eric Goddard
Fischer l...@life.ku.dk wrote: Hi SettingOptionsCanvas Legend Selection colour Regards Lene -- *Fra:* qgis-user-boun...@lists.osgeo.org [ qgis-user-boun...@lists.osgeo.org] på vegne af Eric Goddard [ egoddard1...@gmail.com] *Sendt:* 18. oktober 2013 21:53 *Til

Re: [Qgis-user] Selection tool outline color

2013-10-18 Thread Eric Goddard
Eric Choose the layer and double-click StyleSymbol layersSimple fillBorder styleSolid pen And then choose another colour. Regards Lene -- *Fra:* Eric Goddard [egoddard1...@gmail.com] *Sendt:* 18. oktober 2013 22:27 *Til:* Lene Fischer *Cc:* qgis-user

Re: [Qgis-user] installation problem with OSGeo4W Advanced Installer under windows 7

2013-09-25 Thread Eric Goddard
Hi Anne, I ran into this issue as well. Right clicking the osgeo4w-setup.exe file and setting it to run as administrator allowed it to install on my end. If you don't have administrator rights to your machine you should be able to complete the install by choosing the Install only for this user

Re: [Qgis-user] Compiling with grass7 from svn

2013-04-25 Thread Eric Goddard
Hi Eugenio, I do not think the GRASS tools plugin for QGIS has been updated to work with GRASS 7. Eric On Wed, Apr 24, 2013 at 7:17 AM, Eugenio Trumpy frippe12...@hotmail.com wrote: Dear all, I'm trying to compile qgis with grass, using a compiled grass version 7.0 from svn. I set the

Re: [Qgis-user] Executing qgis after building from git results in errors and warnings

2013-03-08 Thread Eric Goddard
For the python console, you need to install qscintilla. On 12.10 I installed libqscintilla2-dev and python-qscintilla2. The dev package may not be needed, but it works for me. The python libraries are located in the $INSTALLPATH/share/qgis/python directory. Add that directory to your python path

Re: [Qgis-user] Advice Please

2013-01-28 Thread Eric Goddard
This issue can be solved by acquiring an accurate reading with a sub-meter GPS unit on your site grid's datum and using the affine transformation tools to move the site grid data into a projected coordinate system based on the difference between the GPS and site grid coordinates. The accuracy of

Re: [Qgis-user] Newbie with request for advice

2013-01-10 Thread Eric Goddard
Before you can compile the samples or compile GDAL with FGDB support you have to link the FGDB library so the system can find it. Before running make in the FileGDB_API/samples directory, create a text file in the /etc/ld.so.conf.d/ to hold the path to wherever you FileGDB_API/lib folder is

Re: [Qgis-user] Possible to view/read laser (.laz/..las -files in QGIS?

2013-01-08 Thread Eric Goddard
liblas can be compiled with gdal support, then use las2ogr to convert the las to a QGIS-supported vector format. http://www.liblas.org/utilities/las2ogr.html Eric On Thu, Jan 3, 2013 at 7:42 AM, Johan Nilsson joni8...@gmail.com wrote: Hey. Are there any way to read laser scanned data (las

Re: [Qgis-user] How to compile gdal with ESRI FileGDB

2012-11-18 Thread Eric Goddard
/samples$ I wonder if I need to change anything in linux dynamic linker (*ld*)? 2012/11/15 Eric Goddard egoddard1...@gmail.com Hmmm, I didn't get any errors like that when I installed so I'm not sure what could be causing it. Do you have the build-essential package installed that provides

Re: [Qgis-user] How to compile gdal with ESRI FileGDB

2012-11-15 Thread Eric Goddard
: ./Querying: No such file or directory I checked with ls -all and *bin* was empty. Cheers and thanks /Johan 2012/11/14 Eric Goddard egoddard1...@gmail.com Below are the steps I use to add File Geodatabase support to gdal. This worked on Ubuntu 12.04 64-bit, but it doesn't use the deb source

Re: [Qgis-user] How to compile gdal with ESRI FileGDB

2012-11-14 Thread Eric Goddard
Below are the steps I use to add File Geodatabase support to gdal. This worked on Ubuntu 12.04 64-bit, but it doesn't use the deb source packages. Since you have a 32-bit ubuntu install, you need to download the 32-bit version of the FileGDB API. I tried to answer your questions as they come up in

Re: [Qgis-user] create a tiff multy layer

2012-07-20 Thread Eric Goddard
You can accomplish this with gdal. On QGIS 1.8.0, go to the Raster menu - Miscellaneous -Merge. Select all of your input files and check the layer stack option. The output will be a new tif image with each of your previously independent images as a band which you can then assign to the RGB guns by