[Qgis-user] QtWidgets.QFileDialog.getSaveFileName make qgis crash on windows 10

2024-03-11 Thread PLASSOT Eric via QGIS-User

Hi,
with qgis 3.34 with a processing script in pythonthe use of the dialog 
box QtWidgets.QFileDialog.getSaveFileNamemakes qgis crash on windows 10 
and not on windows 11.
Maybe because the dialog is initiated in C/Program Files\QGIS 3.34.4\bin 
which is a protected folder?I tried to set the document folder as 
default, but same crash.

the code :
 output_file_name = input_featuresource.sourceName() + '.kml'

output_file_path, _ = QtWidgets.QFileDialog.getSaveFileName(None, 
"Exporter les polygones au format KML",

output_file_name,
  "Fichiers KML (*.kml)")
I try this with the same crash when i click "Enregistrer"
 output_file_name = input_featuresource.sourceName() + '.kml'
 default_directory = os.path.join(os.path.expanduser("~"), "Documents")
output_file_path, _ = QtWidgets.QFileDialog.getSaveFileName(None, 
"Exporter les polygones au format KML",

os.path.join(default_directory,output_file_name),
  "Fichiers KML (*.kml)")

The crash message :

## Report Details

**Python Stack Trace**

```

Windows fatal exception: access violation

Current thread 0x15a8 (most recent call first):

File 
"C:\Users\xxx\AppData\Roaming\QGIS\QGIS3\profiles\default\processing\scripts\exportPolygonsKMLParcellesAttributs.py", 
line 201 in exportPolygonsKMLParcellesAttributs


output_file_path, _ = QtWidgets.QFileDialog.getSaveFileName(None, 
"Exporter les polygones au format KML", output_file_name, "Fichiers KML 
(*.kml)")


File 
"C:\PROGRA~1/QGIS33~1.4/apps/qgis-ltr/./python\qgis\processing\algfactory.py", 
line 278 in processAlgorithm


output = self._func(self, parameters, context, feedback, values)

Thread 0x21d0 (most recent call first):

File 
"C:\PROGRA~1/QGIS33~1.4/apps/qgis-ltr/./python/plugins\processing\ProcessingPlugin.py", 
line 432 in executeAlgorithm


dlg.exec_()

File 
"C:\PROGRA~1/QGIS33~1.4/apps/qgis-ltr/./python/plugins\processing\gui\ProcessingToolbox.py", 
line 232 in executeAlgorithm


self.executeWithGui.emit(alg.id(), self, self.in_place_mode, False)

```

**Stack Trace**

```

QPainter::fillRect :

QWindowsStylePrivate::devicePixelRatio :

QWindowsStylePrivate::devicePixelRatio :

QWidgetPrivate::paintBackground :

QWidgetPrivate::drawWidget :

QWidgetPrivate::moveRect :

QWidget::event :

QApplicationPrivate::notify_helper :

QApplication::notify :

QgsApplication::notify :

QCoreApplication::notifyInternal2 :

QCoreApplicationPrivate::sendPostedEvents :

QEventDispatcherWin32::processEvents :

QEventLoop::exec :

QDialog::exec :

QFileDialog::getSaveFileUrl :

QFileDialog::getSaveFileName :

PyInit_QtWidgets :

PyObject_Str :

PyEval_EvalFrameDefault :

PyFunction_Vectorcall :

PyEval_EvalFrameDefault :

PyFunction_Vectorcall :

PyObject_GC_Del :

PyVectorcall_Call :

PyObject_Call :

pdal::PointContainer::freeTemp :

pdal::Option::getName :

QgsProcessingAlgorithm::runPrepared :

QgsProcessingAlgRunnerTask::run :

pdal::Option::getName :

QgsTask::start :

QThreadPoolPrivate::reset :

QThread::start :

BaseThreadInitThunk :

RtlUserThreadStart :

```

**QGIS Info**

QGIS Version: 3.34.4-Prizren

QGIS code revision: decd43dc

Compiled against Qt: 5.15.3

Running against Qt: 5.15.3

Compiled against GDAL: 3.8.4

Running against GDAL: 3.8.4

**System Info**

CPU Type: x86_64

Kernel Type: winnt

Kernel Version: 10.0.19044
___
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] Export to GML in 3.28?

2023-03-22 Thread Eric Ortmayr via QGIS-User
Hi Evan,

Thank you for the information, the document was very helpful.

Since the default changed to GML3.2 do you think the FORMAT dropdown should 
include a GML2 option? I am not sure if this was missed or if this was done by 
design.

Regards,

Eric


From: Even Rouault 
Sent: March 21, 2023 5:24 PM
To: Eric Ortmayr ; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Export to GML in 3.28?



Le 22/03/2023 à 01:16, Eric Ortmayr via QGIS-User a écrit :
Hello,

Exporting to GML using version 3.16 results in a different coordinate format 
than in version 3.28. In 3.16 the X and Y values are separated by a comma 
(GML2?), but in 3.28 the X and Y values are separated by a space (GML3?) . Both 
exports were created using the  FORMAT under the Datasource Options 
section in the Save Vector Layer as... dialog.

Are the 3.16 and 3.28  FORMATS different by design? I checked the 
changelogs and could not find anything obvious.

Yes, most file format export (and import) is done by GDAL.  GDAL 3.4.0 changed 
to GML 3.2 as the default variant of GML. Cf 
https://gdal.org/drivers/vector/gml.html#dataset-creation-options<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgdal.org%2Fdrivers%2Fvector%2Fgml.html%23dataset-creation-options=05%7C01%7Ceortmayr%40crgl.ca%7Cc5533e1316c64ed7365c08db2a6baeba%7C2aa156d4b33c41688f39045b19f30a21%7C0%7C0%7C638150414206590656%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=iLfZK7gmSVxOrNQDEwpRJqwiiDIiYL5GQkMINhJ6FY0%3D=0>



--

http://www.spatialys.com<https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com%2F=05%7C01%7Ceortmayr%40crgl.ca%7Cc5533e1316c64ed7365c08db2a6baeba%7C2aa156d4b33c41688f39045b19f30a21%7C0%7C0%7C638150414206590656%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=CEO3ReB4CP1RSXlkBHPmECVoCbFwFN2Lo8M7ML6IxOk%3D=0>

My software is free, but my time generally not.
___
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] Export to GML in 3.28?

2023-03-21 Thread Eric Ortmayr via QGIS-User
Hello,

Exporting to GML using version 3.16 results in a different coordinate format 
than in version 3.28. In 3.16 the X and Y values are separated by a comma 
(GML2?), but in 3.28 the X and Y values are separated by a space (GML3?) . Both 
exports were created using the  FORMAT under the Datasource Options 
section in the Save Vector Layer as... dialog.

Are the 3.16 and 3.28  FORMATS different by design? I checked the 
changelogs and could not find anything obvious.

Any assistance would be great. I am trying to understand what is happening.

Thanks,

Eric Ortmayr
CHARTWELL Resource Group Ltd.

___
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] Convert an ALOS PALSAR DEM from ellipsoidal to geoid.

2023-01-02 Thread Fielding, Eric J (US 329A) via QGIS-User
Hello Eddison,

I am not sure what source you are using for the ALOS PALSAR DEM that you are 
describing. As far as I know, there is no systematically processed DEM made 
from ALOS PALSAR data. There is a DEM composite that the Alaska Satellite 
Facility (ASF) is using for their Radiometric Terrain Correction (RTC) 
processing of the ALOS PALSAR that they have resampled from other sources. See 
their web page for details:
https://asf.alaska.edu/data-sets/derived-data-sets/alos-palsar-rtc/alos-palsar-radiometric-terrain-correction/#dem_information

The web page explains that they were using the SRTM1 (1-arcsecond or about 30 
m) DEM interpolated to the 12.5 meter spacing of the ALOS PALSAR RTC products. 
The SRTM DEM has the EGM96 geoid reference. I think they may recently have 
changed to using the Copernicus GLO-30 DEM that is also 1-arcsecond spacing but 
uses the EGM2008 geoid reference. Again, they will interpolate it to the 12.5 m 
spacing for their ALOS PALSAR RTC processing. Over the USA, they used the USGS 
NED DEMs that are higher resolution.

If this is the source of the “ALOS PALSAR DEM” that you are using, you will be 
better off getting the original DEM for your area from either the Copernicus 
GLO-30 DEM sources (there are several) or the USGS NED DEM sources. You will 
still have to do the geoid to ellipsoid height conversions but it won’t be 
modified by the interpolation that ASF is doing in their RTC processing.

++Eric Fielding
JPL

Message: 1
Date: Mon, 2 Jan 2023 20:08:39 -0600
From: Eddison Araya 
To: Nicolas Cadieux 
Cc: qgis-user 
Subject: Re: [Qgis-user] Convert an ALOS PALSAR DEM from ellipsoidal
to geoid.
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hello yes, thank you very much, according to that source it is EMG-2008

Regards!

eddison

[image: image.png]




___
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] Tectonic plate boundaries

2022-08-14 Thread Fielding, Eric J (US 329A) via Qgis-user
Hi John,

Here is a GitHub site with plate boundaries in several GIS formats, including 
Shapefile and GeoJSON. 
https://github.com/fraxen/tectonicplates

These should work with QGIS. This is from the Bird (2003) paper that is a 
widely used source of tectonic plate boundaries.

++Eric
-- 
Eric Fielding

eric.j.field...@jpl.nasa.gov
http://science.jpl.nasa.gov/people/Fielding/
Twitter: @EricFielding
Jet Propulsion Laboratory
Caltech
4800 Oak Grove Drive
Pasadena, CA   91109
USA


 

Date: Sat, 13 Aug 2022 14:53:54 -0700
From: chris hermansen 
To: John Moyle 
Cc: qgis-user 
Subject: Re: [Qgis-user] Tectonic plate boundaries
Message-ID:

Content-Type: text/plain; charset="utf-8"

John and list,

On Sat, Aug 13, 2022, 09:38 John Moyle via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hi
> New to QGIS. I want to plot Victorian submarine telegraph cable
> interruptions under the Atlantic.  I know, what an Anorak!!
> I have found a brilliant rasterfile of the seabed from GEBCO to use as a
> base layer. I have also collected all the data of cable failure, submarine
> earthquakes and volcanoes and am ready to make vector layers of all the
> data.
> But what I can't find is a shapefile of the tectonic plates boundaries,
> just the boundary lines with no shading or text.
>

I believe you have a basic misunderstanding of the nature of data within a
GIS.

Generally the way QGIS (and most GIS) works is they "take" only data such
as points lines and polygons and then the user develops styling on those to
create the desire cartographic effect.

It would be most unusual to find shading or text in a shapefile.

Test in a shapefile is an attribute of some geometric feature. So line 377
might have an attribute that is "Mid Atlantic Ridge".

QGIS provides the ability to print the text attributes as labels, which can
be styled in many useful ways for visualization purposes.


Everything I do find is rejected by QGIS as not being in a suitable format.
> Help please!
> John
>
> Dr John Moyle
> MB, BS, MSc, PhD, CEng, MInstMC, FRCA, FRHistS
> Chartered Engineer
> Physician & Anaesthetist (Retired)
> Historian (Telegraphy & Medical Technology)


___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Fielding, Eric J (US 329A) via Qgis-user
Hi Walter, 

I think the problem was that your iCloud folder or some other directory on the 
path to the files had a space in the name. Many of the QGIS functions don't 
work correctly if there is a space in any name any part of the file path.

++Eric 
-- 
Eric Fielding

eric.j.field...@jpl.nasa.gov
http://science.jpl.nasa.gov/people/Fielding/
Twitter: @EricFielding

> From: Walter Alvarez 
> Thank you, Thayer!  That indeed was part of the problem, but I believe 
> another problem was that the files were 
> saved in iCloud.  When I took them 
> out of iCloud and looked for the hidden Tools window, the DEMs merged 
> >properly!  I greatly appreciate your help!

> Walter

> On May 20, 2022, at 6:01 AM, Thayer Young 
> <https://lists.osgeo.org/mailman/listinfo/qgis-user> wrote:
> 
> Hi Walter,
> 
> Sometimes after entering parameters the tool window drops behind the main 
> QGIS window. Try either moving the QGIS window out of the way or right click 
> the QGIS icon in the Dock and select "Show All Windows" and see if you can 
> find it again. Hope this helps.
> 
> -Thayer
> 
> On Friday, May 20, 2022, 06:35:24 AM EDT, 
> https://lists.osgeo.org/mailman/listinfo/qgis-user 
> <https://lists.osgeo.org/mailman/listinfo/qgis-user> wrote:
> --
> Date: Thu, 19 May 2022 14:30:39 -0700
> From: Walter Alvarez 
> 
> I?m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  
> In either case (2 or 12) I am stopped by the following problem:
> Using Raster > Miscellaneous > Merge?
> I get the ?Merge" window.  I try to use Input layers > Elements selected > ??"
> That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
> want to merge (filenames:  nXXeXXX_1arc_v3 [EPSG:4326]).
> After selecting all the files, when I click ?OK?  the "Multiple Selection 
> Window? and the ?Merge? window both disappear, and I cannot figure out what 
> to do next, or do differently.
> I can?t figure out how to get past this problem and merge my tiles.
> Thanks for any help you can offer!
> 



___
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] QgsLayoutExporter and Raster Layers

2022-03-08 Thread Eric Younkin - NOAA Federal via Qgis-user
Hello,

I am using the QgsLayoutExporter to build a screenshot of my QgsMapCanvas
view, following the code in the Quick Print plugin (
https://github.com/MarcoDuiker/QGIS_QuickPrint/blob/d1c946a7b6187553c92ffad7a0cc23d39a1bc593/quick_print3.py
).

I build the QgsLayoutItemMap as follows (including only relevant lines):

map = qgis_core.QgsLayoutItemMap(layout)
...
mylayers = self.project.mapThemeCollection().masterVisibleLayers()
map.setLayers(mylayers)
...
layout.addLayoutItem(map)
...
exporter = qgis_core.QgsLayoutExporter(layout)
exporter.exportToImage(fil,
qgis_core.QgsLayoutExporter.ImageExportSettings())

mylayers correctly lists the layers that I have loaded in my application.

[,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

,

https://a.tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png=19=0=EPSG:4326'
(wms)>]


Each of these layers correctly shows in the screenshot, with the exception
of the first one, the vsimem based raster layer. This layer shows in my app
in the canvas, but is missing from the screenshot. I have tried exporting
that layer by itself, messing with renderers and opacity, etc. I can't seem
to get the vsimem raster layer to show in the screenshot. I thought the WMS
raster layer was going to be an issue, but it shows just fine.


Is there any issue with vsimem gdal layers? Should this layer work, if I
can visualize it on the canvas in my app? I can't figure out where to go
next to diagnose this issue.


