Re: [Qgis-user] qgis installation

2010-06-09 Thread Luigi Castro Cardeles
 2010/6/9 Ivan Mincik 

> On Wednesday 09 June 2010, Mohammed Rashad wrote:
> > this is my qgis cmake . log output
>
> > -- SIP is required in version 4.7 or later!
> > -- Python bindings disabled due dependency problems!
>
> Python bindings disabled because of old sip version ?
>
>
Hi,

maybe this can help:
http://www.mail-archive.com/qgis-user@lists.osgeo.org/msg05621.html

[]'s
Luigi Castro Cardeles
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Fetch plugins crashing

2010-03-11 Thread Luigi Castro Cardeles
Hi,

maybe this can help:
http://forum.qgis.org/viewtopic.php?f=2&t=6075

[]'s
Luigi Castro Cardeles



2010/3/10 Joe Public :
>
> Thanks for replying
> I don't have the option to reinstall my OS...
> Hopefully someone with a sol'n will answer soon
> --
> View this message in context: 
> http://n2.nabble.com/Fetch-plugins-crashing-tp4712205p4713052.html
> Sent from the qgis-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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Segmentation fault...

2010-03-03 Thread Luigi Castro Cardeles
Hi list,

my system:
kernel -> 2.6.31.12-174.2.22.fc12.x86_64;
python -> Python 2.6.2
sip -> 4.10
gis -> 1.4.0 revision 12996 with the path applied.
gnome -> 2.28.2
qt -> 4.6.2.

some time ago, there is a configuration with qtconfig-qt4 that was causing
to me and to others segfault. On qtconfig-qt4, GUI style , i have to change
from default to any other style to prevent crashes.
Did you try to do that?

[]'s
Luigi Castro Cardeles


2010/3/3 David J. Bakeman 

>  Luigi Castro Cardeles wrote:
>
> Hi,
>
>  Thanks Micha and Jurgen for the help. I applied the patch and compile
> qgis. Now it runs without error and with python.
> I run the app on gnome and kde (latest version) with  normail user on
> Fedora 12.
>
> I compiled 1.4.0 on FC11 with the fix to find sip and it still crashes when
> I use gnome even if I'm superuser.  If I use xfce on the console it works
> but if I'm running gnome on the console and I try to run qgis in a virtual
> screen using xfce it still crashes!
>
>
>  []'s
> Luigi Castro Cardeles
>
>
> 2010/3/2 Micha Silver 
>
>>  On 03/01/2010 11:13 PM, Luigi Castro Cardeles wrote:
>>
>> Hi,
>>
>>  i recompiled qgis 1.4.0 and keep with the same problem. QGIS run but not
>> python plugin, i also get the same error message about sip version.
>>
>>   You might want to try the patch that I received from Jurgen Fischer
>> [1]:
>>
>> --- qgis-1.4.0+12730~/cmake/Python.cmake2010-01-07 11:33:11.0
>> +0100
>> +++ qgis-1.4.0+12730/cmake/Python.cmake2010-02-05 18:02:29.0
>> +0100
>> @@ -148,8 +148,8 @@
>>
>>  IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)
>># check for SIP version
>># minimal version is 4.7 (to support universal builds)
>> -  SET (SIP_MIN_VERSION 040700)
>> -  TRY_RUN_PYTHON (RES "import sip\nprint '%x' % sip.SIP_VERSION"
>> SIP_VERSION)
>> +  SET (SIP_MIN_VERSION 263936) # 0x40700
>> +  TRY_RUN_PYTHON (RES "import sip\nprint '%d' % sip.SIP_VERSION"
>> SIP_VERSION)
>>IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER
>> "${SIP_MIN_VERSION}")
>>  SET (SIP_IS_GOOD TRUE)
>>ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION
>> GREATER "${SIP_MIN_VERSION}")
>>
>>
>> Create a new file called Python.cmake.patch in the directory where your
>> qgis source is located then do:
>> patch cmake/Python.cmake Python.cmake.patch
>>
>> Now run:
>>  cmake -L ..
>> again from the build directory  and check that Python and SIP were found.
>>
>> [1]
>> http://n2.nabble.com/Fedroa-12-and-new-version-of-qt-tc4638666.html#a4638702
>>
>>
>>  When i run cmake .. and configure (c), the dialog show some msg but it
>> goes so fast that i can't read. There is some way to slowdown that message
>> or is this logged on a file? Sorry but i don't know cmake very well.
>>
>>  []'s
>> Luigi Castro Cardeles
>>
>>
>> 2010/3/1 Micha Silver 
>>
>>> Luigi Castro Cardeles wrote:
>>>
>>>> Thanks Martin,
>>>>
>>>> i use a compiled qgis.
>>>> For Fedora Users, i think that this update comes with kde-4.4.0 updates.
>>>> []'s
>>>>
>>>>  I also have a self compiled qgis 1.4.  After updating to the new PyQt4
>>> and sip (also updated qt and qt-x11 packages) last week, I recompiled, and
>>> still get the segfault. And again, after switching to xfce, QGIS starts
>>> fine. Under Gnome, QGIS will start only if run as super user. So my guess is
>>> that the problem is some interaction between Gnome and Qt in the newer
>>> packages.
>>>
>>>> Luigi Castro Cardeles
>>>>
>>>>
>>>> 2010/3/1 Martin Dobias http://wonder.sk>@gmail.com <
>>>> http://gmail.com>>
>>>>
>>>>
>>>>On Mon, Mar 1, 2010 at 5:23 PM, Luigi Castro Cardeles
>>>> mailto:luigi.carde...@gmail.com>> wrote:
>>>>> Hi list,
>>>>> maybe there are other problem (relate to pyqgis):
>>>>>
>>>>> Não foi possível carregar PyQGIS.
>>>>> Suporte à Python vai ser desabilitado.
>>>>>
>>>>> Traceback (most recent call last):
>>>>>   File "", line 1, in
>>>>> RuntimeError: the sip module implements API

