[Qgis-user] 0, null values and color table GRASS/QGIS

2012-08-28 Thread Patrick Giraudoux

Hi,

I am using QGIS 1.7.0 Wroclaw (and GRASS 6.4.1 inside).

I have some troubles with map displays in QGIS with 0 and null values.

I just want to extract a particular habitat category from a Global Land 
Cover 2000 raster into a raster of presence/absence (and NULL value for 
ocean and waterbodies)


This makes the following:

r.mapcalc "V7_01=if(AsiaGLC2000==7,1,0)"

So far so good, I get a raster V7_01 with null values and 1 for pixel of 
category 7, 0 for the others and null values stay NULL. All is correctly 
displayed by QGIS.


Now, I would like to transform V7_01 into a floating point map, and then 
use r. neighbors for a neigborhood analysis.


r.mapcalc "V7=1.0*V7_01"

I get a raster named V7 BUT strangely for any color table, 0 value is 
considered NULL (transparent) when displayed by QGIS. However, the 
original NULL values are well kept and distinct in  this raster (e.g. 
NULL pixels are informed as NULL and 0 pixels are 0, respectively, which 
is correctly displayed within GRASS).


An indication about what happen is that the metadata inform that null 
values(nodata) are -2.14748e+09  in AsiaGLC2000 and V7_01, but become 
2.22507e-308 in V7 (so close to 0).


Any suggestion welcome, I am stuck...

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


[Qgis-user] Transforming Gauss-Krueger 3 to ETRS 89 UTM32N

2012-08-28 Thread Klaus mithöfer


Dear all,

I have a problem transforming shape files based on Gauss-Krueger 3 (EPSG 
31467) to ETRS 89 UTM32N (EPSG 25832). The problem is the eastern value. 
It has only 6 instead of 8 digits, the first two numbers are missing in 
ETRS system (e.g. 570873 instead of 32 570873). Could anyone give advice 
on how to do the transformation?


Thank you

Klaus --


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


Re: [Qgis-user] 0, null values and color table GRASS/QGIS

2012-08-28 Thread Paolo Cavallini
Il 28/08/2012 09:24, Patrick Giraudoux ha scritto:
> Hi,
>
> I am using QGIS 1.7.0 Wroclaw (and GRASS 6.4.1 inside).
>
This is old, please upgrade to 1.8.
Thanks.

-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario

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


[Qgis-user] Transforming Gauss-Krueger 3 to ETRS 89 UTM32N

2012-08-28 Thread Klaus mithöfer


Dear all,

I have a problem transforming shape files based on Gauss-Krueger 3 (EPSG 
31467) to ETRS 89 UTM32N (EPSG 25832). The problem is the eastern value. 
It has only 6 instead of 8 digits, the first two numbers are missing in 
ETRS system (e.g. 570873 instead of 32 570873). Could anyone give advice 
on how to do the transformation?


Thank you

Klaus --


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


Re: [Qgis-user] Transforming Gauss-Krueger 3 to ETRS 89 UTM32N

2012-08-28 Thread Bernhard Ströbl

Dear Klaus,

the transformation is correct. EPSG:25832 is defined without the leading 
UTM-Zone (32) as the zone is part of the projection's description. At 
least ome German "Bundesländer" however put the 32 into their ETRS89 
data (no ides why, thus there is no EPSG-code you can use for these 
data). You have to create a custom projection with a false easting of 
3200.
Be sure there is a datum transformation performed otherwise your data 
can be some tens of metres wrong or use the Beta2007 grid


Bernhard

Am 28.08.2012 10:36, schrieb Klaus mithöfer:


Dear all,

I have a problem transforming shape files based on Gauss-Krueger 3 (EPSG
31467) to ETRS 89 UTM32N (EPSG 25832). The problem is the eastern value.
It has only 6 instead of 8 digits, the first two numbers are missing in
ETRS system (e.g. 570873 instead of 32 570873). Could anyone give advice
on how to do the transformation?

Thank you

Klaus --


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


__ Information from ESET Mail Security, version of virus
signature database 7422 (20120827) __

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






__ Information from ESET Mail Security, version of virus signature 
database 7422 (20120827) __

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


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


Re: [Qgis-user] Transforming Gauss-Krueger 3 to ETRS 89 UTM32N

2012-08-28 Thread Bo Victor Thomsen

Bernhard

Shouldn't the false easting in the custom CRS be 32.500.000 ? The normal 
"false easting"  for UTM is 500.000. The 32.000.000 must be added to 
this value.


Regards
Bo Victor Thomsen
Aestas-GIS
Denmark

Den 28-08-2012 10:58, Bernhard Ströbl skrev:

Dear Klaus,

the transformation is correct. EPSG:25832 is defined without the 
leading UTM-Zone (32) as the zone is part of the projection's 
description. At least ome German "Bundesländer" however put the 32 
into their ETRS89 data (no ides why, thus there is no EPSG-code you 
can use for these data). You have to create a custom projection with a 
false easting of 3200.
Be sure there is a datum transformation performed otherwise your data 
can be some tens of metres wrong or use the Beta2007 grid


Bernhard

Am 28.08.2012 10:36, schrieb Klaus mithöfer:


Dear all,

I have a problem transforming shape files based on Gauss-Krueger 3 (EPSG
31467) to ETRS 89 UTM32N (EPSG 25832). The problem is the eastern value.
It has only 6 instead of 8 digits, the first two numbers are missing in
ETRS system (e.g. 570873 instead of 32 570873). Could anyone give advice
on how to do the transformation?

Thank you

Klaus --


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


__ Information from ESET Mail Security, version of virus
signature database 7422 (20120827) __

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






__ Information from ESET Mail Security, version of virus 
signature database 7422 (20120827) __


The message was checked by ESET Mail Security.
http://www.eset.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] Transforming Gauss-Krueger 3 to ETRS 89 UTM32N

2012-08-28 Thread Bernhard Ströbl

Oh,

yeah, I think you are right. I was fixed on the 3200 :)

Klaus, I found this link (in German):
https://www.geoportal-mv.de/land-mv/GeoPortalMV_prod/de/Geowebdienste/_faq/etrs89_zk_gis.jsp

Bernhard

Am 28.08.2012 11:03, schrieb Bo Victor Thomsen:

Bernhard

Shouldn't the false easting in the custom CRS be 32.500.000 ? The normal
"false easting" for UTM is 500.000. The 32.000.000 must be added to this
value.

Regards
Bo Victor Thomsen
Aestas-GIS
Denmark

Den 28-08-2012 10:58, Bernhard Ströbl skrev:

Dear Klaus,

the transformation is correct. EPSG:25832 is defined without the
leading UTM-Zone (32) as the zone is part of the projection's
description. At least ome German "Bundesländer" however put the 32
into their ETRS89 data (no ides why, thus there is no EPSG-code you
can use for these data). You have to create a custom projection with a
false easting of 3200.
Be sure there is a datum transformation performed otherwise your data
can be some tens of metres wrong or use the Beta2007 grid

