Re: [Qgis-user] RE: random crashes during editing

2010-05-31 Thread Pierre Chevalier Géologue

Hello,

In case it may help: I also have had a lot of crashes of qgis also, 
recently.
At first, it seemed to happen when I was resizing the main window. I 
changed my windows manager (icewm on debian squeeze, switched to kde), 
it didn't help. In fact, it was happening quite regularly, after a few 
minutes without using qgis, even when I was not resizing the window, but 
when I was zooming or panning. I noticed that the autosave extension was 
always generating empty files instead of backups of the .qgs. So I got 
rid of this extension: and now, no more crashes (so far...). So maybe 
was it related to the autosave extension? I'm on a "report-rush" period, 
so it is not the very right time to play with this. Later on, I'll try 
this extension again.


It was strange, because qgis used to be extremely stable and robust, and 
all of a sudden, a few weeks ago, it seeemed very unstable, capricious. 
I almost felt like I was on a windows machine! Scary, isn't it?...


A+
Pierre

Michael Diener claviota:

Hi,

I teach an introduction to GIS using qgis and we had random crashes, Osgeo4w
installer problems.  Very hard to trace the cause since the students could
not replicate the issues or properly describe what went wrong.

Cheers
michael

-Original Message-
From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of
qgis-user-requ...@lists.osgeo.org
Sent: Mittwoch, 26. Mai 2010 18:01
To: qgis-user@lists.osgeo.org
Subject: Qgis-user Digest, Vol 51, Issue 40

Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

   1. random crashes during editing (Paolo Cavallini)
   2. Re: random crashes during editing (nikos ves)
   3. Sv: Re: Sv: Re: [Qgis-user] Creating polygon from points in
  csv file (Ulf Almroth)
   4. Re: Sv: Re: Sv: Re: [Qgis-user] Creating polygon from points
  incsv file (Goyo)


--

Message: 1
Date: Tue, 25 May 2010 18:44:08 +0200
From: Paolo Cavallini 
Subject: [Qgis-user] random crashes during editing
To: 
Message-ID: 
Content-Type: text/plain; charset="UTF-8"


Hi all.
Today, during a course, we got a few random crashes, both on Debian and on
Windows, during editing, with topological editing, snapping, avoid
overlapping polygons all enabled. Very difficult to report, as I had little
time to check, and they are apprently difficult to replicate.
Has anybody had the same experience?
All the best.
  



--

Pierre Chevalier Géologue EI
   Mesté Duran
   32100 Condom
 Tél+fax  :09 75 27 45 62
   05 62 28 06 83
06 37 80 33 64
 Émail  :   pierrechevaliergeolCHEZfree.fr
 icq#   :   10432285
 skype  :   pierre.chevalier1967
 http://pierremariechevalier.free.fr/pierre_chevalier_geologue




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


[Qgis-user] Which ONE image in a .vrt is currently being displayed

2010-05-31 Thread Greg Coats
With GDAL 1.7.2, released 2010/04/23, I used gdalbuildvrt to build a .vrt file 
that points to 726 GeoTIFF images. Then, I use QGIS 1.5.0, release 13519M to 
pan and zoom through these images. When zoomed in, how do I get Qgis to 
identify which ONE of the raster images is currently being displayed? Greg
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: [Qgis-community-team] Re: [Qgis-developer] Release plans for QGIS 1.5

2010-05-31 Thread Giuseppe Sucameli
Hi Giovanni,

On Sun, May 30, 2010 at 10:20 PM, Giovanni Manghi  wrote:

> https://trac.osgeo.org/qgis/ticket/2711 (patch)
>
> https://trac.osgeo.org/qgis/ticket/699 (patch)
>
> https://trac.osgeo.org/qgis/ticket/2528 (solved by one of the above
> patches?)


The patch for the ticket #699 should solve also the #2528

Cheers.

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


[Qgis-user] Grayscale GeoTiff and transparency using GDAL.

2010-05-31 Thread Pietro Panzeri
Hi all,

I'm writing a plugin using GDAL C library to allow the user to create a
grayscale GeoTiff with transparency.

I've used the following code to init the raster:

Driver = GDALGetDriverByName("GTiff");

papszOptions = CSLSetNameValue(papszOptions, "COMPRESS", "LZW");

Dataset = GDALCreate(Driver, SrcFilename, XSize, YSize, 2, GDT_Byte,
papszOptions);

Band1 = GDALGetRasterBand(Dataset, 1);
GDALSetRasterColorInterpretation(Band1, GCI_GrayIndex);

Band2 = GDALGetRasterBand(Dataset, 2);
GDALSetRasterColorInterpretation(Band2, GCI_AlphaBand);

...
Init the two bands
...


The result is a correct grayscale image but without transparency.

Can someone point me a way to create a grayscale GeoTiff with a
transparency?

Thank you very much.

Pietro


-- 
Pietro Panzeri

Software Development Manager

Tele-Rilevamento Europa - T.R.E. srl
Via Vittoria Colonna, 7
20149 Milano – Italia
Tel.: +39.02.4343.121 - Fax: +39.02.4343.1230
pietro.panz...@treuropa.com - www.treuropa.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: [Qgis-developer] venue for the next hackfest

