Re: [Qgis-developer] Misaligned Google OpenLayers layer

2013-04-07 Thread Leyan

A little hack to get it working correctly in your area:

You can change the level of maximum zoom by editing line 24 of 
.qgis/python/plugins/openlayers/html/google_satellite.html


The basic file says:
{ type: google.maps.MapTypeId.SATELLITE, numZoomLevels: 22 }
I had to change to:
{ type: google.maps.MapTypeId.SATELLITE, numZoomLevels: 20 }
and the plugin will not try to get images at higher resolution (which 
are not available anyway). Jut try several values to see what zoom level 
is adapted to your study area.


Still, I would love to see a real solution to the problem.

Regards,

Leyan


On 04/04/2013 02:19 PM, Janneke van Dijk wrote:
Does anyone know of a workaround? Matt Boyd suggested saving images 
and loading them for these specific zoomlevels - could anyone tell me 
how to go about that (and is it allowed under the Google terms)?


Janneke

On 04/04/2013 00:07, AntonioLocandro wrote:
I confirm this on latest QGIS master + windows 7, also confirm it 
doesn't

happen with bing





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Misaligned-Google-OpenLayers-layer-tp5039475p5044414.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 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] Status of Plugins to load PostGIS Raster and MBTiles directly?

2013-04-07 Thread Stefan Keller
Hi,

What is the status of plugins
1. to load PostGIS Raster and
2. to load MBTiles

directly into QGIS as (raster) layer?

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


Re: [Qgis-developer] Status of Plugins to load PostGIS Raster and MBTiles directly?

2013-04-07 Thread Stefan Keller
On 2013/4/7 I wrote

 What is the status of plugins
 1. to load PostGIS Raster and
 2. to load MBTiles
 directly into QGIS as (raster) layer?


To be more specific:
I really mean loading PostGIS Raster and MBTiles directly, w/o trick using
GDAL (GdalTools?) and configuring .VRT by hand before.
For PostGIS Raster specifically I'm aware of the plugin Load PostGIS
Raster (alias WKT Raster Plugin?) from Mauricio de Paulo (QGIS Official
Repo. 2).

Yours, Stefan


2013/4/7 Stefan Keller sfkel...@gmail.com

 Hi,

 What is the status of plugins
 1. to load PostGIS Raster and
 2. to load MBTiles

 directly into QGIS as (raster) layer?

 Yours, Stefan

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


Re: [Qgis-developer] Status of Plugins to load PostGIS Raster and MBTiles directly?

2013-04-07 Thread Even Rouault
Le dimanche 07 avril 2013 21:26:00, Stefan Keller a écrit :
 On 2013/4/7 I wrote
 
  What is the status of plugins
  1. to load PostGIS Raster and
  2. to load MBTiles
  directly into QGIS as (raster) layer?
 
 To be more specific:
 I really mean loading PostGIS Raster and MBTiles directly, w/o trick using
 GDAL (GdalTools?) and configuring .VRT by hand before.
 For PostGIS Raster specifically I'm aware of the plugin Load PostGIS
 Raster (alias WKT Raster Plugin?) from Mauricio de Paulo (QGIS Official
 Repo. 2).

Note that with GDAL 1.10, you'll be able to open mbtiles files directly as any 
other GDAL rasters.

 
 Yours, Stefan
 
 
 2013/4/7 Stefan Keller sfkel...@gmail.com
 
  Hi,
  
  What is the status of plugins
  1. to load PostGIS Raster and
  2. to load MBTiles
  
  directly into QGIS as (raster) layer?
  
  Yours, Stefan
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Status of Plugins to load PostGIS Raster and MBTiles directly?

2013-04-07 Thread Stefan Keller
Hi Even

Thanks for the hint! Of you really mean by open mbtiles files directly as
any other GDAL rasters being able to access files with postfix .mbtiles
(not by postfix .VRT) - that's what I mean.

Remains the issue for loading PostGIS Raster: When I try to load a Add a
Postgis Raster Layer (using  Load PostGIS Raster (alias WKT Raster
Plugin?) from Mauricio de Paulo) I get the error below (I tried it with
QGIS 1.8 and 1.9 under Windows).

Yours, Stefan

---
ERROR:  Column geo.out_db does not exist
LINE 7:   geo.out_db,
  ^
Query:
SELECT
cla.relname, nsp.nspname, cla.relkind = 'v', pg_get_userbyid(relowner),
cla.reltuples, cla.relpages,
CASE WHEN geo.r_raster_column IS NOT NULL THEN geo.r_raster_column ELSE
att.attname END,
geo.pixel_types,
geo.scale_x,
geo.scale_y,
geo.out_db,
geo.srid

FROM (select oid, pg_class.* from (select relname from pg_class except
select relname from pg_class,raster_overviews where relname=o_table_name)
as exclude,pg_class where exclude.relname=pg_class.relname) AS cla
JOIN pg_namespace AS nsp ON
nsp.oid = cla.relnamespace

JOIN pg_attribute AS att ON
att.attrelid = cla.oid AND
att.atttypid = 'raster'::regtype OR
att.atttypid IN (SELECT oid FROM pg_type WHERE
typbasetype='raster'::regtype )

LEFT OUTER JOIN raster_columns AS geo ON
cla.relname = geo.r_table_name AND nsp.nspname = r_table_schema AND
lower(att.attname) = lower(r_raster_column)