Bernhard

Am 28.08.2012 10:36, schrieb Klaus mithöfer:


Dear all,

I have a problem transforming shape files based on Gauss-Krueger 3 (EPSG
31467) to ETRS 89 UTM32N (EPSG 25832). The problem is the eastern value.
It has only 6 instead of 8 digits, the first two numbers are missing in
ETRS system (e.g. 570873 instead of 32 570873). Could anyone give advice
on how to do the transformation?

Thank you

Klaus --


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


__ Information from ESET Mail Security, version of virus
signature database 7422 (20120827) __

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






__ Information from ESET Mail Security, version of virus
signature database 7422 (20120827) __

The message was checked by ESET Mail Security.
http://www.eset.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


__ Information from ESET Mail Security, version of virus
signature database 7422 (20120827) __

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






__ Information from ESET Mail Security, version of virus signature 
database 7423 (20120828) __

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


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


[Qgis-user] nadgrids beta2007

2012-08-28 Thread Sylvia Preuß
Liebe Quantum Gis Benutzer,

 

Ziel ist es, eine csv-Datei mit GK2-Koordinaten (NRW) On The Fly in Quantum
Gis in ETRS89/UTM Zone 32N

zu projizieren. Mit folgenden 2 Beispielen aus vorhanden Koordinatensystemen
reicht die 

Genauigkeit leider nicht aus.

 

a.csv

rechts;hoch;attr

2591543,00;5654282,00;a



1.

Projekteinstellungen

+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

WGS84; 32632

 

Räumliches Bezugssystem des Layers

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
+datum=potsdam +units=m 

+no_defs

 

DHDN Gauß-Krüger Zone 2;31466

 

Abweichung ca. 4 m



2.

Projekteinstellungen

+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs

ETRS89/UTM Zone 32N; 25832

 

Räumliches Bezugssystem des Layers

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
+datum=potsdam +units=m 

+no_defs

 

DHDN Gauß-Krüger Zone 2;31466

 

Abweichung ca. 150 m

 

Deshalb möchte ich in QGIS ein benutzerdefiniertes Koordinatensystem
erstellen mit nadgrids 

beta2007.gsb

Folgende 2 Varianten habe ich z. B. angelegt.

+proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250 

+y_0=0 +ellps=bessel +units=m +no_defs +nadgrids=C:\Pfad\zu\beta2007.gsb

 

+proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250 

+y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs
+nadgrids=C:\Pfad\zu\beta2007.gsb

 

Nachdem ich Textdatei (a.csv) als Layer importieren ausgeführt habe,
Layereigenschaften - 

Allgemein auswähle und unter KBS angeben das benutzerdefinierte
Koordinatensystem auswähle, 

werden die +nadgrids=C:\Pfad\zu\beta2007.gsb nicht mit angezeigt, sondern
die Parameter auf

+proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250 +y_0=0 +ellps=bessel
+units=m +no_defs 

reduziert. Überschreiben lässt sich diese Zeile nicht. 

In das Feld Initialisierungsfunktion kann ich alles komplett einfügen jedoch
reagiert QGIS nicht 

darauf.

 

Wie kann ich die nadgrids-Funktion On The Fly verwenden? Wie muss das
benutzerdefinierte 

Koordinatensystem aussehen?

 

Viele Grüße Sylvia



Der E-Mail-Dienst des Oberbergischen Kreises dient ausschliesslich der 
dienstlichen Kommunikation. 
Senden Sie deshalb keine E-Mails privaten Inhalts an E-Mail-Adressen des 
Oberbergischen Kreises.
Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail gerichtet 
ist, auch deren Vertretung im Amt einen unmittelbaren Zugriff auf Ihre 
Nachricht hat. Fuer Berufsgeheimnistraeger gelten abweichende Regelungen. 
Es wird ausserdem darauf hingewiesen, dass die Kommunikation per E-Mail ohne 
Authentifizierung und Verschluesselung unsicher ist, da fuer unberechtigte 
Dritte grundsaetzlich die Moeglichkeit der Kenntnisnahme und Manipulation 
besteht.
Es wird deshalb keine Verantwortung fuer den Inhalt dieser Nachricht 
uebernommen, da eine Manipulation nicht ausgeschlossen werden kann.
Obwohl alle angemessenen Vorkehrungen getroffen wurden, um sicherzustellen, 
dass Anlagen dieser E-Mail virusgeprueft sind, wird empfohlen, anhaengende 
Dateien vor dem Oeffnen durch I
 hr eigenes Virus-Programm zu pruefen, da keinerlei Haftung fuer Schaeden 
uebernommen wird, die infolge etwaiger Software-Viren entstehen koennten.
Der Inhalt dieser E-Mail ist ausschliesslich fuer die bezeichnete Person 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen 
Vertretung sein sollten, beachten Sie bitte, dass jede Form der Kenntnisnahme, 
Veroeffentlichungg, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail 
unzulaessig ist. In diesem Fall wird darum gebeten, sich mit der absendenden 
Person der E-Mail in Verbindung zu setzen.

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


Re: [Qgis-user] Transforming Gauss-Krueger 3 to ETRS 89 UTM32N

2012-08-28 Thread kmithoefer
Dear Bernhard,

Thanks a lot! i understand the problem now. I will create a custom
projection.

With regards

Klaus



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Transforming-Gauss-Krueger-3-to-ETRS-89-UTM32N-tp4998294p4998307.html
Sent from the Quantum GIS - 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] custom reference system

2012-08-28 Thread Jake Maier
I try to make a blueprint for a stirling engine that I want to build. I
think I'll need a custom crs for that. How would I go about it. What would
the code look like. Or is it all together a silly idea and I should look for
another drawing program to create blueprints?

Any opinion and or help with this anyone?

Thanks 

Jake

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


Re: [Qgis-user] nadgrids beta2007

2012-08-28 Thread Bernhard Ströbl

Hallo Sylvia,

this is an English speaking list
Which version of QGIS are you using?
I can confirm that the +nadgrids... parameter is missing in 1.7.4 if I 
want to apply my custom CRS to a layer on Windows, but it stays in 1.8.0.


Bernhard

Am 28.08.2012 14:01, schrieb Sylvia Preuß:

Liebe Quantum Gis Benutzer,

Ziel ist es, eine csv-Datei mit GK2-Koordinaten (NRW) On The Fly in
Quantum Gis in ETRS89/UTM Zone 32N

zu projizieren. Mit folgenden 2 Beispielen aus vorhanden
Koordinatensystemen reicht die

Genauigkeit leider nicht aus.

a.csv

rechts;hoch;attr

2591543,00;5654282,00;a



1.