Thanks, Eric


-- 
Eric Younkin
Physical Scientist
NOAA OCS, Hydrographic Systems and Technology Branch
1315 East-West Highway
N/CS11, Room 6604
Silver Spring, MD 20910
Office: 240-847-8208
Cell: 828-331-8197
___
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 site down?

2022-02-24 Thread Eric Compas
Working for me.

On Thu, Feb 24, 2022 at 9:20 AM Sebastian Gutwein  wrote:

> I'm getting an error on the qgis.org site. Anyone else experiencing this?
> [image: image.png]
>
> ___
> 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 exported layers lose defined CRS definition

2021-07-09 Thread Eric Seymour
Hello,

I have layers stored in a Spatialite database with a defined CRS of 102707 (
https://spatialreference.org/ref/esri/102707/). When I select features from
this layer and export them back to the database from within QGIS (3.4.4),
using the same CRS, the resulting layer has a CRS of USER:11. The
parameters are the same, e.g., the same latitude of origin, but I want the
exported tables to be clearly identified with the 102707 CRS. I have never
encountered this problem with other CRSs. Does anyone have any idea why
this would happen for some CRSs?

-Eric
___
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] MacOS X11 library configuration for plugins

2021-06-13 Thread Fielding, Eric J (US 329A)
I recently upgraded from QGIS 3.10 to 3.18.3 to get the excellent new 
continuous color palette plotting for map layouts. That is a huge improvement 
for people like me who work with continuous datasets. Thanks to those who 
implemented this!

I am getting warnings from several of the QGIS plugins that they are not able 
to find an X11 library. It seems that the plugins have been compiled to look in 
a different location “/opt/X11/lib” than what I have on my Mac. I installed my 
X11 with MacPorts instead of the XQuartz server version, so this library is at 
“/opt/local/lib/libxcb.dylib” on my system. This is the error message:
ImportError: 
dlopen(/Applications/QGIS.app/Contents/MacOS/lib/python3.8/site-packages/Pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-38-darwin.so,
 2): Library not loaded: /opt/X11/lib/libxcb.1.dylib   Referenced from: 
/Applications/QGIS.app/Contents/MacOS/lib/python3.8/site-packages/Pillow-7.2.0-py3.8-macosx-10.13.0-x86_64.egg/PIL/_imaging.cpython-38-darwin.so
   Reason: image not found

Is there a way to update the path in the plugins or do I have to install the 
XQuartz version of the X11 server?

Thanks,
++Eric
___
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] NDVI resolution

2021-05-08 Thread Fielding, Eric J (US 329A)
Neels,

The Worldview-3 satellite has different resolutions in the different bands. 
There is a panchromatic band that has 31 cm resolution, but the multispectral 
bands have 124 cm (1.2 m) resolution. You are probably seeing objects with the 
panchromatic band, but NDVI has to use the coarser multispectral bands.

Some of the Worldview data products use the panchromatic band to "sharpen" the 
multispectral images, but the multispectral data is fundamentally four times 
coarser than the panchromatic bands. If the multispectral bands have been 
resampled (interpolated) to the 31 cm pixel size to match the panchromatic 
band, they will be fuzzier.

++Eric

Date: Fri, 7 May 2021 18:27:39 +
From: Neels Brink 

Yes, the raster calculator, and the extent (resolution, nr of  pixels, 
everything)  of the output file matches that of the two input bands. What is 
interesting is that I noted that the boundaries of some man-made objects  do no 
show this fuzziness:

[cid:image006.jpg@01D7437F.67F906C0]



From: Nicolas Cadieux 
Sent: Friday, May 7, 2021 6:27 PM
To: Neels Brink 
Subject: Re: [Qgis-user] NDVI resolution

Hi,
Did you use the raster calculator?  If so, did you select the proper extent 
and rows and columns in the output files?

Le 7 mai 2021 ? 11:56, Neels Brink 
mailto:neels.br...@incomargroup.com>> a ?crit :
?
I created an NDVI in QGis from Worldview -3 bands. However, the NDVI looks 
?fuzzy?, or at lower resolution than the original bands. I tried to find a flag 
or setting which causes this but do not see something like it. What could be 
the reason for this appearance of the NDVI?



___
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] polygon labels

2021-03-24 Thread Eric
Hello.
Can I use the geometry generator to create a polygon label that is identical to 
the layer's polygon symbol?
Thanks,
Eric
___
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] pan and zoom during temporal animation

2021-02-15 Thread Eric Sorensen
Thank you for the information Richard. Based on your input, I think I see a 
path forward. 

es

> On Feb 15, 2021, at 1:03 AM, Richard Duivenvoorde  wrote:
> 
> On 2/14/21 9:04 PM, Eric Sorensen wrote:
>> Is it possible to control pan and zoom of a view during a temporal animation?
> 
> Nope, for what I know, the only changing dimension is time.
> 
>> If so, is there a “how to” out on the web you could point me to?
> 
> Don't think so.
> 
> I think this would need some 'playbook' in which at certain times QGIS 
> changes it's extent...
> In the end not so difficult, but to create the playbook would need some gui.
> 
> Maybe you can script it yourself though.
> 
> The TemporalNavigationController you can call from QGIS, so you can 
> 'step,step,step,change-extent,step,step' etc...
> 
> I wrote some code on how to code on this, but am not able to get it through 
> CI:
> https://github.com/qgis/QGIS-Documentation/pull/5521
> maybe you can use that.
> 
> Regards,
> 
> Richard Duivenvoorde
> ___
> 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] Issue with "Mesh Calculator" with a GRIB file

2021-02-10 Thread Eric Compas
Vincent,

Thanks! I updated to 3.16 and the expression worked just fine (once I
figured out the changes to the mesh interface).

Eric

On Tue, Feb 9, 2021 at 9:37 PM Vincent Cloarec  wrote:

> Hi,
> Which QGIS version?
>
> It seems 3.10.
> Can you try with 3.16?
>
> Regards.
>
> Vincent
>
> Le mar. 9 févr. 2021 à 22:55, Eric Compas  a écrit :
>
>> All,
>>
>> I'm experimenting with the mesh viewing and analysis tools
>> in QGIS (3.12.3) using both the Crayfish and QGribDownloader plugins. All's
>> going very well, and for the most part, the tools are relatively easy to
>> use.
>>
>> While I've gotten several "Mesh calculator" expressions to work correctly
>> with a GRIB file (downloaded using the QGribDownloader plugin), I'm running
>> into an error with any expression using precipitation group, e.g.:
>>
>> ("Temperature [C]" > 10) and ("03 hr Total precipitation [kg/(m^2)]" < 2)
>>
>>
>> This expression yields an error "Mesh calculator: Invalid or incompatible
>> datasets used." I've tried several permutations and start/end ranges. All
>> without luck.
>>
>> Investigating further, it seems like the number of time "slices" in the
>> precipitation group isn't the same as in the temperature group and may not
>> be handled correctly in QGIS (??). In the temperature group layer
>> properties, the time slider and metadata times are always the same
>> (synchronized).  For the precipitation group, the time slider and metadata
>> in the layer properties aren't in sync:
>>
>> [image: 2021-02-06_10-34-02b.gif]
>> I suspect that the precipitation group has fewer time "slices" that may
>> not be handled correctly and hence the error in the "Mesh Calculator" tool.
>>
>> Is this a user error or some issue with how the mesh tools handle groups
>> with differing number of time "slices?"
>>
>> I'd appreciate any help.
>>
>> Thanks,
>>
>> Eric
>>
>> ___
>> 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] Issue with "Mesh Calculator" with a GRIB file

2021-02-09 Thread Eric Compas
All,

I'm experimenting with the mesh viewing and analysis tools in QGIS (3.12.3)
using both the Crayfish and QGribDownloader plugins. All's going very well,
and for the most part, the tools are relatively easy to use.

While I've gotten several "Mesh calculator" expressions to work correctly
with a GRIB file (downloaded using the QGribDownloader plugin), I'm running
into an error with any expression using precipitation group, e.g.:

("Temperature [C]" > 10) and ("03 hr Total precipitation [kg/(m^2)]" < 2)


This expression yields an error "Mesh calculator: Invalid or incompatible
datasets used." I've tried several permutations and start/end ranges. All
without luck.

Investigating further, it seems like the number of time "slices" in the
precipitation group isn't the same as in the temperature group and may not
be handled correctly in QGIS (??). In the temperature group layer
properties, the time slider and metadata times are always the same
(synchronized).  For the precipitation group, the time slider and metadata
in the layer properties aren't in sync:

[image: 2021-02-06_10-34-02b.gif]
I suspect that the precipitation group has fewer time "slices" that may not
be handled correctly and hence the error in the "Mesh Calculator" tool.

Is this a user error or some issue with how the mesh tools handle groups
with differing number of time "slices?"

I'd appreciate any help.

Thanks,

Eric
___
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] Lat Lon Tools question

2021-02-06 Thread Eric Sorensen
As Greg and others point out, I appear to be using the UTM zone term 
inappropriately.  My apologies.

What I am after in my label, is the MGRS flavor that includes the latitude 
band, and agrees with the image shown in this link;

https://docs.qgis.org/3.4/en/_images/utm_zones.png 
<https://docs.qgis.org/3.4/en/_images/utm_zones.png>

After you folks successfully educated me on this, I came up with the following;

concat(name, ', ',  mgrs_gzd($Y, $X), ' ',   format_number(utm_east( $Y, $X), 
0), ' ',  format_number(utm_north( $Y, $X), 0))

Which gets me a label like this for the point I originally supplied;
Park, 13S 384,258 3,974,547

This is how my Garmin GPS displays coordinates of waypoints (sans the commas), 
and how someone would input the point into their gps, after I hand them a map I 
have created in QGIS.  Now to eliminate the commas.

Thank you all for your input,
es


> On Feb 6, 2021, at 11:41 AM, Greg Troxel  wrote:
> 
> 
> Eric Sorensen  writes:
> 
>>  
>>2262.18896499826
> 
>> The labels appear as expected, except one small problem.  I know the points 
>> are in UTM zone 13S, yet the label shows zone 13N.
>> 
>> Any thoughts on what I am doing wrong.
> 
> That latitude is north, and in New Mexico.  Why do you think it's zone
> 13S?
> 
> 
> 
> Beware of the confusion between grid zones from MGRS, not technically
> part of UTM, and UTM north/south.  See
> 
>  
> https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system#Notation
> 
> So it seems the UTM output uses S and N -- which is what I would expect
> for straight UTM without a MGRS flavor.
> 
> If you moved north, you could be in 13T, from 40-48 degrees, and not
> have this issue, but then you'd have more snow :-)
> 

___
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] Lat Lon Tools question

2021-02-06 Thread Eric Sorensen
I’ll have to disagree with you Chris.  Zone 13N has a southern boarder that 
lies on the equator.


> On Feb 6, 2021, at 11:33 AM, chris hermansen  wrote:
> 
> Eric and list,
> 
> On Sat, Feb 6, 2021, 10:18 Eric Sorensen mailto:e@me.com>> 
> wrote:
> Hi,
> 
> I have waypoints from a Garmin GPS that I import from a gpx file into a 
> vector layer.
> 
> In the gpx file, they are of the form;
> 
>   
> 2262.18896499826
> 2021-02-05T18:03:05Z
> Park
> Flag, Blue
> user
> 
>   
> SymbolAndName
>   
>   
> SymbolAndName
>   
>   
> 2021-02-05T18:03:05Z
>   
> 
>   
> 
> 
> They appear in the correct location in my project.  Now, I am trying to 
> display a label at each point using rule-based labeling with the following 
> expression;
> 
> concat(name, ', ', utm($Y, $X))
> 
> The labels appear as expected, except one small problem.  I know the points 
> are in UTM zone 13S, yet the label shows zone 13N.
> 
> Your lat long 35,-106 are far west in the northern hemisphere. Therefore the 
> UTM zone is 13N not 13S.
> 
> This is somewhere near Memphis Tennessee if I am not wrong.
> 
> 
> If you're expecting -35,-106 that's somewhere out in the Pacific far west of 
> Santiago Chile
> 
> 
> Any thoughts on what I am doing wrong.
> 
> Maybe you want -35,+106?

___
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] Lat Lon Tools question

2021-02-06 Thread Eric Sorensen
Hi,

I have waypoints from a Garmin GPS that I import from a gpx file into a vector 
layer.

In the gpx file, they are of the form;

  
2262.18896499826
2021-02-05T18:03:05Z
Park
Flag, Blue
user

  
SymbolAndName
  
  
SymbolAndName
  
  
2021-02-05T18:03:05Z
  

  


They appear in the correct location in my project.  Now, I am trying to display 
a label at each point using rule-based labeling with the following expression;

concat(name, ', ', utm($Y, $X))

The labels appear as expected, except one small problem.  I know the points are 
in UTM zone 13S, yet the label shows zone 13N.

Any thoughts on what I am doing wrong.

Mac OS 10.14.6
QGIS 3.14.15-Pi
Lat Lon Tools 3.5.0

Thanks,
Eric
___
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] Visualizing multi-page GeoTIFF in QGIS

2021-01-11 Thread Eric Younkin - NOAA Federal
Hello,

I have a GeoTIFF that I have created in the following manner:

gdal_translate first_grid supergrid.tif

gdal_translate second_grid supergrid.tif -co APPEND_SUBDATASET=YES

Dragging this into QGIS appears to only allow me to visualize the first
dataset used. Is there some option to allow me to view all added pages?
This does seem to work if I use a GeoPackage instead of a GeoTIFF.  I can
also pull in a VRT for these TIFFs and that works.  I'm going the
APPEND_SUBDATASET route to construct one TIFF file that will work with PROJ
vgridshift, which appears to support multipage TIFFs.

Thanks,
Eric

-- 
Eric Younkin
Physical Scientist
NOAA OCS, Hydrographic Systems and Technology Branch
1315 East-West Highway
N/CS11, Room 6604
Silver Spring, MD 20910
Office: 240-847-8208
Cell: 828-331-8197
___
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] Loading up .grd files into QGIS

2020-08-28 Thread Fielding, Eric J (US 329A)
Hi ajwchile,

I know of two types of geophysical files that have the .grd file extension for 
gridded datasets. One is the Surfer Grid and the other is the Generic Mapping 
Tools (GMT). I use GMT software all the time, and QGIS and GDAL usually have 
that GMT format included as an option.  

Does the "gdalinfo" command recognize the format? If it does, then GDAL and 
QGIS should be able to read it. If "gdalinfo" does not recognize the format, 
then it is possible the files were corrupted somehow.

Best,
++Eric Fielding
Pasadena, California

-Original Message-
Date: Fri, 28 Aug 2020 13:48:58 -0400
From: 

