Re: [Qgis-developer] Label backgrounds (shape, SVG, drop shadow)

2013-04-08 Thread Larry Shaffer
Hi,

Here's an update on the labeling work I've been doing for the past week:

* Label backgrounds (geometric shapes and SVG) have been
implemented/committed, but currently have a couple of loose ends [0].

* Label drop shadows are essentially functional, and work for label buffers
[1]. I need a couple of days to clean up the overly verbose code, simplify
the logic and make it work for label text and backgrounds. In the GUI and
map canvas screen snaps [2][3] you can see an example of the radius
blurring and of the 'global' offset option (there are also debug rectangles
shown). When global is checked for shadow offset, rotated label's drop
shadows are adjusted to match the global offset for the layer (instead of
being relative to the label's rotation). For example, this allows all drop
shadows on all labels, or their buffers/backgrounds, to match what a user
may have setup in a hill shaded raster, i.e. opposite the angle of a
virtual sun. Turning on all these features does slow labeling down, of
course.  :^)

* Significantly missing functionality currently occurs in the data defined
aspect of new labeling features. Many of the new features do not have
corresponding data defined options, and the current gui and usage of the
data defined values does not mirror that of the new setup by recently
committed by Dr. Marco H for symbology. Since labeling does not yet have a
rule-based setup, it would be *very good* to have the current data defined
setup for labeling switched over to Marco's method. This will allow
expressions to be used for all labeling options and give users a solid
feature set for labeling to work with until 2.1.

So, I have a couple questions:

Can I push the cleaned up and functional labeling drop shadows work to
master branch in a couple of days, for inclusion in 2.0? It was my
understanding this was part of the labeling background work I was
temporarily allowed to do, but it has taken a couple of days longer than
expected.

Does switching over the data defined backend for labeling constitute a new
feature? If not, I'd like to work on it over the next week.

If switching over the data defined backend is considered a new feature, and
not allowed to be committed right now, can I at least work on adding some
of the missing data defined options for labeling?

[0] https://github.com/qgis/Quantum-GIS/commit/b8097239
[1] https://github.com/dakcarto/Quantum-GIS/commits/labeling_dropshadow_4
[2] http://drive.dakotacarto.com/qgis/labeling_drop-shadow-options.png
[3] http://drive.dakotacarto.com/qgis/labeling_drop-shadows.png

Regards,

Larry


On Sat, Mar 30, 2013 at 12:18 PM, Andreas Neumann wrote:

> Hi,
>
> I'd love to have these label backgrounds and drop shadows in QGIS 2.0.
> Makes sense to me to include this work despite feature freeze since a
> major effort was made already to improve labeling in QGIS 2.0.
>
> so +1 from my side.
>
> Thank you for your work, Larry.
>
> Andreas
>
> Am 30.03.2013 12:32, schrieb Larry Shaffer:
> > Hi,
> >
> > In an effort to bring a basic label background feature into 2.0 before
> for
> > the freeze, I figured out a good approach that makes adding label
> > backgrounds much easier (better late than never, I suppose) [0]. This
> means
> > that adding SVGs and drop shadows for label backgrounds is only an extra
> > couple of days of work.
> >
> > Here's a preliminary gui setup [1] (not all may be implemented, but most
> > can easily be).
> >
> > An example of generic rounded-corner rectangles (a la web mapping and
> many
> > road shields) with a bit of x/y offset to nicely center the text [2].
> >
> > And, an example of the 'centering' of the background relative to the
> label
> > contents (background rotated 90 deg relative to text) [3], regardless of
> > label's offset placement (see pink-text label next to point feature).
> This
> > is a crucial feature for integrating many types of backgrounds.
> >
> > Both examples also show one issue: while labels don't overlap due to
> > collision management, their backgrounds might overlap each other or
> > previously drawn label text. I believe this is fixable, though I don't
> know
> > how long it will take, off hand.
> >
> > So... basically, I'm asking those who make decisions whether I can work
> for
> > another week on this feature, for inclusion in 2.0.
> >
> > [0]
> https://github.com/dakcarto/Quantum-GIS/commits/labeling_bkgrd-symbols_3
> > [1] http://drive.dakotacarto.com/qgis/labeling_background-gui.png
> > [2] http://drive.dakotacarto.com/qgis/labeling_background-rounded.png
> > [3] http://drive.dakotacarto.com/qgis/labeling_background-rotation.png
> >
> > Regards,
> >
> > Larry Shaffer
> > Dakota Cartography
> > Black Hills, South Dakota
> >
> >
> >
> > ___
> > Qgis-developer mailing list
> > Qgis-developer@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
>
> ___
> Qgis-developer mailing list
> Qgis