Re: [Qgis-user] Segmentation fault...

2010-03-02 Thread Luigi Castro Cardeles
Hi,

Thanks Micha and Jurgen for the help. I applied the patch and compile qgis.
Now it runs without error and with python.
I run the app on gnome and kde (latest version) with  normail user on Fedora
12.

[]'s
Luigi Castro Cardeles


2010/3/2 Micha Silver 

>  On 03/01/2010 11:13 PM, Luigi Castro Cardeles wrote:
>
> Hi,
>
>  i recompiled qgis 1.4.0 and keep with the same problem. QGIS run but not
> python plugin, i also get the same error message about sip version.
>
>  You might want to try the patch that I received from Jurgen Fischer [1]:
>
> --- qgis-1.4.0+12730~/cmake/Python.cmake2010-01-07 11:33:11.0
> +0100
> +++ qgis-1.4.0+12730/cmake/Python.cmake2010-02-05 18:02:29.0
> +0100
> @@ -148,8 +148,8 @@
>
>  IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)
># check for SIP version
># minimal version is 4.7 (to support universal builds)
> -  SET (SIP_MIN_VERSION 040700)
> -  TRY_RUN_PYTHON (RES "import sip\nprint '%x' % sip.SIP_VERSION"
> SIP_VERSION)
> +  SET (SIP_MIN_VERSION 263936) # 0x40700
> +  TRY_RUN_PYTHON (RES "import sip\nprint '%d' % sip.SIP_VERSION"
> SIP_VERSION)
>IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER
> "${SIP_MIN_VERSION}")
>  SET (SIP_IS_GOOD TRUE)
>ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER
> "${SIP_MIN_VERSION}")
>
>
> Create a new file called Python.cmake.patch in the directory where your
> qgis source is located then do:
> patch cmake/Python.cmake Python.cmake.patch
>
> Now run:
>  cmake -L ..
> again from the build directory  and check that Python and SIP were found.
>
> [1]
> http://n2.nabble.com/Fedroa-12-and-new-version-of-qt-tc4638666.html#a4638702
>
>
>  When i run cmake .. and configure (c), the dialog show some msg but it
> goes so fast that i can't read. There is some way to slowdown that message
> or is this logged on a file? Sorry but i don't know cmake very well.
>
>  []'s
> Luigi Castro Cardeles
>
>
> 2010/3/1 Micha Silver 
>
>> Luigi Castro Cardeles wrote:
>>
>>> Thanks Martin,
>>>
>>> i use a compiled qgis.
>>> For Fedora Users, i think that this update comes with kde-4.4.0 updates.
>>> []'s
>>>
>>>  I also have a self compiled qgis 1.4.  After updating to the new PyQt4
>> and sip (also updated qt and qt-x11 packages) last week, I recompiled, and
>> still get the segfault. And again, after switching to xfce, QGIS starts
>> fine. Under Gnome, QGIS will start only if run as super user. So my guess is
>> that the problem is some interaction between Gnome and Qt in the newer
>> packages.
>>
>>> Luigi Castro Cardeles
>>>
>>>
>>> 2010/3/1 Martin Dobias http://wonder.sk>@gmail.com <
>>> http://gmail.com>>
>>>
>>>
>>>On Mon, Mar 1, 2010 at 5:23 PM, Luigi Castro Cardeles
>>> mailto:luigi.carde...@gmail.com>> wrote:
>>>> Hi list,
>>>> maybe there are other problem (relate to pyqgis):
>>>>
>>>> Não foi possível carregar PyQGIS.
>>>> Suporte à Python vai ser desabilitado.
>>>>
>>>> Traceback (most recent call last):
>>>>   File "", line 1, in
>>>> RuntimeError: the sip module implements API v7.0 but the
>>>qgis.core module
>>>> requires API v6.0
>>>
>>>This looks like you've updated sip package in your system, however
>>>qgis python module still awaits older version.
>>>- if you run self-compiled qgis, just recompile it and install again.
>>>It should adapt to newer sip version
>>>- if you run qgis from a distribution package, request an updated
>>>package from the packager
>>>- you could downgrade sip package and all packages that depend on it
>>>(PyQt, PyKDE) but I wouldn't recommend that as it might break your
>>>system
>>>
>>>Martin
>>>
>>>
>>>
>>>  This mail was received via Mail-SeCure System.
>>> 
>>>
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>> This mail was received via Mail-SeCure System.
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Micha Silver
>>
>> Arava Development Co. +972-52-3665918
>>  http://surfaces.co.il
>>
>>
>>
>
> This mail was received via Mail-SeCure System.
>
>
> ___
> Qgis-user mailing 
> listqgis-u...@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>
> This mail was received via Mail-SeCure System.
>
>
>
>
>
>
> --
> Micha Silver
> http://www.surfaces.co.il/
>
> Arava Development Co.  +972-52-3665918
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Segmentation fault...