Can someone help me with the loading of .grd files (geophysical imagery)
into QGIS? I've tried loading this as a raster layer as well as simply
trying to open the file, but both routes tell me the file format isn't
recognised. Thanks!
**

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

Re: [Qgis-user] shapefiles

2020-06-16 Thread Jan-Eric Oskarsson

Hi, Jim!

Is't in the same projection/coordinatesystem as the project?

If you rightclick on the layer and choose zoom to layer, is't showing then?

/Jan-Eric

Den 2020-06-16 kl. 05:24, skrev forestermcgannon:
Why is my shapefile that I imported into project, not showing up with 
my orthoimage. The shapefile is a property line boundary.

Thanks
Jim



___
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] [EXTERNAL] Re: 2019 USGS 7.5min topo sheets

2020-04-21 Thread Fielding, Eric J (US 329A)
I was able to open a USGS GeoPDF for a 2018 map of Pasadena, Calif. with Adobe 
Acrobat (and Acrobat Reader) and it loaded quickly. The file is a vector file 
with all the line work stored as vectors. I was also able to open it in Adobe 
Illustrator, but that was slower. Illustrator sees the GeoPDF with only one 
layer, but has a huge number of vector lines for all the contours. I don’t see 
a raster layer in Illustrator. QGIS 3.10.3 on my Mac was not able to open the 
GeoPDF as either a Raster or Vector database.

I also noticed that opening the folder with the GeoPDF in Adobe Bridge caused 
the Bridge program to allocate 19 GB of memory, which is not very helpful on a 
laptop with 16 GB of RAM. I had to quit Bridge to get the memory back. This is 
probably similar to what people noticed with keeping the GeoPDF on the Windows 
Desktop.

From the “Font not available” warnings in Illustrator, I see the GeoPDF must be 
created with an ESRI program as some of the fonts had ESRI in the name. I 
assume that ESRI ArcGIS can open the GeoPDF.

++Eric

From: "qgis-u...@stripfamily.net" 
Date: Tuesday, April 21, 2020 at 12:45 PM
To: Mike Flannigan , "qgis-user@lists.osgeo.org" 

Cc: "Fielding, Eric J (US 329A)" 
Subject: [EXTERNAL] Re: [Qgis-user] 2019 USGS 7.5min topo sheets

I am running Qgis 3.4.2 on Windows and I can load the new style geopdf USGS 
7.5' quads, including the imagery layer.
It's slow and grinds qgis to a halt while it loads, but it does work. The 
different layers, which are independently controllable in Acrobat Reader are 
flattened when the topo is opened in Qgis, which rasterizes the image and 
presents it as one raster, not separate layers.
USGS has made these maps much less useful by adding the aerial imagery layer, 
at least for me. Qgis isn't the only application that flattens the layers, and 
the imagery obscures way to much for my taste.

On 4/21/2020 12:22 PM, Mike Flannigan wrote:

Much to my surprise I think you are correct.
QGIS can open a TIF file (and a zipped TIF file),
but I can't get a GeoPDF to open in QGIS.  If I
convert the GeoPDF to a TIF with GDAL, it still
will not open and gives error "Missing Codec".

Very surprising.  I know from past experience that
Global Mapper v6.04 will view TIF files that have
been converted from GeoPDF via GDAL.


Mike


On 4/20/20 5:00 PM, 
qgis-user-requ...@lists.osgeo.org<mailto:qgis-user-requ...@lists.osgeo.org> 
wrote:

It sounds like you downloaded a new USGS product format called the GeoPDF. The 
".pdf" suffix is the big clue. I don't know if QGIS 3.2.3 can read those files. 
I would try downloading the map in a different format. I don't know what site 
you are using, but the USGS TopoView site (https://ngmdb.usgs.gov/topoview/) 
has the maps available as JPEG, KMZ, GeoTIFF, and GeoPDF. I would recommend the 
GeoTIFF format as all versions of QGIS support that.

Best,
++Eric Fielding

___
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] 2019 USGS 7.5min topo sheets

2020-04-20 Thread Fielding, Eric J (US 329A)
It sounds like you downloaded a new USGS product format called the GeoPDF. The 
".pdf" suffix is the big clue. I don't know if QGIS 3.2.3 can read those files. 
I would try downloading the map in a different format. I don't know what site 
you are using, but the USGS TopoView site (https://ngmdb.usgs.gov/topoview/) 
has the maps available as JPEG, KMZ, GeoTIFF, and GeoPDF. I would recommend the 
GeoTIFF format as all versions of QGIS support that.

Best, 
++Eric Fielding

-Original Message-
Date: Mon, 20 Apr 2020 06:06:50 -0400
From: MacKinnon's 

Hello, low skill user here on QGIS 3.2.3 on Microsoft 10.   I have been 
using USGS 7.5' topo map as base layers for a couple of years.  My 
latest download, of amap sheet created on 12-18-19 will not load.  Error 
message is "Invalid Data Source"  Also of note is that the new map is 
much larger than earlier versions. 40mg vs 15-20mg.  Is this an 
intentional change by USGS or an error formatting the file.

Map sheet in question is MI_Garden_20191218_TM_geo.pdf


___
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] Request for help with style control for lat/long grid and marker points (Eric Delson)

2020-03-24 Thread Eric Delson
Hello, I posted this request about 10 days ago but have had no comments 
or responses, perhaps I was unclear that I wanted help, so I am trying 
again.


I am making maps for publication in journal articles using QGIS (3.12) 
and Natural Earth base data. I have two questions:


How do I control the appearance (presence/absence, line style, labeling) 
of latitude/longitude "graticule" lines? I was able to change the name 
of the Equator in the Attribute Table, but not the placement of the 
label or other features.


I am placing a series of point markers from an imported Excel file of 
decimal latitude/longitude coordinates, with each point having a place 
name and category (time bins). How do I control the label, size, symbol, 
and color of each point, either by reference to its category or 
individually if necessary?


I have an earlier version of such a map made by a colleague in ArcGIS, 
which I can send offline if any of you wishes to see what I am seeking.


Many thanks, Eric Delson (Professor of Anthropology, City University of 
New York)


___
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] style control for lat/long grid and marker points

2020-03-15 Thread Eric Delson
Hello, I am making maps for publication in journal articles using QGIS 
and Natural Earth base data. I have two questions:


How do I control the appearance (presence/absence, line style, labeling) 
of latitude/longitude "graticule" lines? I was able to change the name 
of the Equator in the Attribute Table, but not the placement of the 
label or other features.


I am placing a series of point markers from an imported Excel file of 
decimal latitude/longitude coordinates, with each point having a place 
name and category (time bins). How do I control the label, size, symbol, 
and color of each point, either by reference to its category or 
individually if necessary?


I have an earlier version of such a map made by a colleague in ArcGIS, 
which I can send offline if one of you wishes to see what I am seeking.


Many thanks, Eric Delson (Professor of Anthropology, City University of 
New York)


___
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] [EXTERNAL] Re: MacOS project saving issue

2020-01-19 Thread Fielding, Eric J (US 329A)
I tried copying the .qgz.bak file to a saved.qgz file, but it was not read 
correctly by QGIS. I looked at the .bak file and I see that it is not 
compressed, so it can be renamed to a saved.qgs file and that opens with QGIS 3.

Thanks again.

++Eric

From: Aldo Piombino 
Date: Saturday, January 18, 2020 at 11:45 PM
To: "Fielding, Eric J (US 329A)" 
Subject: Re: [EXTERNAL] Re: [Qgis-user] MacOS project saving issue

luckily, I have nad no needing to use it, but I think that you have only to 
rename the file nameproject.bak in project2.qgz

Aldo

Dr. Aldo Piombino
Scienzeedintorni: 
www.aldopiombino.blogspot.it<http://www.aldopiombino.blogspot.it> 
<http://www.aldopiombino.blogspot>
Skype: aldo.piombino
Il giorno 19 gen 2020, alle ore 02:00, Fielding, Eric J (US 329A) 
mailto:eric.j.field...@jpl.nasa.gov>> ha scritto:

Thanks, I found and installed the “AutoSaver” plugin and it seems to be 
working. I am not sure how to used the “.qgz.bak” file, if I want to do that.

++Eric
___
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] [EXTERNAL] Re: MacOS project saving issue

2020-01-18 Thread Fielding, Eric J (US 329A)
Thanks, I found and installed the “AutoSaver” plugin and it seems to be 
working. I am not sure how to used the “.qgz.bak” file, if I want to do that.

++Eric
From: Aldo Piombino 
Date: Saturday, January 18, 2020 at 3:02 PM
To: "Fielding, Eric J (US 329A)" 
Subject: [EXTERNAL] Re: [Qgis-user] MacOS project saving issue

The name of the plugin is “ autosaver”


Dr. Aldo Piombino
Scienzeedintorni: 
www.aldopiombino.blogspot.it<http://www.aldopiombino.blogspot.it> 
<http://www.aldopiombino.blogspot>
Skype: aldo.piombino





Il giorno 18 gen 2020, alle ore 19:35, Fielding, Eric J (US 329A) 
mailto:eric.j.field...@jpl.nasa.gov>> ha scritto:

Sometimes I leave QGIS running for several days on a MacOS machine, adding 
extra layers, etc. If I forget to save at the end of each day, I often find the 
next day that I can’t save the project changes because some temporary file 
under /private/var/tmp no longer exists. I think there must be something in 
MacOS (or other software on my machine) that cleans up the temporary folders.

Has anybody else seen this problem? Have you found a solution?

Thanks,
++Eric
Pasadena, California, USA
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto: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] MacOS project saving issue

2020-01-18 Thread Fielding, Eric J (US 329A)
Sometimes I leave QGIS running for several days on a MacOS machine, adding 
extra layers, etc. If I forget to save at the end of each day, I often find the 
next day that I can’t save the project changes because some temporary file 
under /private/var/tmp no longer exists. I think there must be something in 
MacOS (or other software on my machine) that cleans up the temporary folders.

Has anybody else seen this problem? Have you found a solution?

Thanks,
++Eric
Pasadena, California, USA
___
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] Experiences using QGIS + PostgreSQL/PostGIS in a multiuser environment?

2019-11-20 Thread Jan-Eric Oskarsson
Hi Hernán!
Maybe this comment is redundant but you have to set up a strong security to 
prevent hackers to hack your database and steal your data and cause damage.
I hope uthat you already have thought about this issu!

Kind Regards
Jan-Eric

-Ursprungligt meddelande-
Från: Qgis-user  För Hernán De Angelis
Skickat: den 20 november 2019 11:10
Till: qgis-user 
Ämne: [Qgis-user] Experiences using QGIS + PostgreSQL/PostGIS in a multiuser 
environment?

Hello QGIS:ers

I am evaluating setting up a server running PostgreSQL/PostGIS for use as data 
sharing/collaborating environment for spatial data. The user group may consist 
of up to 15 people, mostly using QGIS but one or two may use other software 
(non OS). Data is almost exclusively of vector type. The use is within a single 
organization.

I understand some people in this list have experience with this kind of 
environment and would appreciate if any of you would share any useful 
experience, challenges, thought or things to watch out for. I understand basic 
management routines are critical (user management, user rights), as well as a 
sound backup and update strategy. I also understand that proper data management 
procedures have to be in place, like rules for table creation and eventual 
deletion, attribute selection, etc. But what else can go wrong with this kind 
of setup if not managed properly? 
Thoughts and experiences welcome!

Best regards and thanks in advance

Hernán





___
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] Cant open hdf files

2019-09-27 Thread Fielding, Eric J (US 329A)
>   Date: Wed, 25 Sep 2019 10:28:08 +0530
>From: Neeldip Barman 

>   Hi,
>  I have tried both QGIS 3.8.3 and 3.4 but QGIS cant open HDF files from
 >  MODIS. I always get this error :
 >  *"Raster layer provider is not valid". *
 > Is it a bug with the software cause? Cause in the file types .hdf file is
>   there.
>I really like using QGIS for my work for the simplicity but this issue.  
>-Neeldip
   
The NASA MODIS data is stored in a type of HDF4 file called HDF-EOS. This is 
readable by GDAL. The QGIS downloads should include GDAL, but perhaps you did 
not install GDAL during your QGIS installation? The other possibility is that 
you have GDAL installed but the file was corrupted at some step.

++Eric

___
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] [EXTERNAL] Re: Working with second band of two-band GeoTIFF

2019-06-24 Thread Fielding, Eric J (329A)
Alex,