[Qgis-developer] Georef bug #3743 (OS X) need help

2013-04-08 Thread William Kyngesburye
http://hub.qgis.org/issues/3743

Just in case someone not watching the bug report has something to offer.  My 
thought was to make the problem Enter Coord dialog floating, but I have no idea 
how to do that (minimal C++, no Qt skills) so I can test it.

-
William Kyngesburye 
http://www.kyngchaos.com/

"Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that 
remind me of?  Ah, yes - life."

- Marvin


___
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-08 Thread Ramon Andiñach

On 09/04/2013, at 05:32 , Paolo Cavallini wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Il 08/04/2013 23:19, Martin Dobias ha scritto:
>> I agree, but that would be a new feature to make random color 
>> assignment simpler in new symbology.
> 
> Yo can see it like this, but from the user point of view is rather a
> regression, not being able doing somethig that was easy to do before.
> All the best.

+1
To users (e.g. me) this is absolutely viewed as a regression.

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


Re: [Qgis-developer] Error updating color ramps

2013-04-08 Thread Etienne Tourigny
I have updated color ramp manager to version 0.2.1 which uses new package
files in the repository at github.org .

Please test and report here - could you test downloading the selection as
well as the full cpt-city package?

Regards,
Etienne


On Wed, Apr 3, 2013 at 4:03 AM, Paolo Cavallini wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Il 26/03/2013 20:01, Etienne Tourigny ha scritto:
>
> >> I haven't updated the webserver which hosts these files...
> >
> >> I am waiting on a fix to the plugin's git repository to add necessary
> >> files there instead of an external server.
> >
> >> I got no response from an email here on this list (subject "problem
> >> with plugin git repository on qgis.org") nor ticket I created
> >> http://hub.qgis.org/issues/7412
>
> Hi all.
> Could we fix this?
> All the best.
> - --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlFb1F0ACgkQ/NedwLUzIr5eOwCfe4ASecDk/0rBC12omGDyA55u
> 1zQAoIiY79GnZA+UseBwlgJ1d5KMxZca
> =j/c5
> -END PGP SIGNATURE-
>
___
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-08 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 08/04/2013 23:19, Martin Dobias ha scritto:
> I agree, but that would be a new feature to make random color 
> assignment simpler in new symbology.

Yo can see it like this, but from the user point of view is rather a
regression, not being able doing somethig that was easy to do before.
All the best.
- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlFjN30ACgkQ/NedwLUzIr6fGACfdKI3zmVz7LsmHRNvNiIpXIDB
FcsAnA2LsWebgpWaxe13tTfMJ98G35cw
=0+iS
-END PGP SIGNATURE-
___
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-08 Thread Martin Dobias
On Mon, Apr 8, 2013 at 10:46 PM, Paolo Cavallini  wrote:
> Il 08/04/2013 20:32, Martin Dobias ha scritto:
>
>>> I would add the random colour assignment (or, did I miss
>>> something?)
>>
>> I am not sure what you mean with that.
>
> in old symbology, one could choose the Unique value renderer, click on
> Classify, and get a random colour assignment for each class.
> The same operation with new symbology is much more convoluted, and
> requires far more clicks to get an almost equal result.

I agree, but that would be a new feature to make random color
assignment simpler in new symbology.

Martin
___
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-08 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Martin,

Il 08/04/2013 20:32, Martin Dobias ha scritto:

>> I would add the random colour assignment (or, did I miss
>> something?)
> 
> I am not sure what you mean with that.

in old symbology, one could choose the Unique value renderer, click on
Classify, and get a random colour assignment for each class.
The same operation with new symbology is much more convoluted, and
requires far more clicks to get an almost equal result.
I this is still unclear, please ask.
All the best.
- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlFjLLQACgkQ/NedwLUzIr7DawCfTGyGLYd5/Hj2g5ZDDG9vW8E1
zYEAn3fkEs2eNGQ1t2DB82JQhjThtlRV
=y0LG
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] mbtiles for android

