Re: [Qgis-developer] SpatiaLite layers invisible when loaded from browser

2012-02-29 Thread Paolo Cavallini
Il 29/02/2012 20:09, Even Rouault ha scritto:

> I'm afraid the reason why it does not work in QGIS is that it has the bad 
> idea 
> of embedding directly libspatialite in /usr/lib/libqgis_core.so.1.9.90 
> instead 
> of dynamically linking to the one provided by the system. So I highly suspect 
> a conflict between the libspatialite linked by libgdal.so and the one linked 
> by 
> libqgis_core, especially if they are not the same version 

Sounds reasonable. Could you please open a ticket?
Thanks.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Offset curve tool

2012-02-29 Thread Jürgen E . Fischer
Hi,

On Wed, 29. Feb 2012 at 11:34:06 +0100, Sandro Santilli wrote:
> Note that GEOSSingleSidedBuffer was deprecated in 3.3.0 in favor
> of the GEOSOffsetCurve function.

And that it didn't exists in GEOS <3.2 (hence the Lucid build broke last
night).


Jürgen 

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-developer] Offset curve tool

2012-02-29 Thread Denis Rouzaud

Hi Sandro,

Every day, I'll bring you a new ticket ;)
and I don't know why my data sucks!

http://trac.osgeo.org/geos/ticket/514

On 02/29/2012 05:32 PM, Sandro Santilli wrote:

If you feel you could also file a ticket on trac.osgeo.org/geos
with a description of the issue and a link to the video.

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


[Qgis-developer] Android qgis alpha7 with pinch zooming

2012-02-29 Thread Marco Bernasocchi
Hi all, just to let you know that I implemented pinch zooming, fixed 
some minor stuff and created alpha7. all details here:


http://www.bernawebdesign.ch/byteblog/2012/03/01/qgis-for-android-gets-pinch-zooming/
http://www.bernawebdesign.ch/byteblog/2012/03/01/qgis-for-android-alpha-7/

ciao

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


Re: [Qgis-developer] SpatiaLite layers invisible when loaded from browser

2012-02-29 Thread Even Rouault
Le mercredi 29 février 2012 08:45:21, Paolo Cavallini a écrit :
> Il 28/02/2012 20:23, Even Rouault ha scritto:
> > I don't confirm. It works for me with both GDAL 1.9.0 and GDAL trunk, at
> > least on the attached simple example.
> 
> Confirmed: your sample is ok. The sample file[0] does not load correctly
> here. Thanks.

I also reproduce the error with the test-2.3 database. The difference with the 
poly.sqlite that I sent before is that test-2.3 contains no spatial index.

The console has interesting error messages :

ERROR 1: In ResetStatement(): sqlite3_prepare(SELECT _rowid_, * FROM 'Towns' 
WHERE MBRIntersects("Geometry", BuildMBR(-213552396.323174118996, 
-167417043.364000141621, 215180205.733174085617, 176566090.844000160694, 
32632))):
  no such function: BuildMBR

I'd note that you get the same behaviour when opening from "Open a Vector 
Layer" (which uses the OGR driver)

What is more interesting is that the same request run from ogrinfo works 
perfectly

I'm afraid the reason why it does not work in QGIS is that it has the bad idea 
of embedding directly libspatialite in /usr/lib/libqgis_core.so.1.9.90 instead 
of dynamically linking to the one provided by the system. So I highly suspect 
a conflict between the libspatialite linked by libgdal.so and the one linked by 
libqgis_core, especially if they are not the same version 

Another point is  that the QGIS File Browser only displays the first OGR layer, 
whereas when opening with "Open a Vector Layer", you can choose among all OGR 
layers.


> 
> [0]http://www.gaia-gis.it/spatialite-2.3.1/test-2.3.zip
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Offset curve tool

2012-02-29 Thread Sandro Santilli
On Wed, Feb 29, 2012 at 02:45:20PM +0100, Marco Hugentobler wrote:
> Hi Denis
> 
> In certain cases, geos trunk throws an exception (version 3.2 crashes):
> 
> ERROR 1: IllegalArgumentException: RobustDeterminant encountered
> non-finite numbers
> 
> I noticed it happens often with lines with dense vertex
> distributions (e.g. segmented curves). Maybe Sandro (strk) knows
> more about the details?