Projekteinstellungen

+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

WGS84; 32632

Räumliches Bezugssystem des Layers

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
+datum=potsdam +units=m

+no_defs

DHDN Gauß-Krüger Zone 2;31466

Abweichung ca. 4 m



2.

Projekteinstellungen

+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs

ETRS89/UTM Zone 32N; 25832

Räumliches Bezugssystem des Layers

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
+datum=potsdam +units=m

+no_defs

DHDN Gauß-Krüger Zone 2;31466

Abweichung ca. 150 m

Deshalb möchte ich in QGIS ein benutzerdefiniertes Koordinatensystem
erstellen mit nadgrids

beta2007.gsb

Folgende 2 Varianten habe ich z. B. angelegt.

+proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250

+y_0=0 +ellps=bessel +units=m +no_defs +nadgrids=C:\Pfad\zu\beta2007.gsb

+proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250

+y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs
+nadgrids=C:\Pfad\zu\beta2007.gsb

Nachdem ich Textdatei (a.csv) als Layer importieren ausgeführt habe,
Layereigenschaften -

Allgemein auswähle und unter KBS angeben das benutzerdefinierte
Koordinatensystem auswähle,

werden die +nadgrids=C:\Pfad\zu\beta2007.gsb nicht mit angezeigt,
sondern die Parameter auf

+proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250 +y_0=0 +ellps=bessel
+units=m +no_defs

reduziert. Überschreiben lässt sich diese Zeile nicht.

In das Feld Initialisierungsfunktion kann ich alles komplett einfügen
jedoch reagiert QGIS nicht

darauf.

Wie kann ich die nadgrids-Funktion On The Fly verwenden? Wie muss das
benutzerdefinierte

Koordinatensystem aussehen?

Viele Grüße Sylvia




__ Information from ESET Mail Security, version of virus signature 
database 7424 (20120828) __

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


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


[Qgis-user] creating .gpx file strips out al the attributes

2012-08-28 Thread M . E . Dodd
The 'save as' command in qgis seems to strip out attribute data when creating 
files of certain sorts such as .gpx and also gives problems with .kml where the 
markers are not identified with any of the attributes.  Are there any 
workarounds for these problems?

More detail on the .gpx issue, it will produce a .gpx file if you select 'skip 
attribute creation' but if you don't select this then it fails with the error 
message:
"Export to vector file failed.
Error: creation of field tree_id failed (OGR error: Field of name 'tree_id' is 
not supported in GPX schema. Use GPX_USE_EXTENSIONS creation option to allow 
use of the  element.)"

It appears to be quite a helpful error message except that I can't see anywhere 
to "Use GPX_USE_EXTENSIONS creation option"

Qgis 1.8 or 1.9 on windowsxp







-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] nadgrids beta2007

2012-08-28 Thread Harder, Asmus
Hallo,

I have a custom CRS that looks like
"+proj=tmerc +lat_0=0 +lon_0=9 +k=1 +x_0=350 +y_0=0 +ellps=bessel +units=m 
+no_defs +nadgrids= C:\Pfad\zu\nadgrid.gsb +wktext"
and this works fine (also in 1.7.4), so try the parameter "+wktext" ...
Or have a look at the names of your folders, spaces and german "Umlaute" are 
also often the reasen if something is going wrong.

Asmus


-Ursprüngliche Nachricht-
Von: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Bernhard Ströbl
Gesendet: Dienstag, 28. August 2012 15:29
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] nadgrids beta2007

Hallo Sylvia,

this is an English speaking list
Which version of QGIS are you using?
I can confirm that the +nadgrids... parameter is missing in 1.7.4 if I want to 
apply my custom CRS to a layer on Windows, but it stays in 1.8.0.

Bernhard

Am 28.08.2012 14:01, schrieb Sylvia Preuß:
> Liebe Quantum Gis Benutzer,
>
> Ziel ist es, eine csv-Datei mit GK2-Koordinaten (NRW) On The Fly in
> Quantum Gis in ETRS89/UTM Zone 32N
>
> zu projizieren. Mit folgenden 2 Beispielen aus vorhanden
> Koordinatensystemen reicht die
>
> Genauigkeit leider nicht aus.
>
> a.csv
>
> rechts;hoch;attr
>
> 2591543,00;5654282,00;a
>
> 
>
> 1.
>
> Projekteinstellungen
>
> +proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
>
> WGS84; 32632
>
> Räumliches Bezugssystem des Layers
>
> +proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
> +datum=potsdam +units=m
>
> +no_defs
>
> DHDN Gauß-Krüger Zone 2;31466
>
> Abweichung ca. 4 m
>
> 
>
> 2.
>
> Projekteinstellungen
>
> +proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs
>
> ETRS89/UTM Zone 32N; 25832
>
> Räumliches Bezugssystem des Layers
>
> +proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
> +datum=potsdam +units=m
>
> +no_defs
>
> DHDN Gauß-Krüger Zone 2;31466
>
> Abweichung ca. 150 m
>
> Deshalb möchte ich in QGIS ein benutzerdefiniertes Koordinatensystem
> erstellen mit nadgrids
>
> beta2007.gsb
>
> Folgende 2 Varianten habe ich z. B. angelegt.
>
> +proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250
>
> +y_0=0 +ellps=bessel +units=m +no_defs
> ++nadgrids=C:\Pfad\zu\beta2007.gsb
>
> +proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250
>
> +y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs
> +nadgrids=C:\Pfad\zu\beta2007.gsb
>
> Nachdem ich Textdatei (a.csv) als Layer importieren ausgeführt habe,
> Layereigenschaften -
>
> Allgemein auswähle und unter KBS angeben das benutzerdefinierte
> Koordinatensystem auswähle,
>
> werden die +nadgrids=C:\Pfad\zu\beta2007.gsb nicht mit angezeigt,
> sondern die Parameter auf
>
> +proj=tmerc +lat_0=0 +lon_0=6  +k=1 +x_0=250 +y_0=0 +ellps=bessel
> +units=m +no_defs
>
> reduziert. Überschreiben lässt sich diese Zeile nicht.
>
> In das Feld Initialisierungsfunktion kann ich alles komplett einfügen
> jedoch reagiert QGIS nicht
>
> darauf.
>
> Wie kann ich die nadgrids-Funktion On The Fly verwenden? Wie muss das
> benutzerdefinierte
>
> Koordinatensystem aussehen?
>
> Viele Grüße Sylvia
>


__ Information from ESET Mail Security, version of virus signature 
database 7424 (20120828) __

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


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

Besuchen Sie uns - wir stellen aus

Seminar Straßenmanagement für Fachämter,
12.-13. September in Dresden 
<http://www.lehmann-partner.de/unternehmen/veranstaltungen-seminare/seminar-srassenmanagement-2012?L=8/>