2013-04-08 Thread Marco Bernasocchi

On 04/08/2013 05:59 PM, Even Rouault wrote:

Selon Marco Bernasocchi :


is there a beta src archive somewhere? i couldnt find it. so i could try if
it builds well.


Yes, see the announcement here :
http://lists.osgeo.org/pipermail/gdal-dev/2013-March/035807.html

Windows daily builds are also available at http://gisinternals.com/sdk/ (
"-development" for trunk versions)


ups... I wore glasses I'd say I need a cleaning cloth... sorry

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


[Qgis-developer] OpenLayers Plugin

2013-04-08 Thread Antonio Locandro
Does anybody know if there is a way to set the transparency for any of the 
layers added using the Open Layers plugin? I would like to be able to change 
the transparency of a layer

Thanks

  ___
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-08 Thread Martin Dobias
On Mon, Apr 8, 2013 at 8:53 AM, Paolo Cavallini  wrote:
>> - data-defined rotation / scale / symbol name - TODO - map units
>> flag for point symbol - TODO - 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
>
> I assume we have tickets for all these issues; should we mark these as
> blockers?

No need to create tickets - at least for the ones marked with TODO.

> I would add the random colour assignment (or, did I miss something?)

I am not sure what you mean with that.

Martin
___
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-08 Thread Martin Dobias
On Mon, Apr 8, 2013 at 9:32 AM,   wrote:
> Le 2013-04-08 00:38, Martin Dobias a écrit :
>
>> 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.
>
>
> Is the .ui part of old labeling now gone ?

No, I have not touched old labeling at all.

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


[Qgis-developer] Vector - Geoprocessing Tools - Buffer

2013-04-08 Thread Antonio Locandro
Couple of things here Apparently for buffer to work correctly both the source 
layer and the project must be in the same projection, I tried to buffer a point 
in EPSG 4325:WGS 84 to a distance of 10 NM (18 520 m since QGIS doesn't support 
several units) and it didn't work, I can do this with other COTS software The 
other point is that it would be nice to be able to have multiple buffer rings, 
just set the number of desired rings and the buffer distance interval (which 
would be a constant) This is my example I have one airport which I need 
multiple rings at 10 NM intervals, In QGIS I would need to do 6-10 times a 
buffer to a different shapefile and then merge them all together. It would be 
nice to just do it once
  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Rename through add vector file

2013-04-08 Thread Antonio Locandro
I was adding a *.shp with the add vector dialog, since it let me rename I 
renamed it and proceed to adding giving me an error. After opening the folder 
where I had the *.shp it became apparent that the problem is it only renamed 
one of the files associated with shapefile. So the correct behavior should to 
not allow renaming of shapefiles or that renaming of the shapefile renames all 
the files associated to it (similar to what you can do with ArcCatalog of ESRI)

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


Re: [Qgis-developer] mbtiles for android

2013-04-08 Thread Even Rouault
Selon Marco Bernasocchi :

> is there a beta src archive somewhere? i couldnt find it. so i could try if
> it builds well.

Yes, see the announcement here :
http://lists.osgeo.org/pipermail/gdal-dev/2013-March/035807.html

Windows daily builds are also available at http://gisinternals.com/sdk/ (
"-development" for trunk versions)
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] debug qgis mapserver with QtCreator?