All I know is I turned it into an EXCEPTION.
Was entering an infinite loop before.
A good start is catching the exception...
If you feel you could also file a ticket on trac.osgeo.org/geos
with a description of the issue and a link to the video.
It's intereting to see how to _obtain_ infinite values during
computation of the offset curve.

--strk; 

  ,--o-. 
  |   __/  |Delivering high quality PostGIS 2.0 !
  |  / 2.0 |http://strk.keybit.net - http://vizzuality.com
  `-o--'

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


Re: [Qgis-developer] LizMap demo broken?

2012-02-29 Thread Paolo Cavallini
Il 29/02/2012 16:36, kimaidou ha scritto:
> Hum, I have to change the apache configuration of demo.3liz.fr 
> 
> . People are not supposed to read the content...

sorry about that; I did not mean to advertize it.

> Lizmap Web Application demo link is in the wiki here :
> http://hub.qgis.org/projects/lizmapwebclient/wiki#Demonstration
> 
> It is :
> http://178.32.101.237/lizmap/index.php/view/map/?project=montpellier
> 
> I will add this link in the presentation here :
> http://hub.qgis.org/projects/lizmapwebclient

OK, merci bien.
Amicalement.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] LizMap demo broken?

2012-02-29 Thread kimaidou
Hi Paolo,

Hum, I have to change the apache configuration of demo.3liz.fr . People are
not supposed to read the content...

Lizmap Web Application demo link is in the wiki here :
http://hub.qgis.org/projects/lizmapwebclient/wiki#Demonstration

It is :
http://178.32.101.237/lizmap/index.php/view/map/?project=montpellier

I will add this link in the presentation here :
http://hub.qgis.org/projects/lizmapwebclient

Cheers,

Michael

2012/2/29 Paolo Cavallini 

> Hi all.
> From: http://demo.3liz.fr/ the link: http://178.32.101.237/qgismapserver/
> does not seem to be working properly.
> In general, it would be good to have a working demo to be linked from the
> plugin
> page: http://hub.qgis.org/projects/lizmapwebclient
> Merci bien.
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/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] LizMap demo broken?

2012-02-29 Thread Paolo Cavallini
Hi all.
From: http://demo.3liz.fr/ the link: http://178.32.101.237/qgismapserver/
does not seem to be working properly.
In general, it would be good to have a working demo to be linked from the plugin
page: http://hub.qgis.org/projects/lizmapwebclient
Merci bien.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Libeay32 dll version conflict

2012-02-29 Thread Jürgen E . Fischer
Hi Andreas,

On Wed, 29. Feb 2012 at 14:08:22 +0100, Andreas Neumann wrote:
> Every once in a while I get a dll version conflict when starting QGIS.  Seems
> like Windows has a newer version of libeay32.dll in  \winnt\system32 whereas
> OSGeo4W has a different (older?) version in  C:\Programme\OSGeo4W\bin

The DLL doesn't belong to Windows, but to some other software that also uses
OpenSSL and put the DLL there.

> Anybody knows why there is this version conflict? The system wide
> libeay32.dll - does it have priority over the one in OSGeo4W? Or is  there
> some setting I can use?

Unfortunately the system32 directory has priority and is processed before PATH
is searched (see also [1]).  AFAIK the only way is to (re)move the DLL from
system32 or to put the OSGeo4W version into each osgeo4w directory where
executables that load it are.
 

Jürgen

[1] http://trac.osgeo.org/osgeo4w/ticket/35

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

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


Re: [Qgis-developer] Offset curve tool

2012-02-29 Thread Denis Rouzaud

Hi again,

As there are three settings for this tool in the digitizing tab, I 
suggest to have a distinct category: just write Curve offset as a title 
and indent the 3 settings, as this is for the rest of the tab. What do 
you think?


There is a small typo: Mitre in the combobox and Miter in the label.

It's also non evident to understand what these settings do.

Regards,

Denis



On 02/29/2012 11:11 AM, Marco Hugentobler wrote:

Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and 
polygon rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It 
is thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco


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


Re: [Qgis-developer] Offset curve tool

2012-02-29 Thread Denis Rouzaud
Seems possible, as the bug appears when one segment of the line is 
getting very very small.


On 02/29/2012 02:45 PM, Marco Hugentobler wrote:

Hi Denis

In certain cases, geos trunk throws an exception (version 3.2 crashes):

ERROR 1: IllegalArgumentException: RobustDeterminant encountered 
non-finite numbers


I noticed it happens often with lines with dense vertex distributions 
(e.g. segmented curves). Maybe Sandro (strk) knows more about the 
details?


Regards,
Marco

On 29.02.2012 14:28, Denis Rouzaud wrote:

Hi Marco,

I noticed a bug and Qgis crashes.

Here is a video http://youtu.be/DBbMg5rO8fU

The geometry of the line I played with is:

LINESTRING(554235.01669295 145547.73137862,554242.99020772 
145548.76938867,554245.33776182 145545.30016923,554245.49416371 
145544.76210759)


Greetings,

Denis


On 02/29/2012 11:11 AM, Marco Hugentobler wrote: Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and 
polygon rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It 
is thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco


On 02/29/2012 11:11 AM, Marco Hugentobler wrote:

Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and 
polygon rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It 
is thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco





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


Re: [Qgis-developer] Offset curve tool

2012-02-29 Thread Marco Hugentobler

Hi Denis

In certain cases, geos trunk throws an exception (version 3.2 crashes):

ERROR 1: IllegalArgumentException: RobustDeterminant encountered 
non-finite numbers


I noticed it happens often with lines with dense vertex distributions 
(e.g. segmented curves). Maybe Sandro (strk) knows more about the details?


Regards,
Marco

On 29.02.2012 14:28, Denis Rouzaud wrote:

Hi Marco,

I noticed a bug and Qgis crashes.

Here is a video http://youtu.be/DBbMg5rO8fU

The geometry of the line I played with is:

LINESTRING(554235.01669295 145547.73137862,554242.99020772 
145548.76938867,554245.33776182 145545.30016923,554245.49416371 
145544.76210759)


Greetings,

Denis


On 02/29/2012 11:11 AM, Marco Hugentobler wrote: Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and 
polygon rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It 
is thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco


On 02/29/2012 11:11 AM, Marco Hugentobler wrote:

Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and 
polygon rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It 
is thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco




--
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, 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] Offset curve tool

2012-02-29 Thread Denis Rouzaud

Hi Marco,

I noticed a bug and Qgis crashes.

Here is a video http://youtu.be/DBbMg5rO8fU

The geometry of the line I played with is:

LINESTRING(554235.01669295 145547.73137862,554242.99020772 
145548.76938867,554245.33776182 145545.30016923,554245.49416371 
145544.76210759)


Greetings,

Denis


On 02/29/2012 11:11 AM, Marco Hugentobler wrote: Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and polygon 
rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It is 
thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco


On 02/29/2012 11:11 AM, Marco Hugentobler wrote:

Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and 
polygon rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It 
is thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco


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


[Qgis-developer] Re: [Qgis-user] Offset curve tool

2012-02-29 Thread Marco Hugentobler
>Ahh this makes sense.  Having the tool follow the mouse cursor is 
something that I was thinking about trying with some other tools, now I 
have something to model that off. >Bugger about the bug on X11, in that 
case it would be best to have a window.
>Is it possible to do a frameless modeless dialog with the widget 
inside and have it follow the cursor?  Or does this have the same issue.


That could work, afaik only QGraphicsProxyWidgets are affected. If the 
widget is on top of the graphics scene, there should be no problem.


On the other hand, having a floating widget (like measuring tools) would 
allow to present the options which are now in the digitizing tab of the 
options dialog. So I'm thinking about implementing it that way.


Regards,
Marco

On 29.02.2012 12:43, Nathan Woodrow wrote:
On Wed, Feb 29, 2012 at 9:17 PM, Marco Hugentobler 
> wrote:


On Mac OS and Windows, the spin box is placed next to the cursor
and moves with it. On X11, I had to disable that because there is
a problem embedding widget items if the flag Qt::WA_PaintOnScreen
is set on the canvas.
But yes, it might be better to have a separate window on X11.


Ahh this makes sense.  Having the tool follow the mouse cursor is 
something that I was thinking about trying with some other tools, now 
I have something to model that off.  Bugger about the bug on X11, in 
that case it would be best to have a window.


Is it possible to do a frameless modeless dialog with the widget 
inside and have it follow the cursor?  Or does this have the same issue.


>Also if editing the value doesn't change the result of the tool I
would think it would be good as read-only. I tried to edit it in
order to order to supply a offset of 3 and nothing >happened.

It is intended that editing changes the result. After pressing the
return key, the offset line should move to the new distance (but
the mouse should not be moved, otherwise it will be overriden by
the following mouse move position). Doesn't this work for you?


Seems to not on my machine.  Running Linux Mint 11

- Nathan



--
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, 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] Libeay32 dll version conflict

2012-02-29 Thread Andreas Neumann

Hi,

Every once in a while I get a dll version conflict when starting QGIS. 
Seems like Windows has a newer version of libeay32.dll in 
\winnt\system32 whereas OSGeo4W has a different (older?) version in 
C:\Programme\OSGeo4W\bin


Anybody knows why there is this version conflict? The system wide 
libeay32.dll - does it have priority over the one in OSGeo4W? Or is 
there some setting I can use?


Thanks,
Andreas


--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Re: [Qgis-user] Offset curve tool

2012-02-29 Thread Nathan Woodrow
On Wed, Feb 29, 2012 at 9:17 PM, Marco Hugentobler <
marco.hugentob...@sourcepole.ch> wrote:

> On Mac OS and Windows, the spin box is placed next to the cursor and moves
> with it. On X11, I had to disable that because there is a problem embedding
> widget items if the flag Qt::WA_PaintOnScreen is set on the canvas.
> But yes, it might be better to have a separate window on X11.
>

Ahh this makes sense.  Having the tool follow the mouse cursor is something
that I was thinking about trying with some other tools, now I have
something to model that off.  Bugger about the bug on X11, in that case it
would be best to have a window.

Is it possible to do a frameless modeless dialog with the widget inside and
have it follow the cursor?  Or does this have the same issue.


>  >Also if editing the value doesn't change the result of the tool I would
> think it would be good as read-only. I tried to edit it in order to order
> to supply a offset of 3 and nothing >happened.
>
> It is intended that editing changes the result. After pressing the return
> key, the offset line should move to the new distance (but the mouse should
> not be moved, otherwise it will be overriden by the following mouse move
> position). Doesn't this work for you?
>

Seems to not on my machine.  Running Linux Mint 11

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


[Qgis-developer] Re: [Qgis-user] Offset curve tool

2012-02-29 Thread Marco Hugentobler

Hi Nathan

>A suggestion I would have is to not put the Offset spin box in the 
status bar area.  IMO it would be better in a floating dialog like the 
measure tool.  This would allow more >options, or info, to be added to 
the tool later.


On Mac OS and Windows, the spin box is placed next to the cursor and 
moves with it. On X11, I had to disable that because there is a problem 
embedding widget items if the flag Qt::WA_PaintOnScreen is set on the 
canvas.

But yes, it might be better to have a separate window on X11.

>Also if editing the value doesn't change the result of the tool I 
would think it would be good as read-only. I tried to edit it in order 
to order to supply a offset of 3 and nothing >happened.


It is intended that editing changes the result. After pressing the 
return key, the offset line should move to the new distance (but the 
mouse should not be moved, otherwise it will be overriden by the 
following mouse move position). Doesn't this work for you?


Regards,
Marco

On 29.02.2012 11:31, Nathan Woodrow wrote:
A suggestion I would have is to not put the Offset spin box in the 
status bar area.  IMO it would be better in a floating dialog like the 
measure tool.  This would allow more options, or info, to be added to 
the tool later.


Also if editing the value doesn't change the result of the tool I 
would think it would be good as read-only. I tried to edit it in order 
to order to supply a offset of 3 and nothing happened.


- Nathan

On Wed, Feb 29, 2012 at 8:11 PM, Marco Hugentobler 
> wrote:


Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and
polygon rings ( single sided buffers with the geos function
GEOSSingleSidedBuffer ). The tool can be applied to the edited
layer (the geometries are modified) or also to background layers
(creates copies of the lines / rings and adds it to the the edited
layer). It is thus ideally suited for the creation of distance
line layers.

Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco

-- 
Dr. Marco Hugentobler

Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch
 http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

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





--
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, 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] Offset curve tool

2012-02-29 Thread Sandro Santilli
On Wed, Feb 29, 2012 at 11:11:43AM +0100, Marco Hugentobler wrote:

> The offset curve tool creates parallel shifts of linestrings and
> polygon rings ( single sided buffers with the geos function
> GEOSSingleSidedBuffer ).

Note that GEOSSingleSidedBuffer was deprecated in 3.3.0 in favor
of the GEOSOffsetCurve function. To be honest I dubt it'll ever
be really dropped, but I'd recomend using the new API nonetheless
(when available). Only difference in API is that GEOSOffsetCurve
deduces side by sign of distance (positive means left, negative
means right).

--strk;

  ,--o-. 
  |   __/  |Delivering high quality PostGIS 2.0 !
  |  / 2.0 |http://strk.keybit.net - http://vizzuality.com
  `-o--'

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