Here is the output of gdalinfo on the file:
==
gdalinfo filt_topophase.unw.geo.tif
Driver: GTiff/GeoTIFF
Files: filt_topophase.unw.geo.tif
Size is 4866, 6076
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (104.5072225,28.7702778)
Pixel Size = (0.0002778,-0.0002778)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  ( 104.507,  28.7702778) (104d30'26.00"E, 28d46'13.00"N)
Lower Left  ( 104.507,  27.0825000) (104d30'26.00"E, 27d 4'57.00"N)
Upper Right ( 105.859,  28.7702778) (105d51'32.00"E, 28d46'13.00"N)
Lower Right ( 105.859,  27.0825000) (105d51'32.00"E, 27d 4'57.00"N)
Center  ( 105.1830556,  27.9263889) (105d10'59.00"E, 27d55'35.00"N)
Band 1 Block=512x512 Type=Float32, ColorInterp=Gray
  NoData Value=0
  Overviews: 2433x3038, 1217x1519, 609x760, 305x380, 153x190
Band 2 Block=512x512 Type=Float32, ColorInterp=Undefined
  NoData Value=0
  Overviews: 2433x3038, 1217x1519, 609x760, 305x380, 153x190
===

I can see that band two has ColorInterp=Undefined. I don't know what that means.

The GeoTIFF file is automatically generated by some SAR interferometry 
processing scripts we have and it is over 300 MB. The direct link to the file 
is:
http://hysds-urgent-response.s3-us-west-2.amazonaws.com/datasets/interferogram/v1.2/2019/06/09/S1-IFG_RM_M1S2_TN055_20190621T110015-20190609T105947_s1-resorb-1ea6-v1.2-china/merged/filt_topophase.unw.geo.tif

Thanks,
++Eric

-Original Message-
From: Alex M 

On 6/23/19 11:11, Fielding, Eric J (329A) wrote:
> I only recently switched to QGIS 3, so I am not sure whether I am missing 
something that was moved to a different place or the handling of raster layers 
changed. I am using 3.6.0 on a Mac. I have a two-band GeoTIFF image, and I want 
to run the Raster Calculator on the second band of the image. When I open the 
Raster Calculator, it only shows me band 1 of the image (image_name@1). I tried 
forcing it to use band 2 with @2, but that did not work. I looked at layer 
Export->Save As and I don’t see a way to save the second band there. I finally 
went to the terminal and used “gdal_translate -b 2” to save the second band to 
a separate file. In QGIS 2, it showed me the two bands of the image in the 
Raster Calculator. Is there a way to do this inside QGIS 3?
> 

Eric,

Can you provide a sample 2 band raster file?
Also what does the Information tab in the layer Properties show (should
be similar to gdalinfo)?

I'm wondering if it thinks your 2nd band is an Alpha/Mask layer and
treats it differently.

Thanks,
Alex


___
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] Working with second band of two-band GeoTIFF

2019-06-23 Thread Fielding, Eric J (329A)
I only recently switched to QGIS 3, so I am not sure whether I am missing 
something that was moved to a different place or the handling of raster layers 
changed. I am using 3.6.0 on a Mac. I have a two-band GeoTIFF image, and I want 
to run the Raster Calculator on the second band of the image. When I open the 
Raster Calculator, it only shows me band 1 of the image (image_name@1). I tried 
forcing it to use band 2 with @2, but that did not work. I looked at layer 
Export->Save As and I don’t see a way to save the second band there. I finally 
went to the terminal and used “gdal_translate -b 2” to save the second band to 
a separate file. In QGIS 2, it showed me the two bands of the image in the 
Raster Calculator. Is there a way to do this inside QGIS 3?

Thanks,
    ++Eric
--
Eric Fielding
NASA Jet Propulsion Lab
Pasadena, California, USA


___
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] trying to convert geotiff UTM toWGS84

2018-06-18 Thread Eric Fielding
If you want to change the projection of a raster image in QGIS, you need do a
reprojection by using the Raster->Projections->Warp (reproject) command that
sets up and runs the "gdalwarp" command. The "gdal_translate" command only
changes the format of a raster image. You have to use "gdalwarp" to do the
reprojection into a different projection.

++Eric



--
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] Plugins repository unavailable for 2.18? On MacOS

2018-05-28 Thread Fielding, Eric J (329A)
Richard,

Thanks! Now the plugins repository is working again on my Mac.

All the best,
++Eric


-Original Message-
From: Richard Duivenvoorde 
Reply-To: "rich...@duif.net" 
Date: Monday, May 28, 2018 at 12:23 AM
To: "Eric J. Fielding" , 
"qgis-user@lists.osgeo.org" 
Subject: Re: [Qgis-user] Plugins repository unavailable for 2.18? On MacOS

On 26-05-18 23:51, Richard Duivenvoorde wrote:
> On 26-05-18 23:37, Eric Fielding wrote:
>> I get this from the test (OSX Sierra 10.12.6):
>>
>> 
PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
>> None
>> None
>> 6
> 
> Thanks for reporting back.
> 
> Mmm, ok that is NOT right. I'll ask one of the devs with a mac to have a
> look. If all fails I remove plugins.qgis.org from Cloudflare caching.

Ok, confirmed here now.

I have removed the Cloudflare caching for now...

Let me know if it works or not.

Regards,

Richard Duivenvoorde



___
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] Plugins repository unavailable for 2.18? On MacOS

2018-05-26 Thread Eric Fielding
I get this from the test (OSX Sierra 10.12.6):

PyQt4.QtCore.QUrl(u'https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18')
None
None
6



--
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] QGIS UTM projection of longitudes > 180 degrees

2018-05-26 Thread Eric Fielding
Nicolas,

Thanks for the suggestion. I am trying to use "save raster layer as" in
QGIS, but it is getting the extent of the data completely wrong in the UTM
zone 14 coordinates. It seems that QGIS (2.18.2 is what I have now) is
confused about the location of raster data at longitude > 180 degrees. I
will try to change the projection outside QGIS with "gdalwarp".

++Eric


Nicolas Cadieux wrote
> Hi,
> When experiencing this kind of difficulty, I normally just save the files
> in the desired projection.  On the fly will have difficulties when
> crossing “projection limites”.  Keep in mind that reprojecting data will
> change the values so keep a back up of the original data.
> Nicolas





--
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] QGIS UTM projection of longitudes > 180 degrees

2018-05-26 Thread Eric Fielding
I have some geophysical data (subducting slab depth) that is stored in NetCDF
raster format (from this download site 
https://earthquake.usgs.gov/data/slab/models.php
  ). I am working with the
file that is for Mexico and Central America in a regular WGS84
longitude-latitude grid (CRS EPSG:4326), and it has the longitudes all as
positive numbers, i.e. from 254 to 279 degrees. When I load this in QGIS and
plot it in the original EPSG:4326 projection, it plots in the positive
longitude as expected. When I try to use the on-the-fly CRS transformation
to plot the map in UTM zone 14 (EPSG:32614), the raster does not plot. I
have other data in CRS 4326 (raster and vector) that has negative longitudes
and that plots in the UTM zone 14 map view. When I do plots with the Generic
Mapping Tools (GMT) software, it does not care whether the longitudes are
negative or > 180 degrees. Do I need to shift my gridded data to have the
negative longitudes to work with it in QGIS? 



--
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] Plugins repository unavailable for 2.18?

2018-05-26 Thread Eric Fielding
Richard Duivenvoorde wrote
> On 25-05-18 21:04, Eric Fielding wrote:
> ...
> Which, looking at it, reminds me that we had a stylesheet in it, which
> should make it appear as an html page...
> 
> Ah, fixed. Please try again.

Thanks, the stylesheet fix worked and I can now see all the plugins in my
Chrome browser as an HTML page. 

QGIS plugins manager still says that the repository is unavailable on my Mac
computer, even after I restarted QGIS and pressed the "reload repository"
button. Maybe my home ISP is blocking some part of the protocol for the QGIS
application.



--
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] Plugins repository unavailable for 2.18?

2018-05-25 Thread Eric Fielding
I also see a blank page in Google Chrome browser at that URL.



--
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] Plugins repository unavailable for 2.18?

2018-05-25 Thread Fielding, Eric J (329A)
Hello,

Has something changed about the plugins repository for version 2.18? I have not 
yet upgraded to version 3.x, and sometime in the last month or so the plugins 
repository (https://plugins.qgis.org/plugins/plugins.xml/?qgis=2.18) has 
stopped working for me.

Thanks,
++Eric Fielding

--
Eric Fielding
Jet Propulsion Lab
4800 Oak Grove Drive
Pasadena, CA   91109
USA


___
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] Spatial join with QGIS 2.18.6

2017-09-05 Thread Jan-Eric Oskarsson
Hi!

Thats correct, it went away after I uninstalled the QGIS2Compat plugin for
me too!

 

/Jan-Eric

 

Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Martin Bain
Skickat: den 5 september 2017 06:54
Till: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] Spatial join with QGIS 2.18.6

 

I had this issue too – it went away after I uninstalled the “QGIS2compat”
plugin.

 

Martin.

 

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of
Jan-Eric Oskarsson
Sent: Tuesday, 5 September 2017 11:46 AM
To: 'Parodi Ulderica' <ulderica.par...@regione.liguria.it
<mailto:ulderica.par...@regione.liguria.it> >; qgis-user@lists.osgeo.org
<mailto:qgis-user@lists.osgeo.org> 
Subject: Re: [Qgis-user] Spatial join with QGIS 2.18.6

 

Hi Ulderica!

 

I don’t think you are doing anything wrong.

I tried to install refFunctions to but it seems as the refFunctions plugin
is broken. Maybe it’s not updated for the latest QGIS versions.

I tried to find this Pluginbuilders ,Enrico Ferreguti, email-address, to
report this problem to him, but can’t find it. Maybe someone else can find
it.

 

/Jan-Eric

 

 

Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Parodi
Ulderica
Skickat: den 4 september 2017 18:33
Till: 'qgis-user@lists.osgeo.org' <qgis-user@lists.osgeo.org
<mailto:qgis-user@lists.osgeo.org> >
Ämne: [Qgis-user] Spatial join with QGIS 2.18.6

 

Today I tried to install the plugin for spatial joins but I can’t install
the needed refFunctions plugin because during installation it tells me that
the plgin is corrupt. The python message is: cannot import name uic.

 

What am I doing wrong?

Can you please give me a hint?

 

Thanks, 

 

Ulderica

 


This email is intended for the named recipient only. The information it
contains may be confidential. If you are not the intended recipient you must
not reproduce or distribute any part of this email, disclose its contents to
any other party or take any action in reliance on it. If you have received
this email in error, please contact the sender immediately and delete the
message.

___
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] Spatial join with QGIS 2.18.6

2017-09-04 Thread Jan-Eric Oskarsson
Hi Ulderica!

 

I don’t think you are doing anything wrong.

I tried to install refFunctions to but it seems as the refFunctions plugin
is broken. Maybe it’s not updated for the latest QGIS versions.

I tried to find this Pluginbuilders ,Enrico Ferreguti, email-address, to
report this problem to him, but can’t find it. Maybe someone else can find
it.

 

/Jan-Eric

 

 

Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Parodi
Ulderica
Skickat: den 4 september 2017 18:33
Till: 'qgis-user@lists.osgeo.org' <qgis-user@lists.osgeo.org>
Ämne: [Qgis-user] Spatial join with QGIS 2.18.6

 

Today I tried to install the plugin for spatial joins but I can’t install
the needed refFunctions plugin because during installation it tells me that
the plgin is corrupt. The python message is: cannot import name uic.

 

What am I doing wrong?

Can you please give me a hint?

 

Thanks, 

 

Ulderica

 

___
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] 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 = sqlite3.connect(*args, **kwargs)
db.enable_load_extension(True)
db.load_extension("mod_spatialite")
return db


and processing should work.

Hope that helps!

Eric

On Mon, Dec 19, 2016 at 10:46 AM, William G. Guthe <wgu...@princeton.edu> wrote:
> Hi,
>
>
>
> I’ve installed QGIS 2.14.3-Essen on an i386 Toughbook running Fedora 25.
> The Processing plugin is missing the pyspatialite module, so I followed
> directions at
> http://blog.oddbit.com/2015/11/17/installing-pyspatialite-on-fedora/ to
> install the dependencies and pyspatialite itself.
>
>
>
> All’s good until I get to the CFLAGS=-I/usr/include pip install pyspatialite
> line of the instructions.  I get this back:
>
>
>
> # CFLAGS=-I/usr/include pip install pyspatialite
> Collecting pyspatialite
>   Using cached pyspatialite-3.0.1-alpha-0.tar.gz
> Installing collected packages: pyspatialite
>   Running setup.py install for pyspatialite ... error
> Complete output from command /usr/bin/python -u -c "import setuptools,
> tokenize;__file__='/tmp/pip-build-ZUHKMv/pyspatialite/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> /tmp/pip-3kvpOW-record/install-record.txt
> --single-version-externally-managed --compile:
> /usr/lib/python2.7/site-packages/setuptools/dist.py:364: UserWarning:
> Normalizing '3.0.1-alpha-0' to '3.0.1a0'
>   normalized_version,
> running install
> running build
> running build_py
> creating build
> creating build/lib.linux-i686-2.7
> creating build/lib.linux-i686-2.7/pyspatialite
> copying lib/pyspatialite/dump.py ->
> build/lib.linux-i686-2.7/pyspatialite
> copying lib/pyspatialite/dbapi2.py ->
> build/lib.linux-i686-2.7/pyspatialite
> copying lib/pyspatialite/__init__.py ->
> build/lib.linux-i686-2.7/pyspatialite
> running build_ext
> creating tmp
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g
> -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC
> -I/usr/include/python2.7 -I/usr/include -c /tmp/pj_init_plus1zSZm0.c -o
> tmp/pj_init_plus1zSZm0.o
> /tmp/pj_init_plus1zSZm0.c:1:1: warning: return type defaults to ‘int’
> [-Wimplicit-int]
>  main (int argc, char **argv) {
>  ^~~~
> /tmp/pj_init_plus1zSZm0.c: In function ‘main’:
> /tmp/pj_init_plus1zSZm0.c:2:5: warning: implicit declaration of function
> ‘pj_init_plus’ [-Wimplicit-function-declaration]
>  pj_init_plus();
>  ^~~~
> gcc -pthread tmp/pj_init_plus1zSZm0.o -L/usr/lib -L/usr/lib -lm -lproj
> -o a.out
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g
> -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC
> -I/usr/include/python2.7 -I/usr/include -c
> /tmp/GEOSTopologyPreserveSimplifyJ2Z9Vr.c -o
> tmp/GEOSTopologyPreserveSimplifyJ2Z9Vr.o
> /tmp/GEOSTopologyPreserveSimplifyJ2Z9Vr.c:1:1: warning: return type
> defaults to ‘int’ [-Wimplicit-int]
>  main (int argc, char **argv) {
>  ^~~~
> /tmp/GEOSTopologyPreserveSimplifyJ2Z9Vr.c: In function ‘main’:
> /tmp/GEOSTopologyPreserveSimplifyJ2Z9Vr.c:2:5: warning: implicit
> declaration of function ‘GEOSTopologyPreserveSimplify’
> [-Wimplicit-function-declaration]
>  GEOSTopologyPreserveSimplify();
>  ^~~

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 at 1:56 PM, Heikki Vesanto
<heikki.vesa...@gmail.com> wrote:
> If you remove customise from the menu they will have to edit their registry
> to get it back. So will stop all but the most determined user.
>
> On 30 Jun 2016 19:27, "Brent Wood" <pcr...@yahoo.com> wrote:
>>
>> And how do you stop a user from turning them on again?
>>
>> Brent Wood
>>
>>
>> 
>> From: Heikki Vesanto <heikki.vesa...@gmail.com>
>> To: t...@wildintellect.com
>> Cc: qgis-user <qgis-user@lists.osgeo.org>
>> Sent: Friday, July 1, 2016 6:18 AM
>> Subject: Re: [Qgis-user] QGIS Viewer
>>
>> You can hide most of the interface using the settings>customise menu, no
>> plugin required.
>> On 30 Jun 2016 18:30, "Alex M" <tech_...@wildintellect.com> wrote:
>>
>> On 06/30/2016 09:40 AM, James Keener wrote:
>> > How are users accessing the data?  If they're connecting to a
>> > database, can you simply not give them update permission?  If it's
>> > files, can you can keep read-only master copies on a public
>> > store/shared drive?
>> >
>> > Jim
>> >
>> > On Thu, Jun 30, 2016 at 12:20 PM, Tyler Veinot <tylerkvei...@gmail.com>
>> > wrote:
>> >> Hi again;
>> >> Just wondering if there is a QGIS Viewer available, or any suggestions
>> >> as to
>> >> what I can use that is open source with some basic spatial search
>> >> capabilities and can view filegeodatabases?
>> >>
>> >> I have been deploying QGIS to our staff to view our GIS Data and I am
>> >> starting to get a little nervous where someone could easily do some
>> >> awesome
>> >> geoprocessing damage to our data if they got to messing about. So does
>> >> QGIS
>> >> have something like Esri's Arc Explorer?
>> >>
>> >> Thanks
>> >> Tyler
>> >>
>>
>> The other approach I've seen is to use a plugin to disable and hide most
>> of the interface.
>>
>> Thanks,
>> Alex
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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 export the lookup codes/values for loading into a Postgres table.

Hope that helps!
Eric

On Mon, Jun 6, 2016 at 10:59 AM Michael Treglia <mtreg...@gmail.com> wrote:

> Hi All,
>
> I'm trying to work with a planimetric dataset available here:
> https://data.cityofnewyork.us/Transportation/NYC-Planimetrics/wt4d-p43d,
> which is available in a FileGDB format.
>
> When I load the layers from the gdb in QGIS, some fields are field with
> numeric values (e.g., entries in the PARK layer, for the FEATURE_CODE
> column are integers). However, when I load the gdb in Arc, FEATURE_CODE is
> filled with string entries (e.g,  'Park Boundary'). Thus, it seems like
> ESRI uses a lookup table or something on this. Does anybody have experience
> in dealing with this type of issue? Is there a good way to deal with this
> via QGIS or OGR? (I'm ultimately wanting to import the data to PostGIS,
> where the same issue is occurring, using org2ogr)
>
> Thanks!
> Mike
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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 <egoddard1...@gmail.com> wrote:
> Thanks Nathan, looking forward to 2.16 :)
>
> In the meantime I'm working on a plugin similar to the ArkPlan
> georeferencer (using the GeorefGraphicsView from ArkPlan) , but I'm
> going to temporarily use the hacky solution until I can get that
> finished, which brings me to my next question:
>
> If I I iterate over iface.rasterMenu().actions() and print each item's
> objectName, the only ones that show up are
> mActionShowRasterCalculator, mActionShowAlignRasterTool, and settings;
> the rest are empty strings. If I print each item's text, I get the
> menu text for each submenu on the rasterMenu, so the Georeferencer
> shows up as "". How do I access the actions on the
> submenus within the rasterMenu()?
>
> Just out of curiosity I did the same iteration over
> iface.rasterMenu().children(), which lists only one QMenu object
> (Terrain Analysis).
>
> Thanks for all of the feedback!
> Eric
>
> On Sat, Mar 26, 2016 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 2016 at 00:03, Eric Goddard <egoddard1...@gmail.com> wrote:
>>> > Awesome, thanks John. We have about the same number of images to georef
>>> > so
>>> > that will be a big help. I looked at the georeferencer code which is how
>>> > I
>>> > discovered that some of the properties were stored in QSettings. I'm not
>>> > too
>>> > familiar with c++ though, but since the qgis api can be used to do
>>> > custom
>>> > applications I was hoping for a constructor for the georeferencer that I
>>> > could use.
>>>
>>> I did look at forking the C++ georeferencer and adapting it, or
>>> perhaps creating my own python bindings using SIP, but the thought of
>>> having to maintain and install compiled versions for all three
>>> platforms just seemed more hassle, even though I am a C++ developer.
>>>
>>> Trying to think of hacky ways to do this you could trigger the
>>> mActionRunGeoref QAction via QgisInterface.rasterMenu().actions(), but
>>> that would only open the georeferencer, it wouldn't get you having the
>>> right file preselected, there simply isn't an api or setting to do
>>> that. I guess it would allow you to have a plugin that when clicked on
>>> presets the settings you need (including directory) before launching
>>> the georeferencer.
>>>
>>> The ideal would be to move a lot of the code into the public api with
>>> python bindings and have a processing plugin so it can be python
>>> scriptable, but I just don't have the time to do that. One day the
>>> poor usability will get too much though and I will fix it...
>>>
>>> John.
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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

2016-03-28 Thread Eric Goddard
Thanks Nathan, looking forward to 2.16 :)

