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

2010-03-04 Thread Micha Silver

On 03/04/2010 03:43 AM, Luigi Castro Cardeles wrote:

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?


I'm also still stuck with QGIS segfaulting. I find:
* It happens Only in Gnome (xfce and KDE work fine on the same machine, 
with the same binary)

* When running as super user the segfault disappears.
* I tried Luigi's suggestion to change the default Qt style in 
qtconfig-qt4, but I still get the same segfault...

* It started after an update to some qt packages on Feb 24.

Any ideas where to report this problem to Gnome/Qt devs?

--
Micha


[]'s
Luigi Castro Cardeles


2010/3/3 David J. Bakeman dbake...@comcast.net 
mailto:dbake...@comcast.net


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 mi...@arava.co.il mailto:mi...@arava.co.il

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 mi...@arava.co.il
mailto:mi...@arava.co.il

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 wonder.sk http://wonder.sk
http://wonder.sk@gmail.com http://gmail.com
http://gmail.com


   On Mon, Mar 1, 2010 at 5:23 PM, Luigi Castro Cardeles
luigi.carde...@gmail.com
mailto:luigi.carde...@gmail.com
mailto:luigi.carde...@gmail.com
mailto:luigi.carde...@gmail.com wrote:
 Hi list,
 maybe there are other problem (relate to pyqgis):
 

Re: [Qgis-user] Creating an elevation raster from a point vector shape ?

2010-03-04 Thread Jeremy G


 You might find this interesting:
 http://www.surfaces.co.il/?p=578
 --
 Micha


Thank you both for your answers. Goyo, your procedure work quite
straightforward, I've got a nice result, still have to adjust the parameters
but this is it.
Micha, The GRASS-QGIS way also looks interesting, thanks for the link. And
I'll check your blog, nice to discover a new QGIS-tips source :)

Regards,

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


Re: [Qgis-user] QGIS WEB Presence Capability

2010-03-04 Thread David Fawcett
Well said Brent.

In the OpenSource Geospatial world, individual projects tend to
specialize on one part of the 'stack' (desktop, maping server,
database, etc.)  Because many of these projects base their products on
open standards, they tend to work quite well together.

In some cases, there are people who are active in multiple OSGEO
projects.  This gives good cross-pollination and helps ensure that
products work well together.

It is a good thing that QGIS is only focusing on the desktop.  There
are some other very good projects focusing on the Web map, Web
services part of the stack.

David.

On Thu, Mar 4, 2010 at 12:36 AM,  pcr...@pcreso.com wrote:
 Hi Rudy,

 QGIS does not, but QGIS is only one application of the OSGEO stack, and other 
 applications in this suite can do this.

 http://www.osgeo.org

 For example, you have map data in shapefiles or PostGIS databases

 You can use Geoserver or Mapserver (or a few other FOSS or expensive 
 programs) to read these data sources  provide them via OGC web services such 
 as WMS  WFS.

 You can connect to such web services with QGIS (WMS natively  WFS via a 
 plugin) to view the data.

 You can use mapserver scripts, or javascript tools such as OpenLayers or 
 GeoMoose to provide web clients to display these data.

 One ESRI web mapping developer I have worked with used mapserver  Openlayers 
 for one application he was building. He said the development environment was 
 very primitive compared with ESRI- hand written mapfiles, etc. However he 
 also said it took about 1/3 the time to implement it than it would have taken 
 with ESRI tools,  it worked pretty much first go with no problems to debug  
 fix.

 So simple, inelegant but robust  effective :-)

 Tyler Mitchell's book on mapserver  related tools is a very good 
 introduction. You can have a system with basic functionality up  running on 
 Windows or Linux in about 10 minutes.

 HTH,

  Brent Wood

 --- On Thu, 3/4/10, Rudy BALANCE r...@balancernd.com.au wrote:

 From: Rudy BALANCE r...@balancernd.com.au
 Subject: [Qgis-user] QGIS WEB Presence Capability
 To: qgis-user@lists.osgeo.org
 Date: Thursday, March 4, 2010, 12:21 PM
 Many of the commercial applications
 Eg:  ARC GIS  Map INfo have the ability to provide
 a Web Based precense such that Internet users can browse
 various GIS data layers,

 Many local authorities provide this capability through
 ESRI's Eview see:
 http://www.esriaustralia.com.au/esri/2181.html

 Example Wollongong City COuncil:
 http://www.wollongong.nsw.gov.au/planninganddevelopment/map.asp



 DOES or WILL   QGIS have this capability
 ???


 Regards Rudy



 ___
 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


[Qgis-user] announcing DPSimplify

2010-03-04 Thread Alexander Bruy
Hi all,

here is a new small python plugin DPSimplify.
The plugin intended for Douglas-Peucker line simplification/generalization.
You can get it through our repo
(GIS-Lab, http://gis-lab.info/programs/qgis/qgis-repo.xml)

Don't forget to turn on experimental plugins in your plugin installer.
Have fun.

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


[Qgis-user] Re: [Qgis-developer] announcing DPSimplify

2010-03-04 Thread Milo van der Linden
Ai! My heart jumped as I was thinking maybe this was a 
Desktop-Publishing plugin ;-)


I hope someone might respond to my enhancement request.

Alexander Bruy wrote:

Hi all,

here is a new small python plugin DPSimplify.
The plugin intended for Douglas-Peucker line simplification/generalization.
You can get it through our repo
(GIS-Lab, http://gis-lab.info/programs/qgis/qgis-repo.xml)

Don't forget to turn on experimental plugins in your plugin installer.
Have fun.

  


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


Re: [Qgis-user] announcing DPSimplify

2010-03-04 Thread John C. Tull
Hi Alexander,

This looks like another great tool in a string of great work that your lab has 
been building for QGIS. I look forward to seeing what's next. Thank you for 
your efforts.

Regards,
John

On Mar 4, 2010, at 10:40 AM, Alexander Bruy wrote:

 Hi all,
 
 here is a new small python plugin DPSimplify.
 The plugin intended for Douglas-Peucker line simplification/generalization.
 You can get it through our repo
 (GIS-Lab, http://gis-lab.info/programs/qgis/qgis-repo.xml)
 
 Don't forget to turn on experimental plugins in your plugin installer.
 Have fun.
 
 -- 
 Alexander Bruy
 ___
 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