[Qgis-developer] Re: [Qgis-user] Offset curve tool

2012-02-29 Thread Nathan Woodrow
A suggestion I would have is to not put the Offset spin box in the status
bar area.  IMO it would be better in a floating dialog like the measure
tool.  This would allow more options, or info, to be added to the tool
later.

Also if editing the value doesn't change the result of the tool I would
think it would be good as read-only. I tried to edit it in order to order
to supply a offset of 3 and nothing happened.

- Nathan

On Wed, Feb 29, 2012 at 8:11 PM, Marco Hugentobler <
marco.hugentob...@sourcepole.ch> wrote:

> Hi all
>
> There is a new editing tool in the master branch.
> The offset curve tool creates parallel shifts of linestrings and polygon
> rings ( single sided buffers with the geos function GEOSSingleSidedBuffer
> ). The tool can be applied to the edited layer (the geometries are
> modified) or also to background layers (creates copies of the lines / rings
> and adds it to the the edited layer). It is thus ideally suited for the
> creation of distance line layers.
>
> Let me know about issues, suggestions, comments.
>
> The work was kindly funded by the city of Uster (Switzerland).
>
> Regards,
> Marco
>
> --
> Dr. Marco Hugentobler
> Sourcepole -  Linux&  Open Source Solutions
> Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
> marco.hugentobler@sourcepole.**ch 
> http://www.sourcepole.ch
> Technical Advisor QGIS Project Steering Committee
>
> __**_
> Qgis-user mailing list
> qgis-u...@lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-user
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Offset curve tool

