Re: [Qgis-user] Installing QGIS 2.10 with Ubuntugis unstable dependencies

2015-08-21 Thread Micha Silver
Is something wrong with the repos lately for Trusty (Linux Mint 17.1)? or my
system not configured right?
 
$ cat /etc/apt/sources.list.d/ubuntugis-unstable-trusty.list 
deb http://qgis.org/ubuntugis trusty main
deb-src http://qgis.org/ubuntugis trusty main

deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty main
deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty
main

$ sudo apt-get install qgis python-qgis

Reading package lists... Done
Building dependency tree   
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-qgis : Depends: python-qgis-common (= 1:2.10.1+20trusty-ubuntugis)
but it is not going to be installed
   Depends: python-psycopg2 but it is not installable
   Depends: python-pyspatialite but it is not installable
   Depends: libqgispython2.10.1 but it is not going to be
installed
   Depends: libqgis-analysis2.10.1 but it is not going to be
installed
   Depends: libqgis-core2.10.1 but it is not going to be
installed
   Depends: libqgis-gui2.10.1 but it is not going to be
installed
   Depends: libqgis-networkanalysis2.10.1 but it is not going to
be installed
   Depends: libqgis-server2.10.1 but it is not going to be
installed
 qgis : Depends: libqgis-analysis2.10.1 but it is not going to be installed
Depends: libqgis-core2.10.1 but it is not going to be installed
Depends: libqgis-gui2.10.1 but it is not going to be installed
Depends: libqgis-networkanalysis2.10.1 but it is not going to be
installed
Depends: libqwt5-qt4 but it is not installable
Depends: qgis-providers (= 1:2.10.1+20trusty-ubuntugis) but it is
not going to be installed
E: Unable to correct problems, you have held broken packages.

??? 
Thanks,
Micha



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Installing-QGIS-2-10-with-Ubuntugis-unstable-dependencies-tp5214793p5220552.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] Colour ramps - raster file extreme values

2015-08-21 Thread Lester Anderson
Hi all,

I was wondering if anyone has advice for dealing with raster files that
have a few small areas of extreme highs/lows (eg +200/-150), but the main
data are much smaller values (+/- 25)?

Using a linear colour scheme, the extremes make the main areas of interest
washed out to a great extent so the subtle features get lost. Couln't see
any obvious route in v2.6

A way to adjust the curves, like in image processing or a log scale would
be useful.

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

Re: [Qgis-user] How to display SID raster on QGIS 2.10 PISA Kubuntu 15.04 ?

2015-08-21 Thread Pieter du Plooy
Hi guys

Just a side note on this.  It seems that one can not compile gdal with the
MrSID SDK if your gcc is higher than version 5.

I am however able to compile gdal on linux if gcc is 4.8 or 4.9.

The SDK comes in two versions, one for gcc 4.2 and one for gcc 4.4.

Does anyone know if there is a newer version available?

I am however able to compile the sdk on OSX with homebrew, and kyngchaos
can also use it in his frameworks.

Pieter

On Fri, Aug 21, 2015 at 12:26 AM, Randal Hale 
rjh...@northrivergeographic.com wrote:

 If you want to you can download the MrSid SDK and uncompress the sids on
 your linux workstation: http://www.lizardtech.com/downloads/category/
 (MrSID SDK)

 I downloaded the SDK (placed it in /home/rjhale/apps and wrote a very
 small messy script that does the following:
 #!/bin/bash

 #set library path
 export LD_LIBRARY_PATH=/home/rjhale/apps/sidgeodecode/bin

 #fix the extension
 file=$1
 newname=`echo $file | sed 's/\(.*\.\)sid/\1tif/'`

 #run the Geodecode program
 /home/rjhale/apps/sidgeodecode/bin/mrsidgeodecode -wf -i $file -o $newname

 It usually takes just a minute or two to uncompress them on my workstation
 - for me a sid that is 400 mb usually uncompresses to 6 GB - with a small
 amount of work (tiling, pyramid layers) it's renders very nicely.

 I agree - building sid support into QGIS is not for the faint of heart. I
 did it once but decided against - I would rather just uncompress them using
 this route and be done with it.

 Randy





 On 08/20/2015 06:06 PM, Bernd Vogelgesang wrote:

 Hi

 Am 20.08.2015, 17:41 Uhr, schrieb Joachim Bergerhoff agi...@gmail.com
 agi...@gmail.com:


 Dears, I guess the message title is explicit enough ?


 BTW, I have downloaded the SDK 9.1.0 from Imtech.  The ReadMe says:

 INSTALLATION:

   No specific installation is required to use the MrSID SDK beyond copying
 the SDK contents to your local machine.

   After installing, we suggest building and running the example program to
 assure correct installation and behaviour.


 But copying the SDK download (unpacked) somewhere on my disk obviously is
 not enough and I am lost when it comes to building etc.

 Thanks,

 Joachim


 As far as I know, there is no way, but building your own gdal with mrsid
 support und Linux. The instructions can be found somewhere in the
 qgis-maze, but I don't how up-to-date they are.
 I tried once, but as the instructions were not really idiot-proof and I
 prefer to use repositories, and as there was no clear instruction to be
 found how to deal with incompatibilities, I gave up so far.

 I think the masterbrains just compile everything, and the stupid masses
 use a virtual Windows machine to transform to geoTIFF (like me).

 There was an article mentioned in the list how to produce quite small
 geoTIFF some weeks ago:
 http://blog.cleverelephant.ca/2015/02/geotiff-compression-for-dummies.html

 That's all I can tell
 Bernd


 --
 Bernd Vogelgesang
 Siedlerstraße 2
 91083 Baiersdorf/Igelsdorf
 Tel: 09133-825374


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


 --
 -
 Randal Hale
 North River Geographic Systems, 
 Inchttp://www.northrivergeographic.com423.653.3611 
 rjh...@northrivergeographic.com
 twitter:rjhale 
 http://about.me/rjhalehttp://www.northrivergeographic.com/introduction-to-quantum-gis
 Southeast OSGEO: http://wiki.osgeo.org/wiki/Southeast_US


 ___
 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] Issues to install QGIS on RedHat 6