In the meantime I'm working on a plugin similar to the ArkPlan
georeferencer (using the GeorefGraphicsView from ArkPlan) , but I'm
going to temporarily use the hacky solution until I can get that
finished, which brings me to my next question:

If I I iterate over iface.rasterMenu().actions() and print each item's
objectName, the only ones that show up are
mActionShowRasterCalculator, mActionShowAlignRasterTool, and settings;
the rest are empty strings. If I print each item's text, I get the
menu text for each submenu on the rasterMenu, so the Georeferencer
shows up as "". How do I access the actions on the
submenus within the rasterMenu()?

Just out of curiosity I did the same iteration over
iface.rasterMenu().children(), which lists only one QMenu object
(Terrain Analysis).

Thanks for all of the feedback!
Eric

On Sat, Mar 26, 2016 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 2016 at 00:03, Eric Goddard <egoddard1...@gmail.com> wrote:
>> > Awesome, thanks John. We have about the same number of images to georef
>> > so
>> > that will be a big help. I looked at the georeferencer code which is how
>> > I
>> > discovered that some of the properties were stored in QSettings. I'm not
>> > too
>> > familiar with c++ though, but since the qgis api can be used to do
>> > custom
>> > applications I was hoping for a constructor for the georeferencer that I
>> > could use.
>>
>> I did look at forking the C++ georeferencer and adapting it, or
>> perhaps creating my own python bindings using SIP, but the thought of
>> having to maintain and install compiled versions for all three
>> platforms just seemed more hassle, even though I am a C++ developer.
>>
>> Trying to think of hacky ways to do this you could trigger the
>> mActionRunGeoref QAction via QgisInterface.rasterMenu().actions(), but
>> that would only open the georeferencer, it wouldn't get you having the
>> right file preselected, there simply isn't an api or setting to do
>> that. I guess it would allow you to have a plugin that when clicked on
>> presets the settings you need (including directory) before launching
>> the georeferencer.
>>
>> The ideal would be to move a lot of the code into the public api with
>> python bindings and have a processing plugin so it can be python
>> scriptable, but I just don't have the time to do that. One day the
>> poor usability will get too much though and I will fix it...
>>
>> John.
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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

2016-03-25 Thread Eric Goddard
Awesome, thanks John. We have about the same number of images to georef so
that will be a big help. I looked at the georeferencer code which is how I
discovered that some of the properties were stored in QSettings. I'm not
too familiar with c++ though, but since the qgis api can be used to do
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 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.
>
> As far as I'm aware you can't, it's written as a separate C++ plugin
> and none of the code is accessible via python, in particular launching
> it with a given image. See
> https://github.com/qgis/QGIS/tree/master/src/plugins/georeferencer for
> the code. I wish the code was available via api calls and more
> scriptable, I could sure use it myself.
>
> For our own far simpler special use case when I had to georeference
> 3000 plans to preset grid points I wrote our own plugin gui to load
> the images, set the gcp's and made the calls out to gdal directly
> (reduced the effort from 42 clicks per image to just 6, so well worth
> it). It could be adaptable to your use case, you can see the code at
> https://github.com/lparchaeology/ArkPlan/tree/master/georef, feel free
> to use any of it. You'd need to change it to have a single image view
> that takes multiple gcp's, and then get the map points from the main
> canvas (see
> https://github.com/lparchaeology/ArkPlan/blob/master/grid/grid_wizard.py
> for how to do that), but it shouldn't take too much work.
>
> If it is useful, let me know, I've been meaning to spin it off as it's
> own plugin for some time and having another use case would justify the
> effort in generalising it :-)
>
> John.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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> wrote:
> Hi Nicolas,
>
> Thanks for the feedback. The script solution won't really work for us since
> we don't have pre-existing GCPs to use in the scripts. We need to use the
> georeferencer so we can place and make adjustments to the GCPs.
>
> Eric
>
>
> On Mar 24, 2016 1:07 PM, "Nicolas Cadieux" <nicolas.cadi...@archeotec.ca>
> wrote:
>>
>> Hi,
>>
>> The easiest way probably is to use Python to write a batch files
>> containing the gdal scripts.  Then you open this .bat in the Osgeo4w shell
>> and everything gets done.
>>
>> This way, all you need to do is query the file name or 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]" <[hidden email]>
>> wrote:
>>
>> 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 settings such as the transformation type, resampling
>> method, target srs, output image and report paths.
>>
>> I'm having some trouble working through the QGIS API documentation
>> though; does anyone know if it is possible to launch the georeferencer
>> window and set some of the transformation settings from python? So far
>> I've only been able to find examples of opening a processing tool's
>> GUI from python.
>>
>> Thanks!
>> Eric
>> ___
>> Qgis-user mailing list
>> > href="/user/SendEmail.jtp?typenodenode5258224i0">[hidden
>> email]
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> 
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://osgeo-org.1560.x6.nabble.com/creating-a-python-plugin-to-autopopulate-some-of-the-Georeferencer-properties-tp5258224.html
>> To start a new topic under Quantum GIS - User, email
>> ml-node+s1560n4125267...@n6.nabble.com
>> To unsubscribe from Quantum GIS - User, > href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macrounsubscribe_by_codenode4125267codebmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg;>click
>> here.
>> > href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macromacro_vieweridinstant_html%21nabble%3Aemail.namlbasenabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbsnotify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml;
>> style="font:9px serif">NAML
>>
>>
>> 
>> View this message in context: Re: creating a python plugin to autopopulate
>> some of the Georeferencer properties
>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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

2016-03-25 Thread Eric Goddard
Hi Nicolas,

Thanks for the feedback. The script solution won't really work for us since
we don't have pre-existing GCPs to use in the scripts. We need to use the
georeferencer so we can place and make adjustments to the GCPs.

Eric


On Mar 24, 2016 1:07 PM, "Nicolas Cadieux" <nicolas.cadi...@archeotec.ca>
wrote:

> Hi,
>
> The easiest way probably is to use Python to write a batch files
> containing the gdal scripts.  Then you open this .bat in the Osgeo4w shell
> and everything gets done.
>
> This way, all you need to do is query the file name or 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]" <[hidden email]
> <http:///user/SendEmail.jtp?type=node=5258232=0>> wrote:
>
> 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 settings such as the transformation type, resampling
> method, target srs, output image and report paths.
>
> I'm having some trouble working through the QGIS API documentation
> though; does anyone know if it is possible to launch the georeferencer
> window and set some of the transformation settings from python? So far
> I've only been able to find examples of opening a processing tool's
> GUI from python.
>
> Thanks!
> Eric
> ___
> Qgis-user mailing list
>  href="/user/SendEmail.jtp?typenodenode5258224i0">[hidden
> email]
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.x6.nabble.com/creating-a-python-plugin-to-autopopulate-some-of-the-Georeferencer-properties-tp5258224.html
> To start a new topic under Quantum GIS - User, email
> ml-node+s1560n4125267...@n6.nabble.com
> To unsubscribe from Quantum GIS - User, http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macrounsubscribe_by_codenode4125267codebmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg;>click
> here.
> http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macromacro_vieweridinstant_html%21nabble%3Aemail.namlbasenabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbsnotify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macromacro_viewerid&%2361;instant_html%21nabble%3Aemail.namlbase&%2361;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs&%2361;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>"
> style="font:9px serif">NAML
>
>
> --
> View this message in context: Re: creating a python plugin to
> autopopulate some of the Georeferencer properties
> <http://osgeo-org.1560.x6.nabble.com/creating-a-python-plugin-to-autopopulate-some-of-the-Georeferencer-properties-tp5258224p5258232.html>
> Sent from the Quantum GIS - User mailing list archive
> <http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html> at
> Nabble.com.
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[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 settings such as the transformation type, resampling
method, target srs, output image and report paths.

I'm having some trouble working through the QGIS API documentation
though; does anyone know if it is possible to launch the georeferencer
window and set some of the transformation settings from python? So far
I've only been able to find examples of opening a processing tool's
GUI from python.

Thanks!
Eric
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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 I use the SAGA Rgb Composite tool
 under SAGA\Grid-Visualization\ to stack Landsat scenes. It limits you to
 three bands which is a bummer, but works well. The tool output is rescaled
 to 8-bit, so you shouldn't use the stacked imagery for change analysis
 later, but it’s great for visualization.
 The GRASS Raster tool r.composite will also stack, but the SAGA tool seems
 to handle Landsat 7 SLC-off data gaps better.
 I’m new to QGIS, so some of the above might be wrong...
 Carl




 --
 View this message in context: 
 http://osgeo-org.1560.x6.nabble.com/Stacking-Landsat-Bands-tp5172804p5172838.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 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

[Qgis-user] Newbie: New Shapefile Layer Won't Save

2014-04-22 Thread eric

I'm pretty sure this is basic, but I'm stymied.
 
QGis 2.2.0
Running on Windows 7 Pro
Plugins: A M  Flightplanner, OpenLayers, GRASS
 
Attempting: Layer -New-New Shapefile Layer; Select Polygon,
 
When I try to Save the New Shapefile Layer I get the following error mssg:
 
Creation of OGR data source C:/Program Files (x86)/QGIS 
Valmiera/bin/example.shp failed: Failed to open Shapefile 'C:/Program Files 
(x86)/QGIS Valmiera/bin\example.shp'___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

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, AntonioLocandro antoniolocan...@hotmail.com
wrote:

 Try something like this

 http://gis.stackexchange.com/questions/10117/how-to-clip-a-raster-with-vector-boundaries



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Partitioning-an-Ortho-tp5131985p5133313.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 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 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 `FWA_LINEAR_BOUNDARIES_SP.gdb'
  using driver `FileGDB' successful.

However, it should have also printed detailed information about the
feature classes in the geodatabase, which it didn't. Not sure what is
going on in the gdb. I was able to open it with ArcMap (checked the
version with arcpy).

On Thu, Mar 27, 2014 at 12:05 PM, Clifford Snow cliff...@snowandsnow.us wrote:

 On Thu, Mar 27, 2014 at 8:32 AM, cdp cdapo...@synergyaspen.ca wrote:

 The data is supposed to be an Esri file geodatabase created with ArcGIS
 10.1.

 The data  is stream network data from the BC provincial government and can
 be found at the following FTP location if anyone wants to try it out on
 their end (no login info required)

 ftp.geobc.gov.bc.ca/pub/outgoing/FWA_Public

 There you will find 4 zipped files. Download the smallest of them and let
 me
 know what you find. that should be

 FWA_LINEAR_BOUNDARIES_SP.gdb.zip


 ogrinfo -al just reports:
 INFO: Open of `FWA_LINEAR_BOUNDARIES_SP.gdb'
   using driver `FileGDB' successful.

 I'm able to open other FileGDBs. I wonder if someone with ArcGIS can open
 this file?

 Clifford
 --
 @osm_seattle
 osm_seattle.snowandsnow.us
 OpenStreetMap: Maps with a human touch

 ___
 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 opening .GDB (v 10.1) using QGIS

2014-03-27 Thread Eric Goddard
In another thread about QGIS and FileGeodatabases, there is a link to
the OpenFileGDB driver [1]. It mentions a different type of
compression that the fileGDB API doesn't support. It doesn't appear
that the FWA_LINEAR_BOUNDARIES_SP.gdb has that type of compression so
it should be able to load in theory.

I tried opening the GDB in QGIS and got the red bar at the top with
the invalid data message like you. Once that failed, we both used the
ogrinfo (QGIS uses the OGR library to read FileGDBs) command line tool
to see if OGR could open the geodatabase. It said it could, but it is
failing because it did not report detailed information about the
feature classes in the the database like it should have since the
'-al' flag was used. Since OGR can't open the file geodatabase, QGIS
can't read it.

 [1] http://erouault.blogspot.com/2014/01/ogr-openfilegdb-driver.html

On Thu, Mar 27, 2014 at 12: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 that it was successfully opened:
 INFO: Open of `FWA_LINEAR_BOUNDARIES_SP.gdb'
   using driver `FileGDB' successful.

 However, it should have also printed detailed information about the
 feature classes in the geodatabase, which it didn't. Not sure what is
 going on in the gdb. I was able to open it with ArcMap (checked the
 version with arcpy).

 On Thu, Mar 27, 2014 at 12:05 PM, Clifford Snow cliff...@snowandsnow.us 
 wrote:

 On Thu, Mar 27, 2014 at 8:32 AM, cdp cdapo...@synergyaspen.ca wrote:

 The data is supposed to be an Esri file geodatabase created with ArcGIS
 10.1.

 The data  is stream network data from the BC provincial government and can
 be found at the following FTP location if anyone wants to try it out on
 their end (no login info required)

 ftp.geobc.gov.bc.ca/pub/outgoing/FWA_Public

 There you will find 4 zipped files. Download the smallest of them and let
 me
 know what you find. that should be

 FWA_LINEAR_BOUNDARIES_SP.gdb.zip


 ogrinfo -al just reports:
 INFO: Open of `FWA_LINEAR_BOUNDARIES_SP.gdb'
   using driver `FileGDB' successful.

 I'm able to open other FileGDBs. I wonder if someone with ArcGIS can open
 this file?

 Clifford
 --
 @osm_seattle
 osm_seattle.snowandsnow.us
 OpenStreetMap: Maps with a human touch

 ___
 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] 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 in qgis without having to spend the time to actually mosaic all