2010-03-01 Thread Luigi Castro Cardeles
Hi,

i recompiled qgis 1.4.0 and keep with the same problem. QGIS run but not
python plugin, i also get the same error message about sip version.

When i run cmake .. and configure (c), the dialog show some msg but it goes
so fast that i can't read. There is some way to slowdown that message or is
this logged on a file? Sorry but i don't know cmake very well.

[]'s
Luigi Castro Cardeles


2010/3/1 Micha Silver 

> Luigi Castro Cardeles wrote:
>
>> Thanks Martin,
>>
>> i use a compiled qgis.
>> For Fedora Users, i think that this update comes with kde-4.4.0 updates.
>> []'s
>>
>>  I also have a self compiled qgis 1.4.  After updating to the new PyQt4
> and sip (also updated qt and qt-x11 packages) last week, I recompiled, and
> still get the segfault. And again, after switching to xfce, QGIS starts
> fine. Under Gnome, QGIS will start only if run as super user. So my guess is
> that the problem is some interaction between Gnome and Qt in the newer
> packages.
>
>> Luigi Castro Cardeles
>>
>>
>> 2010/3/1 Martin Dobias http://wonder.sk>@gmail.com <
>> http://gmail.com>>
>>
>>
>>On Mon, Mar 1, 2010 at 5:23 PM, Luigi Castro Cardeles
>>mailto:luigi.carde...@gmail.com>> wrote:
>>> Hi list,
>>> maybe there are other problem (relate to pyqgis):
>>>
>>> Não foi possível carregar PyQGIS.
>>> Suporte à Python vai ser desabilitado.
>>>
>>> Traceback (most recent call last):
>>>   File "", line 1, in
>>> RuntimeError: the sip module implements API v7.0 but the
>>qgis.core module
>>> requires API v6.0
>>
>>This looks like you've updated sip package in your system, however
>>qgis python module still awaits older version.
>>- if you run self-compiled qgis, just recompile it and install again.
>>It should adapt to newer sip version
>>- if you run qgis from a distribution package, request an updated
>>package from the packager
>>- you could downgrade sip package and all packages that depend on it
>>(PyQt, PyKDE) but I wouldn't recommend that as it might break your
>>system
>>
>>Martin
>>
>>
>>
>> This mail was received via Mail-SeCure System.
>> 
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>>
>>
>
>
> --
> Micha Silver
>
> Arava Development Co. +972-52-3665918
> http://surfaces.co.il
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Segmentation fault...

