Re: [Qgis-developer] raster visualization

2012-04-23 Thread Agustin Lobo
Andrea,

Depending on the number of cells, dealing with  20 raster files
requires a totally different approach.
Even for visualization, this is clearly a different problem than the
common RGB or multi-spectral imagery.
We cannot deal with 13000 raster layers in the same way as we do with a dozen.

Have you tried rasterlite?

Agus

El día 22 de abril de 2012 21:37, aperi2007 aperi2...@gmail.com escribió:
 Hi Agus ,
 thx for your informations.


 Opening the raster layers very fast but getting a bad visualization
 would not be a major
 waste of time? This is what currently happens to me: the initial
 display is always useless.


 I understand your point of view, but i guess is not a need for every users.
 Same users can't wait the 4+ minutes need for the elaboration of a raster.
 Again because an user could open usually more than 20 rasters for every
 session, I guess this elaboration should be absolutely optional to avoid a
 really big lost of time.


 If your raster layers have similar statistics and or you want to
 display them with the same stretching so
 that grey levels or colors are comparable (which is often my case
 also, with time series of ndvi for example), a common style file would
 be the best solution.

 Your solution seem good to me.

 We have more set of rasters of ortophoto type colors and grey.
 Eachset of colors photo is surely with comparable levels, instead I don't
 know for the gray photo sets.
 They are too older (1954 and so on).

 Instead for raster cell (grid data) from Lidar:
 Just now we begin to merge all our sets to have a full land-cover.
 So we are merging 1x1, 2x2 and 3x3 meters cells.
 I don't know if this could have some trouble with having a comparable set of
 values, but guess of no.

 Surely is not possible to find a unique style good for all the sets, but is
 possible to establish a good style for each set.

...Perhaps, in

 case a raster style is present, the by default procedure and
 calculations could be bypassed. Would this be a good solution
 in your case?


 You mean a file raster-style in the same folder of the raster set or of the
 catalog file ?
 I guess this could be a good compromise to help the use in situation like
 ours.

 Andrea.

 Il 22/04/2012 19:43, Agustin Lobo ha scritto:

 Andrea,

 Opening the raster layers very fast but getting a bad visualization
 would not be a major
 waste of time? This is what currently happens to me: the initial
 display is always useless.

 If your raster layers have similar statistics and or you want to
 display them with the same stretching so
 that grey levels or colors are comparable (which is often my case
 also, with time series of ndvi for example), a common style file would
 be the best solution. Perhaps, in
 case a raster style is present, the by default procedure and
 calculations could be bypassed. Would this be a good solution
 in your case?

 Agus

 El día 20 de abril de 2012 15:10, Andrea Periaperi2...@gmail.com
  escribió:

 - on initial load of a raster, generate a quicklook that is the larger
 of 1/4 screen resolution or 500x500 pixels by sampling every nth pixel
 - generate a histogram from the quicklook
 - calculate clipped 2% - 96% range min max for each band
 - apply a histogram stretch based on the above
 - the histogram could be used for generating the graph in raster
 props, and the quicklook could be used to create thumbs and previews
 etc
 - ideally we should cache these quicklooks and only regenerate them if
 the underlying dataset has changed

 I believe if we do this we will have fast initial load and the images
 (grayscale and rgb) will 'look right' when first loaded (i.e with good
 contrast) and it would not be necessary to assign any color value to
 grayscales by default.

 Regards


 Hi,
 just my 2 ct.

 I guess the more important capability with raster is to open they faster
 possible.

 I fear calculate all these values on first opened take more time than
 what
 is waitable for the open of a raster.

 Perhaps this action should be choosable by settings ?

 Of course I see our situation.

 Our situation is of more sets of raster (7-800 each set) where every
 raster
 is grey level or true color of 3-400 Mbyte each.
 And all these raster are accessible by a remote shared server to our
 users.
 For a total, actually, of about 13.000 rasters.

 I don't understand if this new feature could be really usable in a
 situation
 like our.

 --
 -
 Andrea Peri
 . . . . . . . . .
 qwerty àèìòù
 -


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



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


[Qgis-developer] no such table: spatial_ref_sys

2012-04-23 Thread Paolo Cavallini
Hi all.
When creating a new Spatialite vector, selecting a SRS results in an error:

Impossible to load SRIDS: no such table: spatial_ref_sys


No problem with shp. Master from yesterday.
Anyone confirms?
All the best.

-- 
Paolo Cavallini
See: http://www.faunalia.it/pc

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


Re: [Qgis-developer] broken dependencies

2012-04-23 Thread Paolo Cavallini
Il 23/04/2012 07:45, Denis Rouzaud ha scritto:
 Hi all,

 Apparently, there is a problem in dependencies in debian nightly
 packages.

 There is some date problem between 20th 21th.