INTERGEO 2012,
09. - 11. Oktober in Hannover <http://www.intergeo.de/>

Deutscher Straßen- und Verkehrskongress 2012,
16. - 17. Oktober in Leipzig 
<http://www.fgsv.de/veranstaltungen_fgsv.html?&tx_julleevents_pi1%5bshowUid%5d=99&cHash=c33fb47758>

LEHMANN+
PARTNER
-
DIE STRASSENGUTACHTER

LEHMANN + PARTNER GmbH, Schwerborner Straße 1, D-99086 Erfurt
Telefon: +49 (0) 361 51804 300 Fax: +49 (0) 361 51804 399
E-Mail: i...@lehmann-partner.de<mailto:i...@lehmann-partner.de> Internet: 
http://www.die-strassengutachter.de
Geschäftsführer: Dr. Dirk Ebersbach, Jens Morawietz
Amtsgericht: Jena HRB 100220 USt-IdNr.: DE 160 115 425
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] creating .gpx file strips out al the attributes

2012-08-28 Thread Bo Victor Thomsen

  
  

  Write "GPX_USE_EXTENSIONS=YES" in the "OGR
  creation options", "Data source" section 
  
  like this:

  
  
  Remember to choose EPSG:4326 as the CRS. Thats the only CRS that
  the GPX format formally support
  
  Regards
  Bo Victor Thomsen
  Aestas-GIS
  Denmark
  
  Den 28-08-2012 16:40, M.E.Dodd skrev:


  
  
  
  
  
The ‘save as’ command in qgis seems to strip out attribute
  data when creating files of certain sorts such as .gpx and
  also gives problems with .kml where the markers are not
  identified with any of the attributes.  Are there any
  workarounds for these problems?
 
More detail on the .gpx issue, it will produce a .gpx file
  if you select ‘skip attribute creation’ but if you don’t
  select this then it fails with the error message:
“Export to
vector file failed.
Error:
creation of field tree_id failed (OGR error: Field of name
'tree_id' is not supported in GPX schema. Use
GPX_USE_EXTENSIONS creation option to allow use of the
 element.)”
 
It appears to
be quite a helpful error message except that I can’t see
anywhere to “Use GPX_USE_EXTENSIONS creation option”
 
Qgis 1.8 or 1.9 on windowsxp
 
 
 
 
 
 
  
  
-- 
The Open University is incorporated by Royal Charter (RC
000391), an exempt charity in England & Wales and a charity
registered in Scotland (SC 038302).
  
  
  
  ___
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] Help cutter raster

2012-08-28 Thread lorena Coelho
Hello,
I am a magister student in Uruguay. I'm working with QGIS. I can not cut a
raster mask,  can someone help. What is the complement need? I'm using
Quantum GIS 1.8.0 Lisbon
thanks
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Help cutter raster

2012-08-28 Thread Etienne Tourigny
make sure gdaltools plugins is enabled (plugins->Manage Plugins), then
go to Raster->Extraction->clipper. Not sure what the names are in
español though.

On Tue, Aug 28, 2012 at 12:37 PM, lorena Coelho
 wrote:
> Hello,
> I am a magister student in Uruguay. I'm working with QGIS. I can not cut a
> raster mask,  can someone help. What is the complement need? I'm using
> Quantum GIS 1.8.0 Lisbon
> thanks
>
>
> ___
> 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] nadgrids beta2007

2012-08-28 Thread Andre Joost

Hi,

looking at the CRS below, there is no +towgs84-parameter.

Current Qgis has the following string for EPSG:31466, which is 
Gauss-Krueger-2:


+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel 
+towgs84=582,105,414,1.04,0.35,-3.08,8.3 +units=m +no_defs


This was changed some time ago. Perhaps this is already sufficent for 
your needs.


The +towgs84 values vary across Germany. Thats what beta2007 is for. But 
within one state a constant value should be sufficent in most cases.


You can find other towgs84 parameters here:
<http://forum.openstreetmap.org/viewtopic.php?id=12723>

<http://osgeo-org.1560.n6.nabble.com/DHDN-Gauss-Krueger-to-WGS84-td3847546.html>



Greetings,
André Joost



Am 28.08.2012 15:29, schrieb Bernhard Ströbl:

Hallo Sylvia,

this is an English speaking list
Which version of QGIS are you using?
I can confirm that the +nadgrids... parameter is missing in 1.7.4 if I
want to apply my custom CRS to a layer on Windows, but it stays in 1.8.0.

Bernhard

Am 28.08.2012 14:01, schrieb Sylvia Preuß:

Liebe Quantum Gis Benutzer,

Ziel ist es, eine csv-Datei mit GK2-Koordinaten (NRW) On The Fly in
Quantum Gis in ETRS89/UTM Zone 32N

zu projizieren. Mit folgenden 2 Beispielen aus vorhanden
Koordinatensystemen reicht die

Genauigkeit leider nicht aus.

a.csv

rechts;hoch;attr

2591543,00;5654282,00;a



1.

Projekteinstellungen

+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

WGS84; 32632

Räumliches Bezugssystem des Layers

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
+datum=potsdam +units=m

+no_defs

DHDN Gauß-Krüger Zone 2;31466

Abweichung ca. 4 m



2.

Projekteinstellungen

+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs

ETRS89/UTM Zone 32N; 25832

Räumliches Bezugssystem des Layers

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
+datum=potsdam +units=m

+no_defs

DHDN Gauß-Krüger Zone 2;31466

Abweichung ca. 150 m

Deshalb möchte ich in QGIS ein benutzerdefiniertes Koordinatensystem
erstellen mit nadgrids

beta2007.gsb

Folgende 2 Varianten habe ich z. B. angelegt.

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250

+y_0=0 +ellps=bessel +units=m +no_defs +nadgrids=C:\Pfad\zu\beta2007.gsb

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250

+y_0=0 +ellps=bessel +datum=potsdam +units=m +no_defs
+nadgrids=C:\Pfad\zu\beta2007.gsb

Nachdem ich Textdatei (a.csv) als Layer importieren ausgeführt habe,
Layereigenschaften -

Allgemein auswähle und unter KBS angeben das benutzerdefinierte
Koordinatensystem auswähle,

werden die +nadgrids=C:\Pfad\zu\beta2007.gsb nicht mit angezeigt,
sondern die Parameter auf

+proj=tmerc +lat_0=0 +lon_0=6 +k=1 +x_0=250 +y_0=0 +ellps=bessel
+units=m +no_defs

reduziert. Überschreiben lässt sich diese Zeile nicht.

In das Feld Initialisierungsfunktion kann ich alles komplett einfügen
jedoch reagiert QGIS nicht

darauf.

Wie kann ich die nadgrids-Funktion On The Fly verwenden? Wie muss das
benutzerdefinierte

Koordinatensystem aussehen?

Viele Grüße Sylvia