of them together. Load the resulting vrt file into qgis using add raster
and clip the vrt to your polygon layer using raster - extraction -
clipper.

Eric
On Mar 3, 2014 3:53 PM, Asher Kamiraze asher.kamir...@gmail.com wrote:

 Hi all,

 I have a set of more than 200 ecw rasters that I can easily load in QGIS.
 I also have a vector polygon layer which bounds an area covering a part of
 the area covered by the whole set of rasters. What I would like to do is to
 extract only, the raster which are intersected by the vector boundary. As a
 final goal, I would like to only mosaic thoses images. I did not found a
 way to easily do this in QGIS. Any idea on how to achieve this?

 As a workaround, I have opened only the raster intersecting the vector,
 and would like to mosaic them. However, it does not seem to be a function
 in QGIS ready to mosaic all opened (or selected) rasters. Any idea on how
 to automate the process?

 Hope you could help

 Regards

 ___
 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] Selecting rasters with vector layer

2014-03-03 Thread Eric Goddard
Yes, you should be able to choose ECW from the files of type drop down in
the output file selection dialog and select ECW.

Eric


On Mon, Mar 3, 2014 at 4:48 PM, Asher Kamiraze asher.kamir...@gmail.comwrote:

 Thanks Eric, sounds really good. Is there a way to save the resulting file
 (clipped) 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 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 in qgis without having to spend the time to actually mosaic all
 of them together. Load the resulting vrt file into qgis using add raster
 and clip the vrt to your polygon layer using raster - extraction -
 clipper.

 Eric
 On Mar 3, 2014 3:53 PM, Asher Kamiraze asher.kamir...@gmail.com
 wrote:

 Hi all,

 I have a set of more than 200 ecw rasters that I can easily load in
 QGIS. I also have a vector polygon layer which bounds an area covering a
 part of the area covered by the whole set of rasters. What I would like to
 do is to extract only, the raster which are intersected by the vector
 boundary. As a final goal, I would like to only mosaic thoses images. I did
 not found a way to easily do this in QGIS. Any idea on how to achieve this?

 As a workaround, I have opened only the raster intersecting the vector,
 and would like to mosaic them. However, it does not seem to be a function
 in QGIS ready to mosaic all opened (or selected) rasters. Any idea on how
 to automate the process?

 Hope you could help

 Regards

 ___
 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] MrSID raster and QGIS in linux

2013-12-04 Thread Eric Goddard
You will need to remove the --with-postgres=yes and
--with-postgres-includes=/usr/include/postgresql options. As for the
lex error, you should be able to fix that by running

sudo apt-get install flex

on the command line before configuring.

On Wed, Dec 4, 2013 at 1:42 AM, Glenn Hunt hunt.gl...@gmail.com wrote:
 Hi Eric,

 I decided not to compile postgis but do I then need to change the configure
 line for compiling grass 64? I just tried to compile now using the full text
 in your document and got an error right at the beginning.

 checing for lex... no
 configure: error: *** Unable 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 with
 synaptic, or simply don't compile postgis if you never use it.

 On Tue, Dec 3, 2013 at 11:07 AM, BigBaka hunt.gl...@gmail.com wrote:

 Re configured, make, and make installed gdal. Moved onto the postgis
 Downloaded package but when in tried to configure i got an error

 checking for pg_config... no
 configure: error: could not find pg_config within 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 the ./configure, make, and make install
 lines.

 On Tue, Dec 3, 2013 at 10:21 AM, BigBaka [hidden email] wrote:

 After posting that I went into synaptic and installed geotiff 1.4.
 Following
 that it seems it worked.
 Values for GEOTIFF_INCLUDE_DIR and GEOTIFF_LIBRARY
 are usr/include/geotiff and usr/lib/libgeotiff.so respectively now.

 I did manage to get the gdal compiled without geotiff, but I'm not sure
 there may have been some errors that I just overlooked. Would you
 recommend
 starting from the beginning again, or just keep going as is?

 Regards,
 BB



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092439.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user

 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user


 
 If you reply to this email, your message will be added to the discussion
 below:
 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092441.html
 To unsubscribe from MrSID raster and QGIS in linux, click here.
 NAML



 
 View this message in context: Re: MrSID raster and QGIS in linux

 Sent from the Quantum GIS - User mailing list archive at Nabble.com.

 ___
 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] MrSID raster and QGIS in linux

2013-12-04 Thread Eric Goddard
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 care of the curses error., and the
libxmu-dev package will fix the X error. Did you paste the whole chunk
of dependencies in as a single line?



On Wed, Dec 4, 2013 at 3:04 AM, BigBaka hunt.gl...@gmail.com wrote:
 Hi Eric,

 Am I missing some compiling package? I also had to download a program called
 bison. Now I getting an error Unable to locate curses. 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 to remove the --with-postgres=yes and
 --with-postgres-includes=/usr/include/postgresql options. As for the
 lex error, you should be able to fix that by running

 sudo apt-get install flex

 on the command line before configuring.

 On Wed, Dec 4, 2013 at 1:42 AM, Glenn Hunt [hidden email] wrote:

 Hi Eric,

 I decided not to compile postgis but do I then need to change the
 configure
 line for compiling grass 64? I just tried to compile now using the full
 text
 in your document and got an error right at the beginning.

 checing for lex... no
 configure: error: *** Unable 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 with
 synaptic, or simply don't compile postgis if you never use it.

 On Tue, Dec 3, 2013 at 11:07 AM, BigBaka [hidden email] wrote:

 Re configured, make, and make installed gdal. Moved onto the postgis
 Downloaded package but when in tried to configure i got an error

 checking for pg_config... no
 configure: error: could not find pg_config within 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 the ./configure, make, and make install
 lines.

 On Tue, Dec 3, 2013 at 10:21 AM, BigBaka [hidden email] wrote:

 After posting that I went into synaptic and installed geotiff 1.4.
 Following
 that it seems it worked.
 Values for GEOTIFF_INCLUDE_DIR and GEOTIFF_LIBRARY
 are usr/include/geotiff and usr/lib/libgeotiff.so respectively now.

 I did manage to get the gdal compiled without geotiff, but I'm not sure
 there may have been some errors that I just overlooked. Would you
 recommend
 starting from the beginning again, or just keep going as is?

 Regards,
 BB



 --
 View this message in context:

 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092439.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user

 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user


 
 If you reply to this email, your message will be added to the discussion
 below:

 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092441.html
 To unsubscribe from MrSID raster and QGIS in linux, click here.
 NAML



 
 View this message in context: Re: MrSID raster and QGIS in linux

 Sent from the Quantum GIS - User mailing list archive at Nabble.com.

 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user

 .


 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user


 
 If you reply to this email, your message will be added to the discussion
 below:
 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092585.html
 To unsubscribe from MrSID raster and QGIS in linux, click here.
 NAML



 
 View this message in context: Re: MrSID raster and QGIS in linux
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.

 ___
 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] MrSID raster and QGIS in linux

2013-12-04 Thread Eric Goddard
In Ubuntu 13.04 opencl is provided by the opencl-headers package. You
probably won't actually need that option though, so I would just
remove --with-opencl=yes from the configure options.

On Wed, Dec 4, 2013 at 7:01 AM, BigBaka hunt.gl...@gmail.com wrote:
 Hello again Eric,

 So on the configure grass 7 for compilation I got another error.


 Similar to gdal I took the postgis lines out of configure and wrote as such
 ./configure --prefix=/usr/local/grass70 --enable-largefile --with-sqlite
 --with-freetype=yes --with-freetype-includes=/usr/include/freetype2
 --with-proj-share=/usr/share/proj --with-python --with-cxx --with-wxwidgets
 --with-tcltk-includes=/usr/include/tcl8.5 --with-odbc=yes --enable-64bit
 --with-geos=yes --with-openmp=yes --with-liblas=yes --with-cairo=yes
 --with-opencl=yes --with-pthread=yes

 seemed to go OK until it crashed trying to locate the OpenCL library...

 checking for pthread_create... no
 checking for pthread_create in -lpthread... yes
 checking whether to use OpenMP... yes
 checking for location of OpenMP includes...
 checking for omp.h... yes
 checking for location of OpenMP library...
 checking for GOMP_parallel_start... no
 checking for GOMP_parallel_start in -lgomp... yes
 checking whether to use OpenCL... yes
 checking for location of OpenCL includes...
 checking for CL/cl.h... yes
 checking for location of OpenCL library...
 checking for clGetPlatformInfo in -lOpenCL... no
 configure: error: *** Unable to locate OpenCL library.


 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 care of the curses error., and the
 libxmu-dev package will fix the X error. Did you paste the whole chunk
 of dependencies in as a single line?



 On Wed, Dec 4, 2013 at 3:04 AM, BigBaka [hidden email] wrote:

 Hi Eric,

 Am I missing some compiling package? I also had to download a program
 called
 bison. Now I getting an error Unable to locate curses. 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 to remove the --with-postgres=yes and
 --with-postgres-includes=/usr/include/postgresql options. As for the
 lex error, you should be able to fix that by running

 sudo apt-get install flex

 on the command line before configuring.

 On Wed, Dec 4, 2013 at 1:42 AM, Glenn Hunt [hidden email] wrote:

 Hi Eric,

 I decided not to compile postgis but do I then need to change the
 configure
 line for compiling grass 64? I just tried to compile now using the full
 text
 in your document and got an error right at the beginning.

 checing for lex... no
 configure: error: *** Unable 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 with
 synaptic, or simply don't compile postgis if you never use it.

 On Tue, Dec 3, 2013 at 11:07 AM, BigBaka [hidden email] wrote:

 Re configured, make, and make installed gdal. Moved onto the postgis
 Downloaded package but when in tried to configure i got an error

 checking for pg_config... no
 configure: error: could not find pg_config within 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 the ./configure, make, and make install
 lines.

 On Tue, Dec 3, 2013 at 10:21 AM, BigBaka [hidden email] wrote:

 After posting that I went into synaptic and installed geotiff 1.4.
 Following
 that it seems it worked.
 Values for GEOTIFF_INCLUDE_DIR and GEOTIFF_LIBRARY
 are usr/include/geotiff and usr/lib/libgeotiff.so respectively now.

 I did manage to get the gdal compiled without geotiff, but I'm not sure
 there may have been some errors that I just overlooked. Would you
 recommend
 starting from the beginning again, or just keep going as is?

 Regards,
 BB



 --
 View this message in context:


 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092439.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user

 ___
 Qgis-user mailing list
 [hidden email]
 http

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 mind that if you only want to compile QGIS you don't have to
compile LASzip, libLAS, or GRASS 7.

Eric

On Tue, Dec 3, 2013 at 9:49 AM, BigBaka hunt.gl...@gmail.com wrote:
 Hi Eric,

 Thanks for this link to install MrSID/ECW support on ubuntu. I'm using 12.04
 64 bit. Have been trying to follow your instructions but ran into trouble
 when trying to configure and compile ilbLAS at this point

 #Same as LASZip, click configure, select unix makefiles.
 #This time there will be more options. Check the boxes beside WITH_GDAL,
 WITH_GEOTIFF, #and WITH_LASZIP and click configure again. If no errors are
 reported you can click #“Generate” #and close cmake-gui.

 After checking the 3 boxes as directed when I click configure the second
 time I get the following readout with errors reported on GEOTIFF.

 Setting libLAS build type - Release
 Searching for Boost 1.38+ - done
 Searching for LASzip 2.0.1+ library
 Found LASzip version: 2.2.0
 Searching for GDAL 1.7.0+ library
 Searching for GeoTIFF 1.2.5+ library
 Could NOT find GeoTIFF (missing:  GEOTIFF_LIBRARY GEOTIFF_INCLUDE_DIR)
 (Required is at least version 1.2.5)
 CMake Error at CMakeLists.txt:270 (message):
   GDAL support requires GeoTIFF library which was not selected

 Configuring incomplete, errors occurred!

 Do you have any advice as to what I could do to fix this?

 Regards,
 BigBaka



 --
 View this message in context: 
 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092429.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 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] 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 it seems it worked.
 Values for GEOTIFF_INCLUDE_DIR and GEOTIFF_LIBRARY
 are usr/include/geotiff and usr/lib/libgeotiff.so respectively now.

 I did manage to get the gdal compiled without geotiff, but I'm not sure
 there may have been some errors that I just overlooked. Would you recommend
 starting from the beginning again, or just keep going as is?

 Regards,
 BB



 --
 View this message in context: 
 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092439.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 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] MrSID raster and QGIS in linux