2012-02-29 Thread Marco Hugentobler

Hi all

There is a new editing tool in the master branch.
The offset curve tool creates parallel shifts of linestrings and polygon 
rings ( single sided buffers with the geos function 
GEOSSingleSidedBuffer ). The tool can be applied to the edited layer 
(the geometries are modified) or also to background layers (creates 
copies of the lines / rings and adds it to the the edited layer). It is 
thus ideally suited for the creation of distance line layers.


Let me know about issues, suggestions, comments.

The work was kindly funded by the city of Uster (Switzerland).

Regards,
Marco

--
Dr. Marco Hugentobler
Sourcepole -  Linux&  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, 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] Problems with Martin's repo

2012-02-29 Thread Martin Dobias
On Tue, Feb 28, 2012 at 6:04 PM, Alexander Bruy
 wrote:
> Hi all,
>
> Martin Dobias' Sandbox repository is not available for several days.
> Anyone confirms or this is local problem?

The domain has expired by a mistake. It should be online in few days -
however the repository is not going to receive further updates -
plugins.qgis.org is the place where plugins should go.

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


Re: [Qgis-developer] SpatiaLite layers invisible when loaded from browser

2012-02-29 Thread Zirneklitis
On windows XP PRO the QGIS browser does not recognized test-2.3.sqlite 
as a map. QGIS adds this file as SpatiaLite layers without any problems.

(OSGeo4W QGIS version 1.9.90-Alpha / 371d7fe; GDAL/OGR Version
1.8.1; SpatiaLite Version 2.4.0)

On Fedora 14×64 it works as expected. No problems recognized.
(QGIS version 1.9.90-Alpha / 927dcbd (self compiled); GDAL/OGR Version 
1.7.3; SpatiaLite Version 2.4.0)


Karlis

Paolo Cavallini wrote:

..

Confirmed: your sample is ok. The sample file[0] does not load correctly here.
Thanks.

[0]http://www.gaia-gis.it/spatialite-2.3.1/test-2.3.zip


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