2010-03-01 Thread Luigi Castro Cardeles
Thanks Martin,

i use a compiled qgis.
For Fedora Users, i think that this update comes with kde-4.4.0 updates.
[]'s

Luigi Castro Cardeles


2010/3/1 Martin Dobias 

> On Mon, Mar 1, 2010 at 5:23 PM, Luigi Castro Cardeles
>  wrote:
> > Hi list,
> > maybe there are other problem (relate to pyqgis):
> >
> > Não foi possível carregar PyQGIS.
> > Suporte à Python vai ser desabilitado.
> >
> > Traceback (most recent call last):
> >   File "", line 1, in
> > RuntimeError: the sip module implements API v7.0 but the qgis.core module
> > requires API v6.0
>
> This looks like you've updated sip package in your system, however
> qgis python module still awaits older version.
> - if you run self-compiled qgis, just recompile it and install again.
> It should adapt to newer sip version
> - if you run qgis from a distribution package, request an updated
> package from the packager
> - you could downgrade sip package and all packages that depend on it
> (PyQt, PyKDE) but I wouldn't recommend that as it might break your
> system
>
> Martin
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Segmentation fault...

2010-03-01 Thread Luigi Castro Cardeles
Hi list,

maybe there are other problem (relate to pyqgis):

Não foi possível carregar PyQGIS.
Suporte à Python vai ser desabilitado.

Traceback (most recent call last):
  File "", line 1, in
RuntimeError: the sip module implements API v7.0 but the qgis.core module
requires API v6.0

Versão do Python:
2.6.2 (r262:71600, Aug 21 2009, 12:23:57)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]

Caminho para o Python:
['/usr/local/share/qgis/python', '/home/luigi/.qgis//python',
'/home/luigi/.qgis//python/plugins', '/usr/local/share/qgis/python/plugins',
'/usr/lib64/python26.zip', '/usr/lib64/python2.6',
'/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk',
'/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload',
'/usr/lib64/python2.6/site-packages',
'/usr/lib64/python2.6/site-packages/PIL',
'/usr/lib64/python2.6/site-packages/gst-0.10',
'/usr/lib64/python2.6/site-packages/gtk-2.0',
'/usr/lib64/python2.6/site-packages/webkit-1.0',
'/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode',
'/usr/lib/python2.6/site-packages']

QGIS start but without python.

I only run the version i have installed.

[]'s
Luigi Castro Cardeles


2010/3/1 Pedro Tarroso 

>  Hi
>
> Thank you all for the answers (obrigado Giovanni!). I think what happened
> is the same thing that Micha describes. It was the last week (and I suppose
> after that upgrade) that the software begun to give the seg fault. I don't
> have the xfce installed but I will try to have a look to it.
>
> Cheers,
> Pedro
>
>
>
>
> -Original Message-
> From: Micha Silver [mailto:mi...@arava.co.il ]
> Sent: Mon 3/1/2010 3:25 PM
> To: Pedro Tarroso
> Cc: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Segmentation fault...
>
> On 03/01/2010 03:26 PM, Pedro Tarroso wrote:
> >
> > Hi
> >
> > I'm trying to use QGIS 1.0.2 on a Fedora 11 machine but I get all the
> > time a Segmentation Fault error...  I have looked in some forums for
> > similar problems and there was a common problem about Qt. However, I
> > already tried the Qt config without success. The strange behaviour is
> > that QGIS runs fine as a super user! Can it be some permissions? Any
> idea?
> >
> I found the same problem running QGIS 1.4 on Fedora 12 after a yum
> update recently (Feb 24 I think) which upgraded some qt packages. I also
> find that QGIS starts when run as super user, and in addition, if I
> switch to xfce instead of Gnome, QGIS starts fine (as a regular user).
> Can you verify that under xfce (if you have that window manager
> installed) on your setup it works?
>
> Thanks,
> Micha
> >
> > Thanks!
> > Pedro
> >
> >
> >
> > This mail was received via Mail-SeCure System.
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> > This mail was received via Mail-SeCure System.
> >
> >
> >
>
>
> --
> Micha Silver
> http://www.surfaces.co.il/
> Arava Development Co.  +972-52-3665918
>
>
>
> ___
> 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] Support for (wrong) GEOCOVER projection for S hemisphere in qgis