WHERE cla.relkind IN ('v', 'r')  AND (nspname != 'information_schema' AND
nspname !~ 'pg_')
ORDER BY nsp.nspname, cla.relname, att.attname

OK
--




2013/4/7 Even Rouault even.roua...@mines-paris.org

 Le dimanche 07 avril 2013 21:26:00, Stefan Keller a écrit :
  On 2013/4/7 I wrote
 
   What is the status of plugins
   1. to load PostGIS Raster and
   2. to load MBTiles
   directly into QGIS as (raster) layer?
 
  To be more specific:
  I really mean loading PostGIS Raster and MBTiles directly, w/o trick
 using
  GDAL (GdalTools?) and configuring .VRT by hand before.
  For PostGIS Raster specifically I'm aware of the plugin Load PostGIS
  Raster (alias WKT Raster Plugin?) from Mauricio de Paulo (QGIS
 Official
  Repo. 2).

 Note that with GDAL 1.10, you'll be able to open mbtiles files directly as
 any
 other GDAL rasters.

 
  Yours, Stefan
 
 
  2013/4/7 Stefan Keller sfkel...@gmail.com
 
   Hi,
  
   What is the status of plugins
   1. to load PostGIS Raster and
   2. to load MBTiles
  
   directly into QGIS as (raster) layer?
  
   Yours, Stefan

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


[Qgis-developer] Select by Location tool and other things

2013-04-07 Thread Antonio Locandro
I was using the select by location tool today and here are my thoughts. 1st. 
Once it finishes the selection it gives the result in the status bar of QGIS, I 
think if it is succesful it should close the current window and show a pop up 
XX/XXX features selected, and during the performing of the operation a progress 
bar should be shown that way we know it is working 2nd. I saved this selection 
to a folder as a shapefile, the behavior I was expecting was for a pop up 
window or something asking if I wanted to add this layer to the QGIS or not. 
Instead I had to navigate to the folder where it was saved and add it. 3rd. On 
my laptop running windows 8 some of the popup dialogs of QGIS overrun the task 
bar at the lower part of the screen making it impossible to press the ok button 
or others. ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] How do we deal with duplicate functionality in Select by Location and Spatial Query Plugin?

2013-04-07 Thread skampus
just yesterday i needed a spatial query but i realize that none of existing
plugin or core function have the possibility to apply a buffer for
selection.

i discovered a plugin called not properly query by example that lets to
apply a buffer (http://hub.qgis.org/projects/richie).

at the moment, it works only in 1.8. 
do you think it's possible to incorporate this feature into core?






--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-do-we-deal-with-duplicate-functionality-in-Select-by-Location-and-Spatial-Query-Plugin-tp5044808p5045096.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


Re: [Qgis-developer] Select by Location tool and other things

2013-04-07 Thread Pedro Venâncio
Hi,

The 1st point was already reported as a regression on this ticket: 
http://hub.qgis.org/issues/7528 .

I dont know if I should report this as a separated ticket. What do you think?



Pedro





 From: Antonio Locandro
 

 
I was using the select by location tool today and here are my thoughts.
 
1st. Once it finishes the selection it gives the result in the status bar of 
QGIS, I think if it is succesful it should close the current window and show a 
pop up XX/XXX features selected, and during the performing of the operation a 
progress bar should be shown that way we know it is working
 
2nd. I saved this selection to a folder as a shapefile, the behavior I was 
expecting was for a pop up window or something asking if I wanted to add this 
layer to the QGIS or not. Instead I had to navigate to the folder where it was 
saved and add it.
 
3rd. On my laptop running windows 8 some of the popup dialogs of QGIS overrun 
the task bar at the lower part of the screen making it impossible to press the 
ok button or others.
 
 

___
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] Old symbology removed in master

2013-04-07 Thread Martin Dobias
Hi

just a quick note that old symbology API has been removed: QgsRenderer
(+ implementations), QgsSymbol and few others are gone. Projects using
old symbology still can be loaded and old symbology will be
automatically converted to new symbology (just in memory, so if you do
not save the project it will continue using old symbology). There are
few things that are currently not being converted properly to new
symbology:
- data-defined rotation / scale / symbol name - TODO
- map units flag for point symbol - TODO
- texture for fill style - no equivalent in new symbology (svg fill is
better anyway)
- continuous color renderer - no equivalent in new symbology
(graduated symbol renderer may be used instead)
- composer - legend items for old symbology are ignored and need to be
recreated manually

Old labeling has been kept as-is - there's not so much code involved
(basically just one class, QgsLabel) so it's not such hot topic within
the API cleanup.

I am aware that few unit tests related to rendering got broken, I will
fix them soon. (btw. there are few failing tests not related to the
symbology changes: qgis_atlascompositiontest, qgis_composerhtmltest)

How do others feel about dropping V2 postfix from new symbology
classes for QGIS 2.0? E.g. QgsSymbol instead of QgsSymbolV2. I would
like to see those removed to keep the API clean.

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


Re: [Qgis-developer] Select by Location tool and other things

2013-04-07 Thread Antonio Locandro
I think they are different, although have some similarities. I don't know what 
the right approach about reporting would be but I guess I was hoping someone in 
the developer list would check this out

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


Re: [Qgis-developer] Old symbology removed in master

2013-04-07 Thread Antonio Locandro
I would say remove all deprecated things and just move forward and have cleaner 
better code

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