2010-05-31 Thread Milena Nowotarska
Hi Otto et al.,

2010/5/31 Otto Dassau :
> Dear Milena,
>
> Wroclaw sounds very nice - thanks a lot for your offer! If nobody votes
> against it, we could make that fix - I think?
>
> The only problem I see at the moment is the date. Begining of July or even
> August (school vacations) is too close I think, because we need to
> organize funding, holiday, flights etc. Then comes the FOSS4G, 6.-9.
> September in Barcelona and most people are probably broke after that for a
> while :). So I guess end october / beginning november as in Vienna is most
> likely.

Yes, we are aware the date we proposed is close, and not our usual
hackfest time. We were trying to put it as far in time from Barcelona
as possible, also when the venue (and the nice grill place there) is
accessible.

@Paweł: What other dates can we propose? (maybe 12-15 Nov, as 11th is
free in PL?)

Best,
Milena

>
> What do others think?
>
>  Regards,
>  Otto
>
> Am Mon, 24 May 2010 14:00:58 +0200
> schrieb Milena Nowotarska :
>
>> Hi all,
>>
>> thinking about the next hackfest we could organize it in Wroclaw,
>> Poland, at the University.
>> Wroclaw is an old, beautiful city easily accesible by train or plane.
>>
>> The venue we propose is Department of Climatology and Atmosphere
>> Protection, University of Wroclaw. It is located in the most beautiful
>> part of Wroclaw and is freely available from June to September. But
>> having in mind Barcelona conference, we think it would be convenient
>> to plan the hackfest for begining of July, lets say 2nd-5th of July.
>>
>> Let us know if You like the idea, please.
>>
>>
>> Paweł Netzel &
>> Milena Nowotarska
>>
>>
>



-- 
Milena Nowotarska
http://wiki.osgeo.org/wiki/Milena_Nowotarska
http://quantum-gis.pl/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS "Near"

2010-05-31 Thread Carson Farmer
No plugin that I know of, but it could probably be done quite easily
from the Python console,
something to the tune of (untested!):

layer = qgis.utils.iface.mapCanvas().layer(0)
provider = layer.dataProvider()
provider.select([])
feat = QgsFeature()
index = QgsSpatialIndex()
while provider.nextFeature(feat):
index.insertFeature(feat)
provider.select([])
while provider.nextFeature(feat):
near = index.nearestNeighbour(feat.geometry().asPoint(),1)
nearest = near[0]
# now do something here with the two points... and output results
as you like

# Obviously you'd have a bit more work to do here to compute angles
etc. but all this functionality is available via the QGIS API...
# If I get a chance, I might try to add this to the fTools/Vector menu...

Regards,

Carson

On 26 May 2010 22:13, whollycow  wrote:
> Is anyone aware of a function equivalent to "Near" in ArcGIS? (see
> http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Near_(Analysis)
> for reference) I have been searching all day and haven't come across
> anything quite like it. It seems like such basic functionality I would be
> surprised if someone hasn't already coded a solution.
> 
> View this message in context: QGIS "Near"
> 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
>
>



-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Geocoding plugin

2010-05-31 Thread Hugo
Hi Alessandro,

Just tested the updated geocoding plugin on Windows. Everything goes
smoothly now.
Thanks a lot for the quick fix.

Cheers,
Hugo

On Mon, May 31, 2010 at 8:10 AM, Alessandro Pasotti wrote:

> In data domenica 30 maggio 2010 19:18:45, Giovanni Manghi ha scritto:
> : > Hi all,
> >
> > > I have just upgraded the geocoding plugin and it stopped working. It
> > > says that ui_geocoding python module is missing.
> > > Any suggestions?
> >
> > under Windows I'm seeing this message too. It is not clear what python
> > module is needed to be installed. Not even sure if it is available in
> > the osgeo4w installer.
> >
> >
> > cheers
> >
> > -- Giovanni --
>
> Fixed in 1.0.4 (uploaded right now).
>
> Untested: no Windows here.
>
>
> --
> Alessandro Pasotti
> itOpen - "Open Solutions for the Net Age"
> w3:  www.itopen.it
> Linux User# 167502
>



-- 
Hugo Martins
FMV-UTL
CIISA-Epidemiologia e Saúde Pública Veterinária
Av. da Universidade Técnica
1300-477 Lisboa
N 38°42'49.54", W 9°11'43.42"
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] google layers plugin projection

2010-05-31 Thread Jean-Claude Repetto

Le 28/05/2010 15:56, Agustin Lobo a écrit :

It does not in my case, if I use a vector on ED50 UTM31 and the
project set to a custom projectione defined as
+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0
+y_0=0 +k=1.0 +units=m +nadgri...@null +wktext +no_defs
and onthefly activated: the vector is displaced ca. 100m vs the google
raster. This also happens with click-fu.


Your definition is missing the +towgs84 parameter, that's why the datum 
transformation does not occur.


Jean-Claude

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


Re: [Qgis-user] Re: [Qgis-developer] venue for the next hackfest

2010-05-31 Thread Werner Macho
+1 for Wroclaw - and I totally agree with Otto..