2009-11-18 Thread Luigi Castro Cardeles
Hi List,

i don't think QGIS allow raster reprojection. Maybe that's is your problem.

best regards
Luigi Castro Cardeles


2009/11/18 Agustin Lobo 

> No, what I was doing was different:
> I was setting the project to 18S (not 18N) with OTF reprojection, the
> raster to 18N
> and the vector layers got reprojected to 18S but the raster
> was not displayed.
> I was expecting the raster to be located in the S hemisphere because
> the coordinates are negative. In TNTmips, as the coordinates are negative,
> even if the raster CRS is set
> to 18N, the raster is displayed in the S hemisphere. Not sure if this
> is what qgis should do, though, as we are dealing with wrongly annotated
> raster layers: in UTM, S is S, not negative N.
>
> On the other hand, I assumed that if you set the project to 18N, then the
> vector layers would projected to the N hemisphere.
> But have tried defining the project as 18N as you say, used Coordinate
> capture to check lon,lat, and actually get correct lon,lat coordinates (in
> the S
> hemisphere). The vector layers are reprojected to
> 18, no matter the S or N, the original latitude correctly defines the
> hemisphere.
>
> So it works "your way", thanks!
>
> Agus
>
>
>
>
> Micha Silver wrote:
>
>> Hi Agus:
>> I am actually able to do just that. I also am using some Landsat GEOCover
>> images from below the equator, projected, as you say in UTM 39_N_.
>> I load the raster, set the project CRS to that (UTM Northern) projection,
>> and enable OTF projection. Then I can overlay vector layers, which are WGS84
>> Lon-Lat., and they are correctly located.
>>
>> It's usually not very helpful to say "works for me" but...
>> Anyway, HTH,
>> Micha
>>
>>
>> Agustin Lobo wrote:
>>
>>> The global set of Landsat images on GEOCOVER
>>> https://zulu.ssc.nasa.gov/mrsid/mrsid.pl
>>> is on UTM/WGS projection
>>> but with the Southern hemisphere tiles as UTM zones in the N with
>>> negative coordinates. For example, a tile that should be at 18S is
>>> actually 18N with negative coordinates
>>> ("Non-standard UTM definition: For the southern hemisphere, the GeoTiff
>>> files
>>>  contain positive zone numbers with negative northing coordinates")
>>>
>>> https://zulu.ssc.nasa.gov/mrsid/docs/GeoCover_circa_2000_Product_Description.pdf
>>>
>>> As we have some vector layers on geographic coordinates WGS84 and a
>>> Geocover tile for 18S,
>>> I've set the project as 18S, enabled CRS reprojection on the fly, and set
>>> the raster CRS to 18N. Unfortunately, QGIS does not display the raster,
>>> even
>>> selecting zoom to layer extent. (Using Mimas).
>>>
>>> This is probably not a problem of QGIS, the Geocover projection is just
>>> wrong,
>>> but would like to know if there could be a way to circumvent this problem
>>> to
>>> be able to use GEOCOVER tiles of the S hemisphere within QGIS.
>>> A way could be making a world file with the Georeferencer plugin, but
>>> perhaps
>>> there is a more general way.
>>>
>>> Thanks
>>>
>>> Agus
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>> This mail was received via Mail-SeCure System.
>>>
>>>
>>>
>> ___
>> 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 mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS Mimas crash when attempting to connect to WMS

2009-10-14 Thread Luigi Castro Cardeles
Hi,

Some ideas:

1 - this type of error appears to be related with some qt version conflict.
Try upgrading qt, qt-devel, pyqt etc.

2 - this happens with me (and solved thanks to the list :D) with the qt
window style. Within qt configure, set the window style to anytype besides
default.

[]'s
Luigi Castro Cardeles


2009/10/10 Juan Pedro Pérez Alcántara 

> Hello,
>
> I've just installed QGis Mimas in a Ubuntu Intrepid, and it crash when I
> push the connect button in the WMS dialog. Console launching just say
> our beloved "Segmentation fault". I'm not a developer of QGis and have
> absolutely no idea of what might been going on. Besides, I have to make
> a soft link in /resources to /usr/share/qgis/resources because QGis was
> unable to find the SRS database. Any ideas about this two issues?
>
> Thanks in advance,
>
> Juan Pedro Pérez Alcántara
>
>
> ___
> 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] Re: [Qgis-developer] gdal tools on win version?