2013-12-03 Thread Eric Goddard
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 with
synaptic, or simply don't compile postgis if you never use it.

On Tue, Dec 3, 2013 at 11:07 AM, BigBaka hunt.gl...@gmail.com wrote:
 Re configured, make, and make installed gdal. Moved onto the postgis
 Downloaded package but when in tried to configure i got an error

 checking for pg_config... no
 configure: error: could not find pg_config within 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 the ./configure, make, and make install
 lines.

 On Tue, Dec 3, 2013 at 10:21 AM, BigBaka [hidden email] wrote:

 After posting that I went into synaptic and installed geotiff 1.4.
 Following
 that it seems it worked.
 Values for GEOTIFF_INCLUDE_DIR and GEOTIFF_LIBRARY
 are usr/include/geotiff and usr/lib/libgeotiff.so respectively now.

 I did manage to get the gdal compiled without geotiff, but I'm not sure
 there may have been some errors that I just overlooked. Would you
 recommend
 starting from the beginning again, or just keep going as is?

 Regards,
 BB



 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092439.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 ___
 Qgis-user mailing list
 [hidden email]
 http://lists.osgeo.org/mailman/listinfo/qgis-user


 
 If you reply to this email, your message will be added to the discussion
 below:
 http://osgeo-org.1560.x6.nabble.com/MrSID-raster-and-QGIS-in-linux-tp5090885p5092441.html
 To unsubscribe from MrSID raster and QGIS in linux, click here.
 NAML



 
 View this message in context: Re: MrSID raster and QGIS in linux

 Sent from the Quantum GIS - User mailing list archive at Nabble.com.

 ___
 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] 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 you have to compile gdal with MrSid
support. Because MrSid is proprietary, gdal can't be distributed with
support built in. I wrote a guide for some friends for compiling the
GIS stack with MrSid/ECW support, but it is for ubuntu-based systems.
I'm posting the link here, perhaps it will help in getting it set up
in Fedora. Most of the actual compilation instructions should work,
but the dependencies and paths will be different.

https://docs.google.com/document/d/1TjWU_9gnUkayVAky3GGanPaQT-t453HLcWrITZX5Zrc/edit?usp=sharing

Eric

On Sun, Nov 24, 2013 at 10:16 AM, Randal Hale
rjh...@northrivergeographic.com wrote:
 There isn't - Mr Sid and ECW are proprietary image formats. If you are on a
 windows machine they get a separate library/file/gdal type plugin and if you
 are on a linux machine your just crap outta luck. I've actually been playing
 around with building sid support into gdal (which is another long story).

 The best you can do is to decompress the image using the Sid decoder
 (downloaded from Lizardtech). Just hope you don't have an overly compressed
 sid image that blows up to 160GB on decompression.

 The next best thing we could do is figure out some way to get this back into
 linux. If I had the coding chops I would do it...since I'm diving into
 fantasy currently I would also date Jennifer Lawrence.

 Randy

 -
 Randal Hale, GISP
 North River Geographic Systems, Inc
 http://www.northrivergeographic.com
 423.653.3611 rjh...@northrivergeographic.com
 mailto:rjh...@northrivergeographic.com
 twitter:rjhale
 http://about.me/rjhale


 On 11/24/2013 11:05 AM, john polo wrote:

 Hello,
 I am using Fedora 19 on a 32 bit machine. I had installed QGIS 1.8 and the
 GDAL packages, but was not able to use .sid rasters from the geospatial
 gateway that the feds run. I was getting an error message saying that it was
 not a supported raster source when I tried to load the file. Is there
 perhaps an additional package that's not obvious to a newb that would help
 with support for MrSID in Fedora?

 john
 ___
 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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[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,
Eric
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Selection tool outline color

2013-10-18 Thread Eric Goddard
Hi Lene,

Unfortunately that is the option that changes the color of the selected
features. If, for example, one were using the select features by polygon
tool, I want to change the outline color of the polygon that is drawn on
the canvas.

Thanks,
Eric


On Fri, Oct 18, 2013 at 3:08 PM, Lene 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:* qgis-user
 *Emne:* [Qgis-user] Selection tool outline color

   Hi all,
 nd
 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,
 Eric


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

Re: [Qgis-user] Selection tool outline color

2013-10-18 Thread Eric Goddard
Hi Lene,

I'm not concerned with the colors of the features themselves, but with the
very light gray selection box when using the select by polygon tool. It is
difficult to see what is being selected when the features have light
colors, and its always difficult to see the line on a white background. See
attached image for clarification. I've searched the web and scoured the
settings with no luck. I don't think it can be modified at this point, but
that would be a nice feature.

[image: Inline image 1]

Thanks,
Eric



On Fri, Oct 18, 2013 at 9:13 PM, Lene Fischer l...@life.ku.dk wrote:

  Hi 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
 *Emne:* Re: [Qgis-user] Selection tool outline color

   Hi Lene,

  Unfortunately that is the option that changes the color of the selected
 features. If, for example, one were using the select features by polygon
 tool, I want to change the outline color of the polygon that is drawn on
 the canvas.

  Thanks,
 Eric


 On Fri, Oct 18, 2013 at 3:08 PM, Lene 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:* qgis-user
 *Emne:* [Qgis-user] Selection tool outline color

   Hi all,
 nd
  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,
 Eric




selection_tool1.png___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/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 option in the installer.

Hope that helps.
Eric


On Wed, Sep 25, 2013 at 9:36 AM, Anne Quesnel aques...@univ-lille2.frwrote:

 Dear all,
 objet: installation problem for advanced GIS under windows 7

 After several tests with the downloaded file called osgeo4w-setup.exe, I
 met an access problem error : refused access to the mount
 I ve disconnected the antivarus software

 Do you have any idea to resolve this problem?


 Thank you for your attention
 BW
 AQ


 --
 Quesnel Anne - Dr en Géographie quantitative; Géomatique en Santé.
 http://quesnela.free.fr/
 Mobile: 06 58 06 68 08
 Télécharger ma thèse de doctorat
 http://tel.ccsd.cnrs.fr/documents/archives0/00/00/96/22/index_fr.html
 --


 ___
 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] 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 variables:
 GRASS_INCLUDE_DIR/usr/local/grass-7.0.svn/include
  GRASS_PREFIX /usr/local/grass-7.0.svn
 while configure i got this error:

 CMake Error at src/providers/grass/CMakeLists.txt:419 (FILE):
file Internal CMake error when trying to open file:
/usr/local/grass-7.0.svn/include/grass/gisdefs.h for reading.

 I checked into grass-7.0-svn dir, and I dind't find gisdefs.h,
 seems to be removed from grass_trunk sources.

 Is it right?

 How can I compile anyway?

 Regards

 E.

 ___
 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] 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 to import pyspatialite
outside of QGIS. From within a python script you can :

import sys

sys.path.append(r/home/tgrossen/Apps/QGIS/share/qgis/python)

from pyspatialite import dbapi2 as db


Hope that helps.

Eric


On Feb 11, 2013 9:22 AM, Timo Grossenbacher wnstns...@yahoo.com wrote:

 I built the latest QGIS version on Ubuntu 12.04, following exactly these
 steps:

 http://www.qgis.org/api/INSTALL.html#toc3

 The only things I changed in ccmake .. were setting
 CMAKE_INSTALL_PREFIX=/home/tgrossen/Apps/QGIS and WITH_PYSPATIALITE=ON

 Before make install, I conducted tests with make test:
 93% tests passed, 4 tests failed out of 57

 Total Test time (real) = 297.32 sec

 The following tests FAILED:
   9 - qgis_rasterlayertest (Failed)
  28 - qgis_composerhtmltest (Failed)
  41 - PyQgsRasterLayer (Failed)
  51 - PyQgsComposerMap (Failed)
 Errors while running CTest
 make: *** [test] Error 8

 As you can see, make test itself crashed.

 After make install, I also had to do this:
 http://hub.qgis.org/wiki/quantum-gis/Building_QGIS_from_Source, which
 fortunately worked.

 Anyway,there are several things that are weird when executing the qgis
 binary:

 tgrossen@tgrossen-VirtualBox:~/Apps/QGIS/bin$ ./qgis
 Warning: loading of qgis translation failed
 [/home/tgrossen/Apps/QGIS/share/qgis/i18n//qgis_en_US]
 Warning: loading of qt translation failed
 [/usr/share/qt4/translations/qt_en_US]

 And then, after the desktop has loaded, I want to open up a Python shell,
 but that's what I get:
 exceptions.ImportError: No module named Qsci

 1. Question: What do I have to do in order to use the Python console?

 2. Question: I explicitly compiled pyspatialite, now where do I find this
 library and how can I include into my regular Python path, so I can use it
 outside of QGIS too?




 -
 wnstnsmth.net
 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/Executing-qgis-after-building-from-git-results-in-errors-and-warnings-tp5033486.html
 Sent from the Quantum GIS - User mailing list archive at Nabble.com.
 ___
 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] 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 the transformation depends on the size of your study area. The results
were excellent when I used this process for grids a few hectares in size.


The affine transformation tools can be installed from the Plugins menu.

Eric


On Mon, Jan 28, 2013 at 8:26 PM, Gerardo Jimenez gej...@hotmail.com wrote:

 Main thing is that QGis only allows you to use cartographic Coordinate
 Reference Systems. Most of the time archaeologist (I am one) we use totally
 arbitrary CRS. Once I posted a similar question and the answers were that
 if I could assign a coordinate in a mapping  CRS that should do it (like an
 UTM for instance).
 Regarding on drawing systems for archaeology, I use acad, but it does lack
 the attribute table and its capabilities. My advice will be some how assign
 a mapping crs to your data.

 Gerardo Jiménez Delgado
 Instituto de Investigaciones Antropológicas
 Universidad Nacional Autónoma de México
 Ciudad Universitaria s/n
 Coyoacan 04510 Mexico City
 Mexico 56 22 95 16

  To: qgis-user@lists.osgeo.org
  Date: Sun, 27 Jan 2013 22:25:59 +0100
  From: bernd.vogelges...@gmx.de
  Subject: Re: [Qgis-user] Advice Please

 
  Hi Bill,
 
  Can it be done? Yes, why not ?
  How? Well, firstly you should ask archeologists how they use whatever
  software to draw archeological features. The basic concepts will be the
  same i guess.
 
  I have no idea of measurement in general and of archealogical
 measurement
  in particular, but i will try a wild guess:
  I think that you always have to start from a fix point with known
  coordinates.(Point layer, which coordinate system?)
  From this, you can generate a grid e.g. mesh width 1 m (Vector-
 Research
  Tools - Vector Grid)(Line or polygon layer)
 
  Then you create your new layer(s) for your feature(classes) and start
  drawing.(Points, lines, polygons?)
  Of course there are dozends of steps to reach that phase, but i can't
  write a book here.
 
  As far as i know Access mdb still isn't supported yet (at least not
  available for beginners with no computer wizadry background), but you
 can
  export your tables to dbf format (direct import with drag and drop) or
 xls
  (through xytools plugin)
 
  More detailed questions, maybe more detailed answers.
  Maybe others with can drop in ...
 
  Cheers
  Bernd
 
 
 
  Am 27.01.2013, 21:36 Uhr, schrieb Bill Franklin w.frank...@ntlworld.com
 :
 
   I'm now getting to grips with Qgis quite well, that is for a newby not
   used
   to mapping software and I have a couple of questions I'd like some
   advice on
   please. Firstly, I want to be able to draw archaeological features
 such
   as
   earthworks on to a map. Can this be done and how?
  
  
   Secondly can I use Microsoft access with qgis? I have some data in
 access
   which I would like to load up and map.
  
  
   Any advice much appreciated.
  
  
   Bill Franklin
  
  
 
 
  --
  Bernd Vogelgesang * Siedlerstrasse 2 * 91083 Baiersdorf *
 +49-9133-825374
  ___
  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


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


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 located and run ldconfig to update it. On Ubuntu executing the following
lines in bash should fix it:

sudo sh -c echo '/path/to/FileGDB_API/lib'  /etc/ld.so.conf.d/fgdb.conf
sudo ldconfig

after that, make should work.

Eric


On Fri, Jan 4, 2013 at 1:49 PM, Art alf1...@zoho.com wrote:

  Yes! Any information on implementing this feature on Linux would be much
 appreciated.

 Art


 On 1/4/2013 8:08 AM, Johan Nilsson wrote:

  I'm also very interested in 'ESRI file geodatabase', not the 'Personal
 geodatabase', ( mdb or ms-access, or JET database) that ESRI not recommend
 to use...

  I tried to compile for month ago, but I think I stuck on the same place
 Art get stuck..

  /Cheers


 2013/1/4 Randal Hale rjh...@northrivergeographic.com

  Hi Art,

 So I've got QGIS running on windows and linux. I haven't tried to compile
 file geodatabase support into my linux install (that's on my list to do).
 On my windows install I'm running OSGeo4Win - adding file based geodatabase
 support was easy - I just added the module and had support (I'm currently
 on my linux machine and not near my windows machine - or I would tell you
 exactly what I added).

 My windows machine is running Windows 7 64bit - my linux machine is
 running xubuntu. I own a consulting business and have ArcGIS running on my
 windows machine. There's not way I'm ever going to windows 8. So I'm
 sticking with windows 7 for ESRI and migrating as much of my workflow over
 to linux as I can...as I tell people - A clip is a clip and a buffer is a
 buffer. So I'll do what I can on linux and when I have to go with ESRI I'll
 jump over to windows.

 Now that I read all of this - I should really try to compile file based
 support on this laptop over the weekend.

 Randy


 Randal Hale, GISP
 North River Geographic Systems, Inchttp://www.northrivergeographic.com 
 423.653.3611 rjh...@northrivergeographic.com
 twitter:rjhale http://about.me/rjhale

  On 01/01/2013 03:05 PM, Art wrote:

 I have two options right now. I am a Linux lover, and I am investigating
 compiling the Esri File Geodatabase API on Linux. However, the other option
 is to handle it all through Windows, probably using OsGeo4Win. That means I
 would probably have to make a switch to Windows. I do have a copy of ESRI's
 ArcGIS that will work until August that was given to me for a GIS Course,
 so I will have that option for some time but it will not be permanent. Does
 anyone have a recommended course of action? I have attached the results
 from my last compile attempt involving the File Geodatabase API. I have not
 found a detailed set of compiling instructions to make and install it, and
 am uncertain as to how I should proceed further.

 Art


  ___
 Qgis-user mailing 
 listQgis-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user



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




 ___
 Qgis-user mailing 
 listQgis-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user



 ___
 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] 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 and laz-files) in QGIS?

 /Cheers

 ___
 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] How to compile gdal with ESRI FileGDB