Yes, compilation was half broken in the last days, now should be ok.
All the best.

-- 
Paolo Cavallini
See: http://www.faunalia.it/pc

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


[Qgis-developer] Porting our planning scheme maps

2012-04-23 Thread Paolo Cavallini
Hi Nathan.

Thanks for your post
http://woostuff.wordpress.com/2012/04/23/using-qgis-in-local-government/

Re: Porting our planning scheme maps, and your suggestion add a –code
option to the command line of QGIS so that you could run: qgis.exe
–noplugins –code “print.py”, which would open QGIS and run the python
code and exit., we'll be doing this in the near future, so please stay
tuned, and collaborate if you want.

All the best.

-- 
Paolo Cavallini
See: http://www.faunalia.it/pc

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


Re: [Qgis-developer] Porting our planning scheme maps

2012-04-23 Thread Nathan Woodrow
Hey Paolo,

Very Cool! Happy to help if need be.

Thanks for letting me know.

- Nathan

On Mon, Apr 23, 2012 at 6:40 PM, Paolo Cavallini cavall...@faunalia.itwrote:

 Hi Nathan.

 Thanks for your post
 http://woostuff.wordpress.com/2012/04/23/using-qgis-in-local-government/

 Re: Porting our planning scheme maps, and your suggestion add a –code
 option to the command line of QGIS so that you could run: qgis.exe
 –noplugins –code “print.py”, which would open QGIS and run the python
 code and exit., we'll be doing this in the near future, so please stay
 tuned, and collaborate if you want.

 All the best.

 --
 Paolo Cavallini
 See: http://www.faunalia.it/pc

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

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


[Qgis-developer] Re: signing in to qgis hub

2012-04-23 Thread Ian Packham
Hi

I am still having problems signing in at http://hub.qgis.org/login

Tyler Mitchell tried very hard to help me, but it seems the OSGeo
authentication is different to qgis hub? (See email thread below.)

Can someone else please help me login to submit bugs etc.

Ian

- Original Message -
From: Tyler Mitchell i...@locatepress.com
Date: Thursday, April 19, 2012 6:14 pm
Subject: Re: [Qgis-developer] signing in to qgis hub
To: Ian Packham i.pack...@ucd.ie

 If the login to that trac site works, then that's all I can help you with
 unfortunately :(
 Seems to me that qgis hub must use a different authentication system then
 ??

 On 2012-04-19, at 5:48 PM, Ian Packham wrote:

  Hi Tyler
 
  Logging into that site is no problem - I tried now and I could do that
 before.
 
  From qgis hub I click on the Sign in link at the top right, and it takes
 me to:
  http://hub.qgis.org/login
 
  I put in the same details as above, before I got invalid user name or
 password, now I get Email has already been taken (same login URL, but it
 says Register on the page).
 
  I am heading off soon, but if you find out any more, I can try again
 later.
 
  Thanks
 
  Ian
 
 
  - Original Message -
  From: Tyler Mitchell i...@locatepress.com
  Date: Thursday, April 19, 2012 5:09 pm
  Subject: Re: [Qgis-developer] signing in to qgis hub
  To: Ian Packham i.pack...@ucd.ie
 

   Hmm that sounds like you tried to *register* on qgis hub instead of
 just logging in??
  Just as a test try logging in at:
  http://trac.osgeo.org/qgis/login
 
  It's no problem, we'll figure this out ;-)
 
  On 2012-04-19, at 4:17 PM, Ian Packham wrote:
 
   Hi Tyler
  
   I did as you instructed. After changing my password at
   https://www2.osgeo.org/cgi-bin/auth/ldap_edit_user.py
  
   Nothing changed on the screen. I then tried to log into qgis hub, now
 I get the message Email has already been taken. Maybe I attempted to
 login with another username that is blocking this one (e.g. packhami,
 Ipackham...)?
  
   Sorry about this.
  
   Ian
   

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/signing-in-to-qgis-hub-tp4898314p4909676.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] --configpath unactive on QGIS master

2012-04-23 Thread jr . morreale

Hi,

I would like to know if anybody here is using the configpath option on 
Windows 7 with qgis-master (rv991c7ba for me) to confirm the following 
behaviour so I can open a ticket.


We package QGIS with many default parameters to ease the deploying, one 
of the modifications is the location of ~/.qgis :


C:\OSGeo4W\bin\qgis-dev.bat --configpath D:\SIG\qgis\

If I install a new plugin, it gets correctly downloaded in to 
D:\SIG\qgis\python\plugins but when QGIS tries to load it it doesn't 
find it as it is looking everywhere  for ./python except the configpath.