2009-10-02 Thread Luigi Castro Cardeles
Hi Agustin and List,

i use the osgeo4w installer and that show me gdal16-python 1.6.0-1

[]'s

Luigi Castro Cardeles


2009/10/2 Agustin Lobo 

> Not sure, there are gdal files under the QGIS directory, but don't know
> the version, does anybody know how can I check that? I use win only for the
> class...
>
> Agus
>
> Paolo Cavallini wrote:
>
>> Agustin Lobo ha scritto:
>>
>>
>>
>>> Are the gdal tools supposed to work
>>> with the standalone 1.3.0 ?
>>> (first  in the list
>>> http://www.qgis.org/en/download/current-software.html)
>>>
>>>
>>
>> The plugin needs gdal16-python: is this inclulded in the package (sorry,
>> no win here to test -
>> feedback welcome).
>> All the best.
>>
>>
>
> ___
> 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] Re: Problem using draw tool's with snap enabled

2009-07-26 Thread Luigi Castro Cardeles
hi,

i forget to say that the problem appear with qgis 1.1.0

best regards,
Luigi Castro Cardeles


2009/7/24 Luigi Castro Cardeles 

> Hi list,
>
> i am doing some tests with the drawing tool using *versão do qgis do
> rodrigo* and snap active.
>
> I am using postgis layers (one for line and another for polygon).
>
> I have some polygon and want to draw lines on the boundary of that polygon
> (image
> http://picasaweb.google.com.br/lh/photo/S82AQ6dp00-YdDZktcIf7A?feat=directlink
> )
> At image 1 the yellow one has id=1 and the other has id=3.
>
>
> i have draw both using snap to segment to draw a line on top of polygon's
> boundary.
>
> If i use the postgis function to calculate the distance between each line
> and the polygon, i obtain strange results.
>
> I think that both distance's should be zero since the lines are on top of
> polygon boundary's but instead i get 3.53443747694303e-016 for line with
> id=1 (the yellow one) and get zero for line with id=3. The zero answer is
> right but the other one is not.
>
> I do this same operations using OpenJUMP and obtain the expected result
> (zero distance for both lines).
> If i do this same operations using QGIS unstable 1.2.0, the distances are
> zero (right result).
>
> Is this a bug on 1.1.0 version?
>
>
> If i was not clear enough, please let me know what information i need to
> clarify.
>
> *walkthrough*
>
> 1- create postgis tables
> CREATE TABLE line ( id integer NOT NULL,  CONSTRAINT line_id_pk PRIMARY KEY
> (id));
> CREATE TABLE polygon ( id integer NOT NULL,  CONSTRAINT polygon_id_pk
> PRIMARY KEY (id));
> SELECT addgeometrycolumn('public','line','the_geom',4326,'LINESTRING',2);
> SELECT addgeometrycolumn('public','polygon','the_geom',4326,'POLYGON',2);
>
> 2-load the layer at qgis
>
> 3-create a polygon and draw lines using the snap tool.
>
> 4-run the distance function
> SELECT id,st_distance(a.the_geom, b.the_geom) from line a, polygon b
>
>
> Thanks,
>  Luigi Castro Cardeles
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Problem using draw tool's with snap enabled

2009-07-23 Thread Luigi Castro Cardeles
Hi list,

i am doing some tests with the drawing tool using *versão do qgis do
rodrigo* and snap active.

I am using postgis layers (one for line and another for polygon).

I have some polygon and want to draw lines on the boundary of that polygon
(image
http://picasaweb.google.com.br/lh/photo/S82AQ6dp00-YdDZktcIf7A?feat=directlink
)
At image 1 the yellow one has id=1 and the other has id=3.


i have draw both using snap to segment to draw a line on top of polygon's
boundary.

If i use the postgis function to calculate the distance between each line
and the polygon, i obtain strange results.