2015-08-21 Thread john polo
I have a similar problem as what's happened to Marian. However, I am 
using CentOS 7, FWIW. I get the same error message at start-up as when I 
try to run the Python console. Here it is:


Failed to open Python console:


Traceback (most recent call last):
  File , line 1, in
  File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File /usr/share/qgis/python/console/__init__.py, line 26, in
from console import show_console
  File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File /usr/share/qgis/python/console/console.py, line 29, in
from console_settings import optionsDialog
  File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File /usr/share/qgis/python/console/console_settings.py, line 24, in
from console_compile_apis import PrepareAPIDialog
  File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File /usr/share/qgis/python/console/console_compile_apis.py, line 28, in
from ui_console_compile_apis import Ui_APIsDialogPythonConsole
  File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File /usr/share/qgis/python/console/ui_console_compile_apis.py, line 70, in
from Qsci.qsciscintilla import QsciScintilla
  File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named Qsci.qsciscintilla

Python version:
2.7.5 (default, Jun 24 2015, 00:41:19)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]

QGIS version:
2.8.2-Wien 'Wien', exported

Python path:
['/usr/share/qgis/python', u'/home/jpolo/.qgis2/python', 
u'/home/jpolo/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', 
'/usr/lib64/python27.zip', '/usr/lib64/python2.7', 
'/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', 
'/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', 
'/usr/lib64/python2.7/site-packages', 
'/usr/lib64/python2.7/site-packages/gst-0.10', 
'/usr/lib64/python2.7/site-packages/gtk-2.0', 
'/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode', 
'/usr/lib/python2.7/site-packages', u'/home/jpolo/.qgis2//python', 
'/usr/share/qgis/python/plugins/fTools/tools']





Hi,

I managed to install 2.8 on Red Hat 7. It took me a while to find all 
dependencies but I made it.

Thank you for your support.

This is the error.

There is a small issue of launching Python Console from QGIS.
I got this error:
Couldn't load plugin 'processing' from ['/usr/share/qgis/python', 
'/home/qgisosr/.qgis2/python', '/home/qgisosr/.qgis2/python/plugins', 
'/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', 
'/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', 
'/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', 
'/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', 
'/usr/lib64/python2.7/site-packages/gtk-2.0', 
'/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode', 
'/usr/lib/python2.7/site-packages', '/home/qgisosr/.qgis2//python', 
'/usr/share/qgis/python/plugins/fTools/tools']


Traceback (most recent call last):
   File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 196, in 
loadPlugin
 __import__(packageName)
   File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File /usr/share/qgis/python/plugins/processing/__init__.py, line 29, in
 from processing.tools.general import *
   File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File /usr/share/qgis/python/plugins/processing/tools/general.py, line 28, 
in
 from processing.core.Processing import Processing
   File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File /usr/share/qgis/python/plugins/processing/core/Processing.py, line 
44, in
 from processing.gui.Postprocessing import handleAlgorithmResults
   File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File /usr/share/qgis/python/plugins/processing/gui/Postprocessing.py, line 
36, in
 from processing.gui.ResultsDialog import ResultsDialog
   File /usr/lib64/python2.7/site-packages/qgis/utils.py, line 478, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File /usr/share/qgis/python/plugins/processing/gui/ResultsDialog.py, line 