2012-11-18 Thread Eric Goddard
I think you're right about ld. You need to run sudo ldconfig after creating
the symlink so that make can find the correctly named library.

Eric


On Sun, Nov 18, 2012 at 7:49 AM, Johan Nilsson joni8...@gmail.com wrote:

 Hey. I have had a lot of things to do, but now I tried to make a sample
 again. I also made a ln -s *libfgdblinuxrtl.so **libfgdbunixrtl.so* (ESRI
 changed the name of the driver)  I tried again and still stuck on make in
 samples, as in above and a very simulare error. I have build-essential with
 a lot of depends...

 joni@Intel:~/Desktop/gdal-mod/FileGDB_API/samples$ make
 make -C Domains
 make[1]: Entering directory
 `/home/joni/Desktop/gdal-mod/FileGDB_API/samples/Domains'
 g++ -fPIC -O3 -m32 -W -fexceptions -D_CONSOLE -DUNICODE -D_UNICODE -DUNIX
 -D_REENTRANT -DFILEGDB_API -D__USE_FILE_OFFSET64 -DUNIX_FILEGDB_API
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I../../include -I.  -c
 Domains.cpp
 g++ -fPIC -O3 -m32 -W -fexceptions -D_CONSOLE -DUNICODE -D_UNICODE -DUNIX
 -D_REENTRANT -DFILEGDB_API -D__USE_FILE_OFFSET64 -DUNIX_FILEGDB_API
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I../../include -I. -m32
 -L../../lib -o ../bin/Domains ./Domains.o -lFileGDBAPI
 */usr/bin/ld: warning: libfgdbunixrtl.so, needed by
 ../../lib/libFileGDBAPI.so, not found (try using -rpath or -rpath-link)*
 ../../lib/libFileGDBAPI.so: undefined reference to
 `SysAllocStringByteLen(char*, unsigned int)'
 ../../lib/libFileGDBAPI.so: undefined reference to
 `VarDateFromStr(wchar_t*, unsigned long, unsigned long, double*)'
 ../../lib/libFileGDBAPI.so: undefined reference to `IID_IGeometry'
 .
 .*.A lot of undefined references...* --my comments

 .
 ../../lib/libFileGDBAPI.so: undefined reference to
 `PathFileExistsW(wchar_t const*)'
 ../../lib/libFileGDBAPI.so: undefined reference to
 `PathFindExtensionW(wchar_t const*)'
 *
 collect2: ld returned 1 exit status
 make[1]: *** [../bin/Domains] Error 1
 make[1]: Leaving directory
 `/home/joni/Desktop/gdal-mod/FileGDB_API/samples/Domains'

 make: *** [Domains] Error 2
 *
 joni@Intel:~/Desktop/gdal-mod/FileGDB_API/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 the necessary compile tools?


 On Thu, Nov 15, 2012 at 3:14 AM, Johan Nilsson joni8...@gmail.comwrote:

 Thanks very much Eric :)
 I have read the instuctions, and
 tar zxvf FileGDB_API_1_2-32.tar.gz went well but I'm stuck on point 4
 in the fist part of you instruction to make a sample to test the driver:
 ~/Desktop/gdal-mod/FileGDB_API/samples$ make
 It spot out a lot of thing complaining about 'undefiened reference
 to'... and it ends like:
 ../../lib/libFileGDBAPI.so: undefined reference to
 `PathFileExistsW(wchar_t const*)'
 ../../lib/libFileGDBAPI.so: undefined reference to
 `PathFindExtensionW(wchar_t const*)'
 collect2: ld returned 1 exit status
 make[1]: *** [../bin/Domains] Error 1
 make[1]: Leaving directory
 `/home/a/Desktop/gdal-mod/FileGDB_API/samples/Domains'
 make: *** [Domains] Error 2
 Joni@Intel:~/Desktop/gdal-mod/FileGDB_API/samples$

 I tried to ignore the errors above, but when I move to *bin* it was
 empty and nothing happend:
 ~/Desktop/gdal-mod/FileGDB_API/samples/bin$ ./Querying
 bash: ./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 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 the steps I list below, so you may want to read through the whole
 thing before starting. Sorry for the length, but I hope it helps!

 In terminal:

 1. Change directory to wherever you downloaded the FileGDBAPI: *cd
 path/to/FileGDBAPI_download*

 2. extract the archive:* tar zxvf FileGDB_API_1_2-32.tar.gz* NOTE:
 Since you are using 32-bit Ubuntu, you need to download the 32-bit FileGDB
 API.

 3.You need to build the samples to make sure the API works. Change to
 the FileGDB_API samples folder: *cd FileGDB_API/samples*

 4. type *make*

 5. Run a sample to make sure it works. Change directory to the bin
 folder inside samples: *cd bin *, and then type *./Querying*. You'll
 get a bunch of text in terminal, just make sure it doesn't spit out any
 errors.

 6. If the sample runs successfully, you have a working FileGDB API and
 you are ready to compile GDAL. I like to move the FileGDB API to a better
 location than the downloads directory, but it is up to you. If you choose
 to move it, you can use the paths listed below. If you use your own
 location, change the path in the commands below

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

2012-11-15 Thread Eric Goddard
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 the necessary compile tools?


On Thu, Nov 15, 2012 at 3:14 AM, Johan Nilsson joni8...@gmail.com wrote:

 Thanks very much Eric :)
 I have read the instuctions, and
 tar zxvf FileGDB_API_1_2-32.tar.gz went well but I'm stuck on point 4 in
 the fist part of you instruction to make a sample to test the driver:
 ~/Desktop/gdal-mod/FileGDB_API/samples$ make
 It spot out a lot of thing complaining about 'undefiened reference to'...
 and it ends like:
 ../../lib/libFileGDBAPI.so: undefined reference to
 `PathFileExistsW(wchar_t const*)'
 ../../lib/libFileGDBAPI.so: undefined reference to
 `PathFindExtensionW(wchar_t const*)'
 collect2: ld returned 1 exit status
 make[1]: *** [../bin/Domains] Error 1
 make[1]: Leaving directory
 `/home/a/Desktop/gdal-mod/FileGDB_API/samples/Domains'
 make: *** [Domains] Error 2
 Joni@Intel:~/Desktop/gdal-mod/FileGDB_API/samples$

 I tried to ignore the errors above, but when I move to *bin* it was empty
 and nothing happend:
 ~/Desktop/gdal-mod/FileGDB_API/samples/bin$ ./Querying
 bash: ./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 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 the steps I list below, so you may want to read through the whole
 thing before starting. Sorry for the length, but I hope it helps!

 In terminal:

 1. Change directory to wherever you downloaded the FileGDBAPI: *cd
 path/to/FileGDBAPI_download*

 2. extract the archive:* tar zxvf FileGDB_API_1_2-32.tar.gz* NOTE: Since
 you are using 32-bit Ubuntu, you need to download the 32-bit FileGDB API.

 3.You need to build the samples to make sure the API works. Change to the
 FileGDB_API samples folder: *cd FileGDB_API/samples*

 4. type *make*

 5. Run a sample to make sure it works. Change directory to the bin folder
 inside samples: *cd bin *, and then type *./Querying*. You'll get a
 bunch of text in terminal, just make sure it doesn't spit out any errors.

 6. If the sample runs successfully, you have a working FileGDB API and
 you are ready to compile GDAL. I like to move the FileGDB API to a better
 location than the downloads directory, but it is up to you. If you choose
 to move it, you can use the paths listed below. If you use your own
 location, change the path in the commands below to whatever you used. *sudo
 mv your location/FileGDB_API /usr/local/*

 7. Create a LD configuration file so that gdal is able to find the FGDB
 libraries: *sudo echo /usr/local/FileGDB_API/lib 
 etc/ld.so.conf.d/fgdb.conf *

 An explanation of ld is below.

 8. run ldconfig to update the linked libraries: *sudo ldconfig*

 You're now ready to download and configure gdal.


 1. Download gdal from http://download.osgeo.org/gdal/gdal-1.9.2.tar.gz
 2. Extract the contents of the gdal archive: *tar zxvf gdal-1.9.2.tar.gz*

 3. Change to the gdal directory: *cd gdal-1.9.2*

 4. Now gdal needs to be configured. Your configure line may be different
 from the one below depending on the options you want included, but the
 important line to include is --with-fgdb=/usr/local/FileGDB_API. This is my
 configure line on my system: * ./configure --with-geos=yes
 --with-sqlite3 --with-python --with-spatialite
 --with-fgdb=/usr/local/FileGDB_API --with-postgres --with-odbc
 --with-libkml=yes --with-curl=yes
 --with-mrsid=/usr/local/MrSID_SDK/Raster_DSDK
 --with-mrsid_lidar=/usr/local/MrSID_SDK/Lidar_DSDK
 --with-openjpeg=/usr/include*

 The --with statements let the configuration script know what additional
 modules you want to be included in the compile. When you install packages,
 such as geos, from the repos the libraries are put in paths that ld (which
 is a utility that links libraries so that other applications are able to
 find them) knows about. When you compile by hand the general practice is to
 compile to /usr/local, which sometimes ld doesn't know about by default.
 You let ld know about additional paths by creating a configuration file in
 /etc/ld.so.conf.d/ that contains the path of your custom compiled
 libraries.

 To compile GDAL with the options you want, your line might look something
 like this:

 *./configure --with-geos=yes --with-sqlite3 --with-python
 --with-spatialite --with-fgdb=/usr/local/FileGDB_API --with-postgres
 --with-odbc *

 After configure runs, it will give you a summary that indicates what it
 was able to find. Check to make sure that there is a 'yes' beside the
 options you want. If there is a no beside something you want to include,
 you may need to scroll through

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 the steps I list below, so you may want to read through the whole
thing before starting. Sorry for the length, but I hope it helps!

In terminal:

1. Change directory to wherever you downloaded the FileGDBAPI: *cd
path/to/FileGDBAPI_download*

2. extract the archive:* tar zxvf FileGDB_API_1_2-32.tar.gz* NOTE: Since
you are using 32-bit Ubuntu, you need to download the 32-bit FileGDB API.

3.You need to build the samples to make sure the API works. Change to the
FileGDB_API samples folder: *cd FileGDB_API/samples*

4. type *make*

5. Run a sample to make sure it works. Change directory to the bin folder
inside samples: *cd bin *, and then type *./Querying*. You'll get a bunch
of text in terminal, just make sure it doesn't spit out any errors.

6. If the sample runs successfully, you have a working FileGDB API and you
are ready to compile GDAL. I like to move the FileGDB API to a better
location than the downloads directory, but it is up to you. If you choose
to move it, you can use the paths listed below. If you use your own
location, change the path in the commands below to whatever you used. *sudo
mv your location/FileGDB_API /usr/local/*

7. Create a LD configuration file so that gdal is able to find the FGDB
libraries: *sudo echo /usr/local/FileGDB_API/lib 
etc/ld.so.conf.d/fgdb.conf *

An explanation of ld is below.

8. run ldconfig to update the linked libraries: *sudo ldconfig*

You're now ready to download and configure gdal.


1. Download gdal from http://download.osgeo.org/gdal/gdal-1.9.2.tar.gz
2. Extract the contents of the gdal archive: *tar zxvf gdal-1.9.2.tar.gz*

3. Change to the gdal directory: *cd gdal-1.9.2*

4. Now gdal needs to be configured. Your configure line may be different
from the one below depending on the options you want included, but the
important line to include is --with-fgdb=/usr/local/FileGDB_API. This is my
configure line on my system: * ./configure --with-geos=yes --with-sqlite3
--with-python --with-spatialite --with-fgdb=/usr/local/FileGDB_API
--with-postgres --with-odbc --with-libkml=yes --with-curl=yes
--with-mrsid=/usr/local/MrSID_SDK/Raster_DSDK
--with-mrsid_lidar=/usr/local/MrSID_SDK/Lidar_DSDK
--with-openjpeg=/usr/include*

The --with statements let the configuration script know what additional
modules you want to be included in the compile. When you install packages,
such as geos, from the repos the libraries are put in paths that ld (which
is a utility that links libraries so that other applications are able to
find them) knows about. When you compile by hand the general practice is to
compile to /usr/local, which sometimes ld doesn't know about by default.
You let ld know about additional paths by creating a configuration file in
/etc/ld.so.conf.d/ that contains the path of your custom compiled
libraries.

To compile GDAL with the options you want, your line might look something
like this:

*./configure --with-geos=yes --with-sqlite3 --with-python --with-spatialite
--with-fgdb=/usr/local/FileGDB_API --with-postgres --with-odbc *

After configure runs, it will give you a summary that indicates what it was
able to find. Check to make sure that there is a 'yes' beside the options
you want. If there is a no beside something you want to include, you may
need to scroll through the output and find the error to see what went wrong.


5. Now you can run make and make install. *sudo make*. When that finishes,
run *sudo make install*.

6. One more step: you need to let ld know about the gdal libraries. Since
we didn't specify a different path, the configure line above puts them in
/usr/local/lib by default. I let ld know about the libraries by adding a
local.conf file to /etc/ld.so.conf.d/. *sudo echo /usr/local/lib 
/etc/ld.so.conf.d/local.conf*

7. Run ldconfig again: *sudo ldconfig*

*
*

You should be able to open geodatabases in QGIS or any other GIS
application that uses GDAL now. I expanded on notes that I took while doing
the install, but I didn't have my linux laptop with me while writing this.
Let me know if anything doesn't work or if clarification is needed.
On Nov 13, 2012 9:27 AM, Johan Nilsson joni8...@gmail.com wrote:

  I have tried to find how I compile gdal 1.9.2 with ESRIs FileGDB_API, but
 I'm are very uncertain how it work. I have Ubuntu 10.04LTS 32-bit with
 PAE. I another step I downloaded source-code for gdal-1.9.2 and added
 needed packed with:

 *cd ~/Desktop/gdal-mod* --move cursor to the created folder.
 *apt-get source gdal-bin *--download source-cod from my respositories
 (same as my binary installed on my system, into the folder I stand in
 ~/Desktop/gdal-mod)
 *sudo apt-get build-dep gdal* --geting dependencies so my system can
 build the 

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 pulling up the layer properties and
clicking the symbology tab.

Eric

On Thu, Jul 19, 2012 at 2:03 PM, Clara Rey Caramés cara...@gmail.com wrote:
 Hello everybody,

 I am working with multispectral images, but  each band is an independent
 file and I need to create a multifile image.
 Does anybody know how to do it with qgis?

 Thank you!

 ___
 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


[Qgis-user] matplotlib.pyplot?

2011-11-06 Thread Eric Sepich
What is this message when I try to install the plug-in? I opted to have the
matplotlib.pyplot installed but it did not happen? Does anyone know how to
resolve this issue?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user