I think that both distance's should be zero since the lines are on top of
polygon boundary's but instead i get 3.53443747694303e-016 for line with
id=1 (the yellow one) and get zero for line with id=3. The zero answer is
right but the other one is not.

I do this same operations using OpenJUMP and obtain the expected result
(zero distance for both lines).
If i do this same operations using QGIS unstable 1.2.0, the distances are
zero (right result).

Is this a bug on 1.1.0 version?


If i was not clear enough, please let me know what information i need to
clarify.

*walkthrough*

1- create postgis tables
CREATE TABLE line ( id integer NOT NULL,  CONSTRAINT line_id_pk PRIMARY KEY
(id));
CREATE TABLE polygon ( id integer NOT NULL,  CONSTRAINT polygon_id_pk
PRIMARY KEY (id));
SELECT addgeometrycolumn('public','line','the_geom',4326,'LINESTRING',2);
SELECT addgeometrycolumn('public','polygon','the_geom',4326,'POLYGON',2);

2-load the layer at qgis

3-create a polygon and draw lines using the snap tool.

4-run the distance function
SELECT id,st_distance(a.the_geom, b.the_geom) from line a, polygon b


Thanks,
Luigi Castro Cardeles
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Editing: advanced vs. basic, dropdown menus

2009-06-18 Thread Luigi Castro Cardeles
Hi list,
my two cents,

i use AutoCAD for a long time and his tools are grouped in "draw" and
"modify" tool bar.
"Draw" tool bar has all commands to create geometries (points, lines,
polygon etc).
"Modify" tool bar has all commands to modify geometries (explode, mirror,
break, move vertice, move geometry, copy, etc).

This is different from qgis approach (at one tool bar we have create and
modify tools).

I really prefer AutoCAD approach (create tools in one tool bar and modify
tools in another tool bar).

But the real gap is the possibility to use command line options on AutoCAD -
there is a prompt where you type the command and interact via keyboard. For
example, to draw a line, you type "line" and press enter key and you are
drawing a line (you can type the x,y,z coordinates or you can click on the
point).
If that functionality are implemented at QGIS this would be more relevant
than the discussion if you need one toolbar with drop down or two tool bars,
in my opinion.

I can provide screenshots (about the AutoCAD tool bars) if that is
necessary.

best regards,
Luigi Castro Cardeles


2009/6/18 Paolo Cavallini 

> Andreas Neumann ha scritto:
> > I'd like to discuss again what it is "advanced" and what is "basic"
> > editing. I think many of the "advanced" tools are really "basic" tools.
>
> > I understand Tim's argument of keeping things simple. On the other hand
> > pull-down buttons are quite common today. Many of the well-known
> > software packages use them, such as Adobe, Corel, Openoffice (partially).
>
> Good point. I think we should make life as easy as possible for users,
> so why not using the same approach as the most advanced tools available?
> AFAIK, AutoCAD is considered the most productive tool for editing: does
> anybody have access to it? Could someone lt us know how they approach
> the problem? A description of their design would be a good starting
> point, I guess.
> All the best.
> --
> Paolo Cavallini: http://www.faunalia.it/pc
> ___
> 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] Problem with PostGIS Layer - Wrong Extent

2009-04-01 Thread Luigi Castro Cardeles
Hi List,

I have a project configured with a custom projection, and in that project, i
have two layers - one shp and one postgis layers, both polygons. Both use a
custom projection and on first load QGIS use SRS WGS84 latlong (so later i
change the srs to custom srs and have projection on the fly disabled - there
are some bugs relate to this). (about that wrong SRS - the PostGIS layer has
a custom SRS on spatial_ref_sys but QGIS ignores that).

They are equal, the same geometry (i just convert and put the shp on db).

If i use ogrinfo on the shp, the extent returns correct. I i use "Select
st_extent(the_geom) from geotable" (using psql), the extents returns exacts
the same that was returned by ogrinfo.

When i put these two layers on QGIS, they  show at right place. No problem.
If i see the metadata at QGIS, the shp layer show the correct extent but the
postgis layer show extent zero (xMin,yMin 0,0 : xMax,yMax 0,0).

This only troubles if i want use "Zoom to layer extent".
Anyone has any clues? Maybe a new bug?
I search the bug tracker and find some bugs about projections issues but
none (i think) fits that scenario.

Best Regards,

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