2013-04-08 Thread G. Allegri
2013/4/8 Marco Hugentobler :
>> but what about POST data?
>> How do you debug it?
>
>
> I'm usually debugging GET requests. However, in Qt Creator, you can also
> attach to a running fcgi Prozess.

That's what I was considering right now ;)
Thanks again.

>
> Regards,
> Marco
>
>
> On 08.04.2013 17:34, G. Allegri wrote:
>>
>> Hi Marco,
>> thanks for the tip. That's a starting point, but what about POST data?
>> How do you debug it?
>>
>> Yes, I'm aware of the risk for sql-injections ;)
>>
>> giovanni
>>
>> 2013/4/8 Marco Hugentobler :
>>>
>>> Hi Giovanni
>>>
>>> Just set the environment variable QUERY_STRING (e.g.
>>> QUERY_STRING='SERVICE=WMS&REQUEST=GetCapabilities') and start the
>>> executable
>>> with the debugger.
>>> If you extend the filter possibilities, make sure not to open
>>> possibilities
>>> for sql-injections.
>>>
>>> Regards,
>>> Marco
>>>
>>>
>>> On 08.04.2013 16:56, G. Allegri wrote:

 Hi all,
 I would like to try to extend a bit the filter functionalities in qgis
 server, but I've never setup e debug environment for a C++ CGI.
 Can you suggest me a way to do it? I use QtCreator (Linux) for QGis
 Desktop and I will like to employ iy here too, but I can't figure how
 to attach it to the CGI executable...

 thanks,
 Giovanni

>>>
>>> --
>>> Dr. Marco Hugentobler
>>> Sourcepole -  Linux & Open Source Solutions
>>> Weberstrasse 5, CH-8004 Zürich, Switzerland
>>> marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
>>> Technical Advisor QGIS Project Steering Committee
>>>
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>>
>>
>
>
> --
> Dr. Marco Hugentobler
> Sourcepole -  Linux & Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, Switzerland
> marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] debug qgis mapserver with QtCreator?

2013-04-08 Thread Marco Hugentobler

but what about POST data?
How do you debug it?


I'm usually debugging GET requests. However, in Qt Creator, you can also 
attach to a running fcgi Prozess.


Regards,
Marco

On 08.04.2013 17:34, G. Allegri wrote:

Hi Marco,
thanks for the tip. That's a starting point, but what about POST data?
How do you debug it?

Yes, I'm aware of the risk for sql-injections ;)

giovanni

2013/4/8 Marco Hugentobler :

Hi Giovanni

Just set the environment variable QUERY_STRING (e.g.
QUERY_STRING='SERVICE=WMS&REQUEST=GetCapabilities') and start the executable
with the debugger.
If you extend the filter possibilities, make sure not to open possibilities
for sql-injections.

Regards,
Marco


On 08.04.2013 16:56, G. Allegri wrote:

Hi all,
I would like to try to extend a bit the filter functionalities in qgis
server, but I've never setup e debug environment for a C++ CGI.
Can you suggest me a way to do it? I use QtCreator (Linux) for QGis
Desktop and I will like to employ iy here too, but I can't figure how
to attach it to the CGI executable...

thanks,
Giovanni



--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

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






--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

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


Re: [Qgis-developer] debug qgis mapserver with QtCreator?

2013-04-08 Thread G. Allegri
Hi Marco,
thanks for the tip. That's a starting point, but what about POST data?
How do you debug it?

Yes, I'm aware of the risk for sql-injections ;)

giovanni