33, in
 from processing.ui.ui_DlgResults import 

Re: [Qgis-user] Dimension feature using QGIS 2.8

2015-08-21 Thread Enrique
I have found some issues testing dimensioning plugin (dimensioning version
0.0.2, from Stefan ZIegler
http://plugins.qgis.org/plugins/author/Stefan%2520ZIegler/, with QGIS
2.10.1 Pisa, Win7).

Some basic ideas (more testing required...):


A. On QGIS 2.10.1 you should edit
.qgis2\python\plugins\dimensioning\tools\utils.py

  A.1. Edit line 35:

original line:
QgsMapLayerRegistry().instance().addMapLayer(vl, True)

shoud be:
QgsMapLayerRegistry.instance().addMapLayer(vl, True)

  A.2. Recommended, delete utils.pyc (compiled version of utils.py)

  A.3. It is no required to restart QGIS nor the plugin. Please not
re-install the plugin, your edit would be lost.


B. The plugin database
.qgis2\python\plugins\dimensioning\sqlite\dimension.sqlite comes pre-filled
with some sample data (26 dimension lines). You can load it to browse the
content.

C. All the dimensioning features are common to all your QGIS proyects and
layers. A field layer_id should store an integer code for each layer you
are interested in dimensioning, and the dimension length, the offset of the
help lines, and the length of the help lines.

D. Select your feature layer, then you are able to click the points
selector button, select two vertex, then click the dimension button and set
the four parameters required, click Add and then close. The sqlite database
is loaded (if it isn't yet) and a new line added to the layer Dimension
main lines, and in theory two lines added to the layer Dimension help
lines.

E. Some issues:

E.1. You have to select a new layer_id for each dimension. I think this
could be a bug, caused because the fields in the database are not correctly
filled with the proper data. More testing soon...

E.2. I can't guess how the offset fields are used by the plugin, unexpected
results... No reference system is set to the database nor to its layers.

Obviously the plugin needs to be upgraded and improved, but some expertise
on python in required...

Finally, I don't know if it is feasible to manage dimensions (in the sense
of CAD features) inside GIS software. Could be useful for very basic tasks;
and use a free and open source CAD for more advanced works.

Enrique.

2015-08-21 8:31 GMT+02:00 Franco Cazzola f.cazz...@amga.it:

 Hi,

 1. I wonder if anyone tried to display layer into Qgis coming from
 *Esri* *dimensioning feature* shape *file*. In Qgis I only see the
 boundary of the line feature like a buffer around the lines

 2.No news about dimension plugin in Qgis ? I am not able to insert
 selected two vertex points (first icon of plugin)



 Thanks for all contributions

 Franco Cazzola



 ___
 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] Dimension feature using QGIS 2.8

2015-08-21 Thread Franco Cazzola
Hi,

1. I wonder if anyone tried to display layer into Qgis coming from Esri 
dimensioning feature shape file. In Qgis I only see the boundary of the line 
feature like a buffer around the lines

2.No news about dimension plugin in Qgis ? I am not able to insert 
selected two vertex points (first icon of plugin)



Thanks for all contributions

Franco Cazzola

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

[Qgis-user] Problem: The comando Spatial Join is missing into Graphict Modeler

2015-08-21 Thread Corredera_Estudio de Ingeniería GEOCOBET CARTOGRAFÍA Y SIG
I saw that in the graphic process modeler QGIS Pisa and immediate Previous
versions have disappeared join by location.
On the menu we do have this command (Table Data Management Tools Join
Attributes By Location), but does not feature in Process Modeler referral
nor in the processing toolbox. On the other hand, we find the command line
Join by location offered us one thing and spatial join offered by other
topological possibilities for joint detection. The serious problem is that,
as said earlier, in the process modeler does not appear, so we can not
introduce this basic algorithm in automatic processes. Do you know why this
happens or that I am missing something? A greeting

*Un saludo*

*Francisco Corredera Quesada*
*GEOCOBET CARTOGRAFIA Y SIG*
*www.geocobet.com http://www.geocobet.comcorred...@geocobet.com
corred...@geocobet.com   (+34) 928 80 87 42*

*Geocobet Cartografía y SIG** recomienda **Google Apps for Work  *
http://goo.gl/tvneCD








*Este correo electrónico y la información contenida en el mismo es
decarácter confidencial. Se dirige  exclusivamente al
destinatariomencionado en el encabezamiento. Si  el receptor de la
comunicación nofuera el destinatario, le rogamos nos lo comunique de
inmediato y procedaa destruir el mensaje recibido. Cualquier divulgación,
copia,distribución o utilización no autorizada de la información contenida
en lamismo está prohibida por la legislación vigente. *
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user