__ Information from ESET Mail Security, version of virus
signature database 7424 (20120828) __

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



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


Re: [Qgis-user] creating .gpx file strips out al the attributes

2012-08-28 Thread Andre Joost

Am 28.08.2012 16:40, schrieb M.E.Dodd:

The 'save as' command in qgis seems to strip out attribute data when
creating files of certain sorts such as .gpx and also gives problems
with .kml where the markers are not identified with any of the
attributes.  Are there any workarounds for these problems?

More detail on the .gpx issue, it will produce a .gpx file if you
select 'skip attribute creation' but if you don't select this then it
fails with the error message: "Export to vector file failed. Error:
creation of field tree_id failed (OGR error: Field of name 'tree_id'
is not supported in GPX schema. Use GPX_USE_EXTENSIONS creation
option to allow use of the  element.)"

It appears to be quite a helpful error message except that I can't
see anywhere to "Use GPX_USE_EXTENSIONS creation option"



Well, just do as you are told:
Insert GPX_USE_EXTENSIONS=yes in the layer field, and the GPX creation 
works.


More about that here:
http://www.gdal.org/ogr/drv_gpx.html

HTH,
André Joost

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


Re: [Qgis-user] custom reference system

2012-08-28 Thread Tyler Mitchell

On 2012-08-28, at 5:26 AM, Jake Maier wrote:

> I try to make a blueprint for a stirling engine that I want to build. I think 
> I’ll need a custom crs for that. How would I go about it. What would the code 
> look like. Or is it all together a silly idea and I should look for another 
> drawing program to create blueprints?
> Any opinion and or help with this anyone?
> Thanks
> Jake

Unless you want to reproject or share the data with others, I doubt there's 
much reason to define a system.  Cool idea for an experiment either way... err 
I mean stirling engines are a hot idea :)



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


Re: [Qgis-user] Help cutter raster

2012-08-28 Thread Germán Carrillo
Believe it or not, names in 'Spanish' are: Ráster->Extraction->Clipper :)
(Ráster->Extracción->Cortador/Cortar)

2012/8/28 Etienne Tourigny 

> make sure gdaltools plugins is enabled (plugins->Manage Plugins), then
> go to Raster->Extraction->clipper. Not sure what the names are in
> español though.
>
> On Tue, Aug 28, 2012 at 12:37 PM, lorena Coelho
>  wrote:
> > Hello,
> > I am a magister student in Uruguay. I'm working with QGIS. I can not cut
> a
> > raster mask,  can someone help. What is the complement need? I'm using
> > Quantum GIS 1.8.0 Lisbon
> > thanks
> >
> >
> > ___
> > 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
>



-- 
---
   |\__
(:>__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] qgis-noob question: editing SQL queries in DB Manager

2012-08-28 Thread Goyo
2012/8/26 Max Pyziur :
> Greetings,
>
> I'm a qgis noob (all of four months). However, I'm very handy w/ Postgresql.
>
> I'm using postgis-enabled queries to build layers, using DB Manager
> (Database->DB Manager). The SQL window is very friendly.
>
> However, once the query has been built, and the layer loaded, and the DB
> Manager window closed, I don't know how to re-open it in the event I want to
> edit the query. Is there a way?

You can copy the SQL from the layer's metadata.

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


Re: [Qgis-user] Help cutter raster

2012-08-28 Thread lorena Coelho
Hi, thanks for your quick response. The add gdaltools what I have on. In
fact cut a raster if I can, so I can not cut the raster is a mask. That is
asking that the court limit is determined mask. Thanks. Lorena

2012/8/28 Germán Carrillo 