Can't load plugin 'sextante' from ['C:/OSGeo4W/apps/qgis-dev/./python', 
'C:\Users\morreale jean roc/.qgis/python', 'C:\Users\morreale jean 
roc/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 
'C:\OSGeo4W\bin\python27.zip', 'C:\OSGeo4W\apps\Python27\DLLs', 
'C:\OSGeo4W\apps\Python27\lib', 'C:\OSGeo4W\apps\Python27\lib\plat-win', 
'C:\OSGeo4W\apps\Python27\lib\lib-tk', 'C:\OSGeo4W\apps\qgis-dev\bin', 
'C:\OSGeo4W\apps\Python27', 
'C:\OSGeo4W\apps\Python27\lib\site-packages', 
'C:\OSGeo4W\apps\Python27\lib\site-packages\PIL', 
'C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools']


Traceback (most recent call last):
  File C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py, line 143, in 
loadPlugin

__import__(packageName)
  File C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py, line 309, in 
_import

mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named sextante

regards,
jean-roc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [OSSIM] [Qgis-developer] Re: Fwd: Creating a Python plugin for OSSIM-QGIS

2012-04-23 Thread Julien Malik

No not really. An ossim integration into sextante makes much sense.

OTB only uses a subpart of the ossim core lib (the sensor modeling aspects)
We do not use all their image-rendering algorithms.

Julien

Le 22/04/2012 18:29, cavall...@faunalia.it a écrit :

OTB people should know better than anybody else.
All the best.

---
http://faunalia.it/pc
Sent from mobile, sorry for being short

- Reply message -
Da: Victor Olaya vola...@gmail.com
A: Paolo Cavallini cavall...@faunalia.it
Cc: qgis-developer@lists.osgeo.org
Oggetto: [OSSIM] [Qgis-developer] Re: Fwd: Creating a Python plugin 
for OSSIM-QGIS

Data: dom, apr 22, 2012 10:14



 Please also remember that OSSIM is embedded in OTB, currently usable
 through SEXTANTE.
 And yes, an OSSIM provider would be very good to have.
 All the best.


I did not know that. Then having OSSIM algorithms in SEXTANTE might be
a bit redundant, right?

Regards


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


Re: [Qgis-developer] SEXTANTE for QGIS has been released

2012-04-23 Thread Johan Van de Wauw
2012/4/12 Pedro Venâncio pedrongvenan...@yahoo.com:
 Hi Salvatore,

 Thank you very much, it works now on terminal!


 However, still can not run any SAGA tool from the SEXTANTE plugin...

 In the terminal it works with exactly the same syntax as SEXTANTE:

 pedro@debian-amilo:~$ saga_cmd libshapes_polygons Polygon Centroids 
 -POLYGONS /home/pedro/Limpezas/caop_2011_pinhel.shp -CENTROIDS 
 /home/pedro/sextante/outputs_centroids.shp

Try setting the environment variable SAGA_MLB prior to starting qgis. EG:
SAGA_MLB=/usr/lib/saga qgis
or
export SAGA_MLB=/usr/lib/saga
qgis




 By running the command directly in the terminal, it gives an error by the 
 fact that the module is Create graticule and not Create Graticule (case 
 sensitive).

 Then, there are some parameters in the syntax that does not match the 
 accepted SAGA_CMD sintax. And the module only works like this:


This is because you use an older version of SAGA than the version
sextante was build against.

You should try running the latest version of saga. I'll have a look if
I can bring it to the backports archive.In the mean time you can just
try to build the version from unstable yourself..Don't hesistate
contacting me if you have any troubles. There are quite some
advantages in the new version:
- export SAGA_MLB is no longer needed. You can still use it though if
you have custom build modules.
- many modules have changed syntax
- it is much better tested on linux
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Vector Layer and geojson protocol - bbox parameter ?

2012-04-23 Thread kimaidou
Hi list,

I would like to use Qgis to dynamically see the data provided by a custom
web service. This webservice excepts a bbox parameter and sends back a
geojson containing features availables for this bounding box.
Using the protocol option of Opening Qgis Vector Layer dialog, I can
pass a complete url, e.g. :
http://localhost/index.php?query=getFeaturebbox=2.2175,48.7896,2.4764,48.928
But obviously, Qgis only gets the features contained in the defined bbox. I
would like to find a way to tell Qgis to dynamically set the bbox
parameter on each zoom/pan, etc.
Is there a way to do so programatically, such as with python snippet ? I
think using a memory layer will be one of the first step, but I have no
idea how to go further.
By the way, I do not need a complex feature management, such as feature
cache, etc. Refresh the whole layer on zoom/pan (destroy all features and
get new ones) will do the job.


Thanks for any hint

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