2013/4/8 Marco Hugentobler :
> Hi Giovanni
>
> Just set the environment variable QUERY_STRING (e.g.
> QUERY_STRING='SERVICE=WMS&REQUEST=GetCapabilities') and start the executable
> with the debugger.
> If you extend the filter possibilities, make sure not to open possibilities
> for sql-injections.
>
> Regards,
> Marco
>
>
> On 08.04.2013 16:56, G. Allegri wrote:
>>
>> Hi all,
>> I would like to try to extend a bit the filter functionalities in qgis
>> server, but I've never setup e debug environment for a C++ CGI.
>> Can you suggest me a way to do it? I use QtCreator (Linux) for QGis
>> Desktop and I will like to employ iy here too, but I can't figure how
>> to attach it to the CGI executable...
>>
>> thanks,
>> Giovanni
>>
>
>
> --
> Dr. Marco Hugentobler
> Sourcepole -  Linux & Open Source Solutions
> Weberstrasse 5, CH-8004 Zürich, Switzerland
> marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] debug qgis mapserver with QtCreator?

2013-04-08 Thread Marco Hugentobler

Hi Giovanni

Just set the environment variable QUERY_STRING (e.g. 
QUERY_STRING='SERVICE=WMS&REQUEST=GetCapabilities') and start the 
executable with the debugger.
If you extend the filter possibilities, make sure not to open 
possibilities for sql-injections.


Regards,
Marco

On 08.04.2013 16:56, G. Allegri wrote:

Hi all,
I would like to try to extend a bit the filter functionalities in qgis
server, but I've never setup e debug environment for a C++ CGI.
Can you suggest me a way to do it? I use QtCreator (Linux) for QGis
Desktop and I will like to employ iy here too, but I can't figure how
to attach it to the CGI executable...

thanks,
Giovanni




--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

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


Re: [Qgis-developer] mbtiles for android

2013-04-08 Thread Marco Bernasocchi
is there a beta src archive somewhere? i couldnt find it. so i could try if
it builds well.
ciao

Marco Bernasocchi (mobile)
http://opengis.ch
Selon Marco Bernasocchi :

>  > Note that with GDAL 1.10, you'll be able to open mbtiles files
> directly as any other GDAL rasters.
>
> Even, do you already have a release date in mind? In the effort to get a
> QGIS 2.0 version out on android with a nice featureset (Python, better
> stability, ...), having mbtiles would be great.

GDAL 1.10beta2 has been released a week ago, so I think RC1 and final
release
are close. Hopefully in one month maximum.

>
> ciao
> --
> Marco Bernasocchi
> http://opengis.ch
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] mbtiles for android

2013-04-08 Thread Even Rouault
Selon Marco Bernasocchi :

>  > Note that with GDAL 1.10, you'll be able to open mbtiles files
> directly as any other GDAL rasters.
>
> Even, do you already have a release date in mind? In the effort to get a
> QGIS 2.0 version out on android with a nice featureset (Python, better
> stability, ...), having mbtiles would be great.

GDAL 1.10beta2 has been released a week ago, so I think RC1 and final release
are close. Hopefully in one month maximum.

>
> ciao
> --
> Marco Bernasocchi
> http://opengis.ch
>


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


Re: [Qgis-developer] mbtiles for android

2013-04-08 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 08/04/2013 14:09, Marco Bernasocchi ha scritto:
>> Note that with GDAL 1.10, you'll be able to open mbtiles files
> directly as any other GDAL rasters.
> 
> Even, do you already have a release date in mind? In the effort to
> get a QGIS 2.0 version out on android with a nice featureset
> (Python, better stability, ...), having mbtiles would be great.

Agreed. Besides release, also packaging in osgeo4w would be important.
All the best.

- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlFiziYACgkQ/NedwLUzIr5mGgCggkdQo3D/flBFGDC+MkSpLTgU
jpsAoLdaMKxewzDYslQDmHai7o7e+8i8
=6ums
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QgsRubberband does not draw polygons(python)

2013-04-08 Thread vinayan
thanks to Salvatore's help on irc, i got over this issue.

apparently the 'isPolygon' method was deprected..

here is the snippet that worked..