For me July and August is full of "no way" signs in my calender ..
But in October/November I'll surely be part of it..

The sooner a date is fixed the better to get some cheap flights or
traintrickets..

regards
Werner

Am 31.05.2010 09:04, schrieb Otto Dassau:
> Dear Milena,
> 
> Wroclaw sounds very nice - thanks a lot for your offer! If nobody votes
> against it, we could make that fix - I think?
> 
> The only problem I see at the moment is the date. Begining of July or even
> August (school vacations) is too close I think, because we need to
> organize funding, holiday, flights etc. Then comes the FOSS4G, 6.-9.
> September in Barcelona and most people are probably broke after that for a
> while :). So I guess end october / beginning november as in Vienna is most
> likely.
> 
> What do others think?
>  
>  Regards,
>   Otto 
> 
> Am Mon, 24 May 2010 14:00:58 +0200
> schrieb Milena Nowotarska :
> 
>> Hi all,
>>
>> thinking about the next hackfest we could organize it in Wroclaw,
>> Poland, at the University.
>> Wroclaw is an old, beautiful city easily accesible by train or plane.
>>
>> The venue we propose is Department of Climatology and Atmosphere
>> Protection, University of Wroclaw. It is located in the most beautiful
>> part of Wroclaw and is freely available from June to September. But
>> having in mind Barcelona conference, we think it would be convenient
>> to plan the hackfest for begining of July, lets say 2nd-5th of July.
>>
>> Let us know if You like the idea, please.
>>
>>
>> Paweł Netzel &
>> Milena Nowotarska
>>
>>
> ___
> 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


AW: [Qgis-user] Re: [Qgis-developer] venue for the next hackfest

2010-05-31 Thread Düster Horst
+1 for Otto's vote. I also would prefer beginning of November due to the
reasons Otto mentioned.

Horst



Dr. Horst Düster
Stv. Amtschef / kantonaler GIS-Koordinator 

Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
SO!GIS Koordination
Rötistrasse 4
CH-4501 Solothurn

Telefon ++41(0)32 627 25 32
Mobil   ++41(0)79 511 54 12
Telefax ++41(0)32 627 22 14

mailto:horst.dues...@bd.so.ch
http://www.agi.so.ch



-Ursprüngliche Nachricht-
Von: Otto Dassau [mailto:otto.das...@gmx.de]
Gesendet am: Montag, 31. Mai 2010 09:04
An: Milena Nowotarska
Cc: qgis-user; qgis-developer; pa...@netzel.pl
Betreff: [Qgis-user] Re: [Qgis-developer] venue for the next hackfest

Dear Milena,

Wroclaw sounds very nice - thanks a lot for your offer! If nobody votes
against it, we could make that fix - I think?

The only problem I see at the moment is the date. Begining of July or
even
August (school vacations) is too close I think, because we need to
organize funding, holiday, flights etc. Then comes the FOSS4G, 6.-9.
September in Barcelona and most people are probably broke after that for
a
while :). So I guess end october / beginning november as in Vienna is
most
likely.

What do others think?
 
 Regards,
  Otto 

Am Mon, 24 May 2010 14:00:58 +0200
schrieb Milena Nowotarska :

> Hi all,
> 
> thinking about the next hackfest we could organize it in Wroclaw,
> Poland, at the University.
> Wroclaw is an old, beautiful city easily accesible by train or plane.
> 
> The venue we propose is Department of Climatology and Atmosphere
> Protection, University of Wroclaw. It is located in the most beautiful
> part of Wroclaw and is freely available from June to September. But
> having in mind Barcelona conference, we think it would be convenient
> to plan the hackfest for begining of July, lets say 2nd-5th of July.
> 
> Let us know if You like the idea, please.
> 
> 
> Pawel Netzel &
> Milena Nowotarska
> 
> 
___
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: [Qgis-developer] venue for the next hackfest

2010-05-31 Thread Otto Dassau
Dear Milena,

Wroclaw sounds very nice - thanks a lot for your offer! If nobody votes
against it, we could make that fix - I think?

The only problem I see at the moment is the date. Begining of July or even
August (school vacations) is too close I think, because we need to
organize funding, holiday, flights etc. Then comes the FOSS4G, 6.-9.
September in Barcelona and most people are probably broke after that for a
while :). So I guess end october / beginning november as in Vienna is most
likely.

What do others think?
 
 Regards,
  Otto 

Am Mon, 24 May 2010 14:00:58 +0200
schrieb Milena Nowotarska :

> Hi all,
> 
> thinking about the next hackfest we could organize it in Wroclaw,
> Poland, at the University.
> Wroclaw is an old, beautiful city easily accesible by train or plane.
> 
> The venue we propose is Department of Climatology and Atmosphere
> Protection, University of Wroclaw. It is located in the most beautiful
> part of Wroclaw and is freely available from June to September. But
> having in mind Barcelona conference, we think it would be convenient
> to plan the hackfest for begining of July, lets say 2nd-5th of July.
> 
> Let us know if You like the idea, please.
> 
> 
> Paweł Netzel &
> Milena Nowotarska
> 
> 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user