> Believe it or not, names in 'Spanish' are: Ráster->Extraction->Clipper :)
> (Ráster->Extracción->Cortador/Cortar)
>
>
> 2012/8/28 Etienne Tourigny 
>
>> make sure gdaltools plugins is enabled (plugins->Manage Plugins), then
>> go to Raster->Extraction->clipper. Not sure what the names are in
>> español though.
>>
>> On Tue, Aug 28, 2012 at 12:37 PM, lorena Coelho
>>  wrote:
>> > Hello,
>> > I am a magister student in Uruguay. I'm working with QGIS. I can not
>> cut a
>> > raster mask,  can someone help. What is the complement need? I'm using
>> > Quantum GIS 1.8.0 Lisbon
>> > thanks
>> >
>> >
>> > ___
>> > 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
>>
>
>
>
> --
> ---
>|\__
> (:>__)(
>|/
>
> Soluciones Geoinformáticas Libres
> http://geotux.tuxfamily.org/
> http://twitter.com/GeoTux2
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Help cutter raster

2012-08-28 Thread Etienne Tourigny
Hi I'm sorry but I don't understand your question... you mean that it
doesn't work if the raster is a mask?

By the way, there is a Spanish list at osgeo, although not specific to qgis

http://lists.osgeo.org/pipermail/spanish/

Etienne

On Tue, Aug 28, 2012 at 3:39 PM, lorena Coelho
 wrote:
> Hi, thanks for your quick response. The add gdaltools what I have on. In
> fact cut a raster if I can, so I can not cut the raster is a mask. That is
> asking that the court limit is determined mask. Thanks. Lorena
>
>
> 2012/8/28 Germán Carrillo 
>>
>> Believe it or not, names in 'Spanish' are: Ráster->Extraction->Clipper :)
>> (Ráster->Extracción->Cortador/Cortar)
>>
>>
>> 2012/8/28 Etienne Tourigny 
>>>
>>> make sure gdaltools plugins is enabled (plugins->Manage Plugins), then
>>> go to Raster->Extraction->clipper. Not sure what the names are in
>>> español though.
>>>
>>> On Tue, Aug 28, 2012 at 12:37 PM, lorena Coelho
>>>  wrote:
>>> > Hello,
>>> > I am a magister student in Uruguay. I'm working with QGIS. I can not
>>> > cut a
>>> > raster mask,  can someone help. What is the complement need? I'm using
>>> > Quantum GIS 1.8.0 Lisbon
>>> > thanks
>>> >
>>> >
>>> > ___
>>> > 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
>>
>>
>>
>>
>> --
>> ---
>>|\__
>> (:>__)(
>>|/
>>
>> Soluciones Geoinformáticas Libres
>> http://geotux.tuxfamily.org/
>> http://twitter.com/GeoTux2
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Fwd: wktraster with Postgis 2.0 in QGIS 1.9 on Linux Mint Maya

2012-08-28 Thread Mauricio de Paulo

Hi Brian,
I downloaded the sample data and imported to my database and it seems to 
work pretty well. I'm using QGIS 1.8, postgis 2.0, postgres 9.1.5, gdal 
1.9.1 on ubuntu 12.04.


Sorry for my ignorance but what GDAL version is being released with 
linux mint? I couldn't find anywhere online.


The plugin heavily relies on GDAL to perform the visualization so you 
need the latest GDAL available to get a decent performance.


From my first tests I can say that GDAL 1.9.1 has greatly improved 
performance and the next versions should improve even further. The 
fastest visualization that I have achieved with version 1.9.1 is with 
single tiled raster files. Unfortunately I wasn't able to get GDAL to 
use overviews so far, but Jorge (GDAL's postgis raster developper) is 
researching on this subject.


GDAL versions bellow 1.9 should not be able to read postgis 2.0.

Unfortunately, since postgis 2.0 release, the python loader was 
discontinued in postgis source. Recently I have started to make the 
necessary changes starting from the old code to get it to work. I don't 
know if this is going to be a good solution but it seems possible. I'm 
trying to avoid the platform-dependent compilation that postgis' raster 
loader has in version 2.0 now that it's being entirely written in C. In 
the future I should probably release a simple uploader with the plugin, 
without all those options until I'm certain that everything is working 
according to the standard.


I'm copying this mail to the list to allow other users to find this 
thread later.


Mauricio C. M. de Paulo
Engenheiro Cartógrafo
Mestrando em Sensoriamento Remoto (INPE)

On 08/28/2012 03:56 PM, Brian Fitzgerald wrote:
PS - Im also unable to "load" raster data into PostGIS using the 
plugin... the icon is greyed out for some reason.


- Brian




On Tue, Aug 28, 2012 at 2:20 PM, Brian Fitzgerald > wrote:


Sure.

I'm running Ubuntu Mint 13 Cinnamon with Postgres 1.9.5, Postgis
2.0. and QGIS 1.9.0

I followed this install tutorial:

http://linfiniti.com/2012/05/installing-postgis-2-0-on-ubuntu/

I loaded the sample vector shapefile into my new 'training'
database and opened it in QGIS with no problem.

I loaded the sample raster data using the command in the tutorial,
it loaded with no problems.  I ran the test query in the tutorial,
no problem.  I went into QGIS to load the raster and got an error
that referred to some missing python dependencies (i think it was
the python-psycopg libs)... so I went to Synaptic and loaded the
following:

Installed the following packages:
libjs-sphinxdoc (1.1.3+dfsg-2ubuntu2.1)
libjs-underscore (1.1.6-1ubuntu2)
python-dbg (2.7.3-0ubuntu2)
python-psycopg2 (2.4.5-1)
python-psycopg2-dbg (2.4.5-1)
python-psycopg2-doc (2.4.5-1)
python2.7-dbg (2.7.3-0ubuntu3.1)
python3 (3.2.3-0ubuntu1)
python3-dbg (3.2.3-0ubuntu1)
python3-minimal (3.2.3-0ubuntu1)
python3-psycopg2 (2.4.5-1)
python3-psycopg2-dbg (2.4.5-1)
python3.2 (3.2.3-0ubuntu3)
python3.2-dbg (3.2.3-0ubuntu3)
python3.2-minimal (3.2.3-0ubuntu3)

I then came back to QGIS to open the raster and no longer get the
python error... this time it brings up the "Load PostGIS Raster
Layer" just fine and displays my sample raster.  I click on the
raster name in the table and it puts it down in the "Table Name"
input box.  I then click on OK and get a window that pops up
saying "Could Not Load Layer".  I click ok to this and another
window comes up that says:  "Could not load PG: dbname=training
host=localhost user=postgres password=xx port=5432
schema=public table=srtm_4326 mode=2".  When I click ok to this,
the window diappears and nothing happens.

I also tried one of our ortho geotiffs using the following command
and get the same results:

postgres@minty /home/rcgeoadmin/Temp $ raster2pgsql -s 4326
/home/rcgeoadmin/Temp/979903.tif | psql training
Processing 1/1: /home/rcgeoadmin/Temp/979903.tif
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
encountered
Warning 1: TIFFReadDirectory:Unknow

Re: [Qgis-user] Fwd: wktraster with Postgis 2.0 in QGIS 1.9 on Linux Mint Maya

2012-08-28 Thread Etienne Tourigny
Ola Mauricio

Linux Mint uses the ubuntu repositories, so look in the main ubuntu
repos for precise.

according to this, it uses 1.7.3

https://launchpad.net/ubuntu/precise/+package/gdal-bin

On Tue, Aug 28, 2012 at 4:01 PM, Mauricio de Paulo
 wrote:
> Hi Brian,
> I downloaded the sample data and imported to my database and it seems to
> work pretty well. I'm using QGIS 1.8, postgis 2.0, postgres 9.1.5, gdal
> 1.9.1 on ubuntu 12.04.
>
> Sorry for my ignorance but what GDAL version is being released with linux
> mint? I couldn't find anywhere online.
>
> The plugin heavily relies on GDAL to perform the visualization so you need
> the latest GDAL available to get a decent performance.
>
> From my first tests I can say that GDAL 1.9.1 has greatly improved
> performance and the next versions should improve even further. The fastest
> visualization that I have achieved with version 1.9.1 is with single tiled
> raster files. Unfortunately I wasn't able to get GDAL to use overviews so
> far, but Jorge (GDAL's postgis raster developper) is researching on this
> subject.
>
> GDAL versions bellow 1.9 should not be able to read postgis 2.0.
>
> Unfortunately, since postgis 2.0 release, the python loader was discontinued
> in postgis source. Recently I have started to make the necessary changes
> starting from the old code to get it to work. I don't know if this is going
> to be a good solution but it seems possible. I'm trying to avoid the
> platform-dependent compilation that postgis' raster loader has in version
> 2.0 now that it's being entirely written in C. In the future I should
> probably release a simple uploader with the plugin, without all those
> options until I'm certain that everything is working according to the
> standard.
>
> I'm copying this mail to the list to allow other users to find this thread
> later.
>
> Mauricio C. M. de Paulo
> Engenheiro Cartógrafo
> Mestrando em Sensoriamento Remoto (INPE)
>
> On 08/28/2012 03:56 PM, Brian Fitzgerald wrote:
>
> PS - Im also unable to "load" raster data into PostGIS using the plugin...
> the icon is greyed out for some reason.
>
> - Brian
>
>
>
>
> On Tue, Aug 28, 2012 at 2:20 PM, Brian Fitzgerald  wrote:
>>
>> Sure.
>>
>> I'm running Ubuntu Mint 13 Cinnamon with Postgres 1.9.5, Postgis 2.0. and
>> QGIS 1.9.0
>>
>> I followed this install tutorial:
>>
>> http://linfiniti.com/2012/05/installing-postgis-2-0-on-ubuntu/
>>
>> I loaded the sample vector shapefile into my new 'training' database and
>> opened it in QGIS with no problem.
>>
>> I loaded the sample raster data using the command in the tutorial, it
>> loaded with no problems.  I ran the test query in the tutorial, no problem.
>> I went into QGIS to load the raster and got an error that referred to some
>> missing python dependencies (i think it was the python-psycopg libs)... so I
>> went to Synaptic and loaded the following:
>>
>> Installed the following packages:
>> libjs-sphinxdoc (1.1.3+dfsg-2ubuntu2.1)
>> libjs-underscore (1.1.6-1ubuntu2)
>> python-dbg (2.7.3-0ubuntu2)
>> python-psycopg2 (2.4.5-1)
>> python-psycopg2-dbg (2.4.5-1)
>> python-psycopg2-doc (2.4.5-1)
>> python2.7-dbg (2.7.3-0ubuntu3.1)
>> python3 (3.2.3-0ubuntu1)
>> python3-dbg (3.2.3-0ubuntu1)
>> python3-minimal (3.2.3-0ubuntu1)
>> python3-psycopg2 (2.4.5-1)
>> python3-psycopg2-dbg (2.4.5-1)
>> python3.2 (3.2.3-0ubuntu3)
>> python3.2-dbg (3.2.3-0ubuntu3)
>> python3.2-minimal (3.2.3-0ubuntu3)
>>
>> I then came back to QGIS to open the raster and no longer get the python
>> error... this time it brings up the "Load PostGIS Raster Layer" just fine
>> and displays my sample raster.  I click on the raster name in the table and
>> it puts it down in the "Table Name" input box.  I then click on OK and get a
>> window that pops up saying "Could Not Load Layer".  I click ok to this and
>> another window comes up that says:  "Could not load PG: dbname=training
>> host=localhost user=postgres password=xx port=5432 schema=public
>> table=srtm_4326 mode=2".  When I click ok to this, the window diappears and
>> nothing happens.
>>
>> I also tried one of our ortho geotiffs using the following command and get
>> the same results:
>>
>> postgres@minty /home/rcgeoadmin/Temp $ raster2pgsql -s 4326
>> /home/rcgeoadmin/Temp/979903.tif | psql training
>> Processing 1/1: /home/rcgeoadmin/Temp/979903.tif
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
>> encountered
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
>> encountered
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
>> encountered
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
>> encountered
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
>> encountered
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
>> encountered
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x847f)
>> encountered
>> Warning 1: TIFFReadDirectory:Unknown field with tag 33919 (0x8

Re: [Qgis-user] Fwd: wktraster with Postgis 2.0 in QGIS 1.9 on Linux Mint Maya

2012-08-28 Thread Mauricio de Paulo

Hi, Brian and Etienne.
Well, GDAL 1.7.3 was one of the first efforts to read postgis raster, 
back in the release candidate days. A few months before the release of 
postgis 2.0 there was a major change in the raster storage and some code 
was discontinued. GDAL 1.9.0 was the first release after postgis 2.0 was 
released so it's the first version that is compatible.


Fortunately, vector data is a mature standard inside postgis and didn't 
suffer any major changes that could break previous working code.


Even though we were all notified by these changes, some of our previous 
work doesn't work with the current version. It was a huge improvement in 
raster storage and metadata retrieval, so we have to cope with it.


I'm releasing the new plugin version with the weak loader tonight. It 
should be enough to upload one untiled raster with no overviews to the 
database.


I'm using ubuntugis' repositories. The gdal package available on it is 
version 1.9.1 so you might want to try those binaries, since they work 
pretty well.


All the best,

Mauricio C. M. de Paulo
Engenheiro Cartógrafo
Mestrando em Sensoriamento Remoto (INPE)

On 08/28/2012 04:17 PM, Brian Fitzgerald wrote:
I'm showing GDAL version 1.7.3-6 in Synaptic... so that could be my 
problem... but wouldn't I also be experiencing loading postgis 2.0 
vectors?


- Brian

On Tue, Aug 28, 2012 at 3:01 PM, Mauricio de Paulo 
mailto:mauricio@gmail.com>> wrote:


Hi Brian,
I downloaded the sample data and imported to my database and it
seems to work pretty well. I'm using QGIS 1.8, postgis 2.0,
postgres 9.1.5, gdal 1.9.1 on ubuntu 12.04.

Sorry for my ignorance but what GDAL version is being released
with linux mint? I couldn't find anywhere online.

The plugin heavily relies on GDAL to perform the visualization so
you need the latest GDAL available to get a decent performance.

From my first tests I can say that GDAL 1.9.1 has greatly improved
performance and the next versions should improve even further. The
fastest visualization that I have achieved with version 1.9.1 is
with single tiled raster files. Unfortunately I wasn't able to get
GDAL to use overviews so far, but Jorge (GDAL's postgis raster
developper) is researching on this subject.

GDAL versions bellow 1.9 should not be able to read postgis 2.0.

Unfortunately, since postgis 2.0 release, the python loader was
discontinued in postgis source. Recently I have started to make
the necessary changes starting from the old code to get it to
work. I don't know if this is going to be a good solution but it
seems possible. I'm trying to avoid the platform-dependent
compilation that postgis' raster loader has in version 2.0 now
that it's being entirely written in C. In the future I should
probably release a simple uploader with the plugin, without all
those options until I'm certain that everything is working
according to the standard.

I'm copying this mail to the list to allow other users to find
this thread later.

Mauricio C. M. de Paulo
Engenheiro Cartógrafo
Mestrando em Sensoriamento Remoto (INPE)

On 08/28/2012 03:56 PM, Brian Fitzgerald wrote:

PS - Im also unable to "load" raster data into PostGIS using the
plugin... the icon is greyed out for some reason.

- Brian




On Tue, Aug 28, 2012 at 2:20 PM, Brian Fitzgerald
mailto:bkf...@gmail.com>> wrote:

Sure.

I'm running Ubuntu Mint 13 Cinnamon with Postgres 1.9.5,
Postgis 2.0. and QGIS 1.9.0

I followed this install tutorial:

http://linfiniti.com/2012/05/installing-postgis-2-0-on-ubuntu/

I loaded the sample vector shapefile into my new 'training'
database and opened it in QGIS with no problem.

I loaded the sample raster data using the command in the
tutorial, it loaded with no problems.  I ran the test query
in the tutorial, no problem.  I went into QGIS to load the
raster and got an error that referred to some missing python
dependencies (i think it was the python-psycopg libs)... so I
went to Synaptic and loaded the following:

Installed the following packages:
libjs-sphinxdoc (1.1.3+dfsg-2ubuntu2.1)
libjs-underscore (1.1.6-1ubuntu2)
python-dbg (2.7.3-0ubuntu2)
python-psycopg2 (2.4.5-1)
python-psycopg2-dbg (2.4.5-1)
python-psycopg2-doc (2.4.5-1)
python2.7-dbg (2.7.3-0ubuntu3.1)
python3 (3.2.3-0ubuntu1)
python3-dbg (3.2.3-0ubuntu1)
python3-minimal (3.2.3-0ubuntu1)
python3-psycopg2 (2.4.5-1)
python3-psycopg2-dbg (2.4.5-1)
python3.2 (3.2.3-0ubuntu3)
python3.2-dbg (3.2.3-0ubuntu3)
python3.2-minimal (3.2.3-0ubuntu3)

I then came back to QGIS to open the raster and no longer get
the python error... this time it brings up the "Load PostGIS
Raster La

Re: [Qgis-user] Help cutter raster

2012-08-28 Thread Germán Carrillo
Or post your question in Spanish here, I know there is some people who
would understand, and  even if they are not able to solve your doubts, they
would help you rephrasing your question in English.

2012/8/28 Etienne Tourigny 

> Hi I'm sorry but I don't understand your question... you mean that it
> doesn't work if the raster is a mask?
>
> By the way, there is a Spanish list at osgeo, although not specific to qgis
>
> http://lists.osgeo.org/pipermail/spanish/
>
> Etienne
>
> On Tue, Aug 28, 2012 at 3:39 PM, lorena Coelho
>  wrote:
> > Hi, thanks for your quick response. The add gdaltools what I have on. In
> > fact cut a raster if I can, so I can not cut the raster is a mask. That
> is
> > asking that the court limit is determined mask. Thanks. Lorena
> >
> >
> > 2012/8/28 Germán Carrillo 
> >>
> >> Believe it or not, names in 'Spanish' are: Ráster->Extraction->Clipper
> :)
> >> (Ráster->Extracción->Cortador/Cortar)
> >>
> >>
> >> 2012/8/28 Etienne Tourigny 
> >>>
> >>> make sure gdaltools plugins is enabled (plugins->Manage Plugins), then
> >>> go to Raster->Extraction->clipper. Not sure what the names are in
> >>> español though.
> >>>
> >>> On Tue, Aug 28, 2012 at 12:37 PM, lorena Coelho
> >>>  wrote:
> >>> > Hello,
> >>> > I am a magister student in Uruguay. I'm working with QGIS. I can not
> >>> > cut a
> >>> > raster mask,  can someone help. What is the complement need? I'm
> using
> >>> > Quantum GIS 1.8.0 Lisbon
> >>> > thanks
> >>> >
> >>> >
> >>> > ___
> >>> > 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
> >>
> >>
> >>
> >>
> >> --
> >> ---
> >>|\__
> >> (:>__)(
> >>|/
> >>
> >> Soluciones Geoinformáticas Libres
> >> http://geotux.tuxfamily.org/
> >> http://twitter.com/GeoTux2
> >>
> >
>



-- 
---
   |\__
(:>__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] gdal merge raster

2012-08-28 Thread skampus
when i try to launch the merge command of gdal, it returns this error

Traceback (most recent call last): 
File "C:\OSGeo4W\bin\gdal_merge.py", line 36, in 
import gdal 
File "C:\OSGeo4W\apps\Python27\lib\site-packages\gdal.py", line 2, in 
from osgeo.gdal import deprecation_warn 
File "C:\OSGeo4W\apps\Python27\lib\site-packages\osgeo\__init__.py", line
21, in 
_gdal = swig_import_helper() 
File "C:\OSGeo4W\apps\Python27\lib\site-packages\osgeo\__init__.py", line
17, in swig_import_helper 
_mod = imp.load_module('_gdal', fp, pathname, description) 
ImportError: DLL load failed: Impossibile trovare la procedura specificata. 

error occurs both in qgis 1.8 and master

same error if i launch the commando from osgeo prompt:
C:\>gdal_merge.bat -of GTiff -o E:/temp/RiesgoGuaya/Danno_10cm.tif
E:/temp/Riesg
oGuaya/Danno_A_10cm.tif E:/temp/RiesgoGuaya/Danno_B_10cm.tif
E:/temp/RiesgoGuaya
/Danno_C_10cm.tif
C:\OSGeo4W\\apps\Python27\lib\site.py:158: Warning: 'with' will become a
reserve
d keyword in Python 2.6
'import site' failed; use -v for traceback
C:\OSGeo4W\\apps\Python27\lib\linecache.py:127: Warning: 'with' will become
a re
served keyword in Python 2.6
Traceback (most recent call last):
  File "C:\OSGeo4W\\bin\gdal_merge.py", line 36, in 
import gdal
ImportError: No module named gdal

any idea? thank you in advance



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/gdal-merge-raster-tp4998458.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Lat/long grid in print composer with a Mercator map

2012-08-28 Thread skampus
yes, it would be a very very useful feature especially now that google map
plugin is stable and it oblies to use EPSG: 3857



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Lat-long-grid-in-print-composer-with-a-Mercator-map-tp4135890p4998460.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] nadgrids beta2007

2012-08-28 Thread Sylvia Preuß
Hello,

with the wktext parameter it's working fine now. Thanks a lot!!!

Sylvia



Der E-Mail-Dienst des Oberbergischen Kreises dient ausschliesslich der 
dienstlichen Kommunikation. 
Senden Sie deshalb keine E-Mails privaten Inhalts an E-Mail-Adressen des 
Oberbergischen Kreises.
Es wird darauf hingewiesen, dass neben der Person, an die Ihre E-Mail gerichtet 
ist, auch deren Vertretung im Amt einen unmittelbaren Zugriff auf Ihre 
Nachricht hat. Fuer Berufsgeheimnistraeger gelten abweichende Regelungen. 
Es wird ausserdem darauf hingewiesen, dass die Kommunikation per E-Mail ohne 
Authentifizierung und Verschluesselung unsicher ist, da fuer unberechtigte 
Dritte grundsaetzlich die Moeglichkeit der Kenntnisnahme und Manipulation 
besteht.
Es wird deshalb keine Verantwortung fuer den Inhalt dieser Nachricht 
uebernommen, da eine Manipulation nicht ausgeschlossen werden kann.
Obwohl alle angemessenen Vorkehrungen getroffen wurden, um sicherzustellen, 
dass Anlagen dieser E-Mail virusgeprueft sind, wird empfohlen, anhaengende 
Dateien vor dem Oeffnen durch Ihr eigenes Virus-Programm zu pruefen, da 
keinerlei Haftung fuer Schaeden uebernommen wird, die infolge etwaiger 
Software-Viren entstehen koennten.
Der Inhalt dieser E-Mail ist ausschliesslich fuer die bezeichnete Person 
bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen 
Vertretung sein sollten, beachten Sie bitte, dass jede Form der Kenntnisnahme, 
Veroeffentlichungg, Vervielfaeltigung oder Weitergabe des Inhalts dieser E-Mail 
unzulaessig ist. In diesem Fall wird darum gebeten, sich mit der absendenden 
Person der E-Mail in Verbindung zu setzen.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user