mCanvas = iface.mapCanvas()
rb = QgsRubberBand(mCanvas,QGis.Polygon)
rb.addPoint(QgsPoint(300,300))
rb.addPoint(QgsPoint(400,400))
rb.addPoint(QgsPoint(400,600))
print rb.asGeometry().exportToWkt()
POLYGON((300.0 300.0,400.0 400.0,400.0 600.0,300.0 300.0))




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QgsRubberband-does-not-draw-polygons-python-tp5045238p5045248.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] QgsRubberband does not draw polygons(python)

2013-04-08 Thread vinayan
Hi,

I am simply stuck at a seemingly simple issue. I want to create a polygon
rubberband. But even after setting the isPolygon in the constructor to
'True', it is creating a polyline rubberband. I am using latest master
version. Here is what i tried in the python console.

pastebin link   

mCanv = iface.mapCanvas()
rb = QgsRubberBand(mCanv,True) #shouldn't this constructor create a polygon
shaped band?
 
rb.addPoint(QgsPoint(300,300))
rb.addPoint(QgsPoint(400,400))
rb.addPoint(QgsPoint(400,600))
 
print rb.asGeometry().exportToWkt()
 
LINESTRING(300.0 300.0, 400.0 400.0, 400.0 600.0)

Shouldn't the exportToWkt() be outputting a Polygon instead of a Linestring?
What am i doing wrong here?

Thanks
Vinayan






--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QgsRubberband-does-not-draw-polygons-python-tp5045238.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] mbtiles for android

2013-04-08 Thread Marco Bernasocchi
> Note that with GDAL 1.10, you'll be able to open mbtiles files 
directly as any other GDAL rasters.


Even, do you already have a release date in mind? In the effort to get a 
QGIS 2.0 version out on android with a nice featureset (Python, better 
stability, ...), having mbtiles would be great.


ciao
--
Marco Bernasocchi
http://opengis.ch
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [QGIS Server] GetProjectSettings: BoundingBox Issue

2013-04-08 Thread Bernhard Ströbl

Hi,

I set up a pretty simple project using current QGIS Server (Codeversion 
082c6ba) on a Linux machine. The Project is using WGS84 (EPSG:4326). 
Only one shape file is contained being in EPSG:4326, too.


This is what QGIS server replies:
1) 
http://localhost/wms/kartenportal_1_9?SERVICE=WMS&VERSION=1.3&REQUEST=GetCapabilities


  Ortsteile
  Ortsteile
  EPSG:4326
  
11.4988
11.6731
50.8561
50.9892
  
  maxy="50.9892" miny="50.8561"/>


2) 
http://localhost/wms/kartenportal_1_9?SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings:


  Ortsteile
  Ortsteile
  EPSG:4326
  
11.4988
11.6731
50.8561
50.9892
  
  maxy="11.6731" miny="11.4988"/>


In both cases  is identical, whereas max* and 
min* parameters in the BoundingBox tag are interchanged.


QgisWebClient cannot determine a correct maxExtent from 
GetProjectSettings thus centering on 0,0 upon start.


Is this on purpose?

Bernhard


__ Information from ESET Mail Security, version of virus signature 
database 8205 (20130408) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
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-08 Thread Marco Hugentobler

Hi Martin

Thanks for cleaning out the symbology.
I also like to have the V2 postfixes removed.

Regards,
Marco

On 08.04.2013 00:38, Martin Dobias wrote:

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



--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

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


[Qgis-developer] qgis 1.8 Lisboa Ubuntu12.04-install crashes upon updating Table Manager-plugin 0.4.2 -->0.4.3

2013-04-08 Thread G.T.C.vandenBerg
Hi,

When updating the Table Manager plugin my QGIS repeatedly crashed (over 3
times in a row). Can anyone confirm this?

Regards,

Guus van den Berg



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/qgis-1-8-Lisboa-Ubuntu12-04-install-crashes-upon-updating-Table-Manager-plugin-0-4-2-0-4-3-tp5045167.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] Old symbology removed in master

2013-04-08 Thread jr . morreale

Le 2013-04-08 00:38, Martin Dobias a écrit :

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.


Is the .ui part of old labeling now gone ?
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer