Re: [Qgis-user] QGIS/GDAL GML flipped coordinate order with URN/URI srsName

2016-10-11 Thread Jürgen E . Fischer
On Tue, 11. Oct 2016 at 12:39:32 +0200, Even Rouault wrote:
> Le mardi 11 octobre 2016 12:31:16, Jürgen E. Fischer a écrit :
> > On Tue, 11. Oct 2016 at 12:28:55 +0200, Jürgen E. Fischer wrote:
> > > If the mentioned revisions had cleanly applied to 2.1.1, osgeo4w would
> > > already be updated. ;)

> > Sorry, I was referring to the shape file issues - not what this is about.
 
> The changes were rather large for the shapefile repacking issue, so yes I 
> guess 
> they didn't apply cleanly. Or perhaps because of other fixes.

Probably - I didn't dig deeper.  2.1.2 is probably there soon enough.
 
> By the way if you apply patches to "official" GDAL versions into the OSGeo4W
> GDAL builds, it could be great to mention them somewhere (perhaps a note in 
> the related GDAL ticket ? or in https://trac.osgeo.org/osgeo4w/wiki/pkg-gdal 
> ?), otherwise some behaviour might be hard to explain if one is not aware of 
> that patching.

The builds scripts are there for every new gdal package including the
patches:

http://download.osgeo.org/osgeo4w/x86_64/release/gdal/gdal-2.1.1-3-src.tar.bz2:

plugin-clean.diff aka r34337
hdf4.diff aka r34336
nas.diff aka r34725
mssplugin.diff aka r34598

I'm not a fan of redundant aging information so I've removed all the outdated
information and put a pointer to the package onto the wiki page.


Jürgen

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


pgpPZajgOCTwN.pgp
Description: PGP signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL GML flipped coordinate order with URN/URI srsName

2016-10-11 Thread Jürgen E . Fischer
Hi Even,

On Tue, 11. Oct 2016 at 12:28:55 +0200, Jürgen E. Fischer wrote:
> If the mentioned revisions had cleanly applied to 2.1.1, osgeo4w would already
> be updated. ;)

Sorry, I was referring to the shape file issues - not what this is about.
Anyway, when 2.1.2 is out, it'll appear in osgeo4w soon after.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



pgp8vJ3mnu3ro.pgp
Description: PGP signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL GML flipped coordinate order with URN/URI srsName

2016-10-11 Thread Jürgen E . Fischer
Hi Even,

On Tue, 11. Oct 2016 at 12:26:50 +0200, Even Rouault wrote:
> Le mardi 11 octobre 2016 12:21:32, Ilkka Rinne a écrit :
> > Ok, thanks for the quick answer and bug fix!
> > 
> > Any idea about the planned version of QGIS that would include GDAL 2.1.2?
> 
> I'm not sure what Jürgen's plans are, but once GDAL 2.1.2 will be released 
> and 
> available in OSGeo4W, I think that should probably affect all QGIS versions 
> that currently use GDAL 2.1.X ?

If the mentioned revisions had cleanly applied to 2.1.1, osgeo4w would already
be updated. ;)


Jürgen

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


pgpCVvPntMG7Z.pgp
Description: PGP signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL GML flipped coordinate order with URN/URI srsName

2016-10-11 Thread Even Rouault
Le mardi 11 octobre 2016 12:21:32, Ilkka Rinne a écrit :
> Ok, thanks for the quick answer and bug fix!
> 
> Any idea about the planned version of QGIS that would include GDAL 2.1.2?

I'm not sure what Jürgen's plans are, but once GDAL 2.1.2 will be released and 
available in OSGeo4W, I think that should probably affect all QGIS versions 
that currently use GDAL 2.1.X ?

> 
> 
> Ilkka
> 
> On Tue, Oct 11, 2016 at 12:59 PM, Even Rouault 
> 
> wrote:
> > Le mardi 11 octobre 2016 10:47:09, Ilkka Rinne a écrit :
> > > Hi,
> > > 
> > > We are experiencing an unwanted flipping of coordinate order
> > 
> > interpretation
> > 
> > > when adding GML 3.2 files as new vector layers in QGIS 2.2 Valmiera.
> > > 
> > > The GML data is has been encoded as a wfs:featureCollection with EU
> > 
> > INSPIRE
> > 
> > > ProtectedSite 4.0 features as collection members (XML Schema:
> > > http://inspire.ec.europa.eu/schemas/ps/4.0/ProtectedSites.xsd). When
> > 
> > using
> > 
> > > the URI-type srsName "http://www.opengis.net/def/crs/EPSG/0/3035; the
> > > coordinates seem to be interpreted (by GDAL?) in order (easting,
> > 
> > northing),
> > 
> > > while the official axis order (according to the EPSG-registry) is
> > > (northing, easting). If we change the srsName to the URN-type format
> > > "urn:ogc:def:crs:EPSG::3035" in the GML file, the import seems to use
> > > the correct coordinate order.
> > > 
> > > To comply with the INSPIRE requirements, we have to use the URI format
> > > srsNames, but this is likely to cause a lot of confusion for the QGIS &
> > > GDAL users of the data if the coordinates are interpreted in the wrong
> > > order.
> > > 
> > > I'm fully aware of the massively confusing lat/lon (x/y) coordinate
> > > order interpretation misalignment between the geographers and the
> > > (GIS)
> > 
> > software
> > 
> > > implementors, but was not aware that this issues also shows it's ugly
> > 
> > head
> > 
> > > for other CRSes than CRS 84/EPSG:4326.
> > 
> > It's a mess indeed, reinforced by constant changes in srsName syntaxes.
> > 
> > > Question 1: Is this an intentional feature or a bug?
> > 
> > This was a bug. I've just fixed it per https://trac.osgeo.org/gdal/
> > ticket/6678
> > (in time for the upcoming GDAL 2.1.2)
> > 
> > > Question 2: Is it possible to force GDAL from the QGIS UI to interpret
> > 
> > the
> > 
> > > coordinate order of these GML files in the official order?
> > 
> > No workaround I can think of, apart the manual replacing as you did.
> > 
> > Even
> > 
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL GML flipped coordinate order with URN/URI srsName

2016-10-11 Thread Ilkka Rinne
Ok, thanks for the quick answer and bug fix!

Any idea about the planned version of QGIS that would include GDAL 2.1.2?


Ilkka

On Tue, Oct 11, 2016 at 12:59 PM, Even Rouault 
wrote:

> Le mardi 11 octobre 2016 10:47:09, Ilkka Rinne a écrit :
> > Hi,
> >
> > We are experiencing an unwanted flipping of coordinate order
> interpretation
> > when adding GML 3.2 files as new vector layers in QGIS 2.2 Valmiera.
> >
> > The GML data is has been encoded as a wfs:featureCollection with EU
> INSPIRE
> > ProtectedSite 4.0 features as collection members (XML Schema:
> > http://inspire.ec.europa.eu/schemas/ps/4.0/ProtectedSites.xsd). When
> using
> > the URI-type srsName "http://www.opengis.net/def/crs/EPSG/0/3035; the
> > coordinates seem to be interpreted (by GDAL?) in order (easting,
> northing),
> > while the official axis order (according to the EPSG-registry) is
> > (northing, easting). If we change the srsName to the URN-type format
> > "urn:ogc:def:crs:EPSG::3035" in the GML file, the import seems to use the
> > correct coordinate order.
> >
> > To comply with the INSPIRE requirements, we have to use the URI format
> > srsNames, but this is likely to cause a lot of confusion for the QGIS &
> > GDAL users of the data if the coordinates are interpreted in the wrong
> > order.
> >
> > I'm fully aware of the massively confusing lat/lon (x/y) coordinate order
> > interpretation misalignment between the geographers and the (GIS)
> software
> > implementors, but was not aware that this issues also shows it's ugly
> head
> > for other CRSes than CRS 84/EPSG:4326.
>
> It's a mess indeed, reinforced by constant changes in srsName syntaxes.
>
> >
> > Question 1: Is this an intentional feature or a bug?
>
> This was a bug. I've just fixed it per https://trac.osgeo.org/gdal/
> ticket/6678
> (in time for the upcoming GDAL 2.1.2)
>
> >
> > Question 2: Is it possible to force GDAL from the QGIS UI to interpret
> the
> > coordinate order of these GML files in the official order?
>
> No workaround I can think of, apart the manual replacing as you did.
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>



-- 
Ilkka Rinne
Founder, Head of Customer Experience and Interoperability, Spatineo Oy
Email: ilkka.ri...@spatineo.com
Skype: ilkka.o.rinne, phone: +358 50 523 8974
Office: Kellosilta 2 D, FI-00520 Helsinki, Finland
www.spatineo.com, twitter.com/#!/spatineo
Google+ google.com/+Spatineo
www.linkedin.com/company/spatineo-inc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL GML flipped coordinate order with URN/URI srsName

2016-10-11 Thread Even Rouault
Le mardi 11 octobre 2016 10:47:09, Ilkka Rinne a écrit :
> Hi,
> 
> We are experiencing an unwanted flipping of coordinate order interpretation
> when adding GML 3.2 files as new vector layers in QGIS 2.2 Valmiera.
> 
> The GML data is has been encoded as a wfs:featureCollection with EU INSPIRE
> ProtectedSite 4.0 features as collection members (XML Schema:
> http://inspire.ec.europa.eu/schemas/ps/4.0/ProtectedSites.xsd). When using
> the URI-type srsName "http://www.opengis.net/def/crs/EPSG/0/3035; the
> coordinates seem to be interpreted (by GDAL?) in order (easting, northing),
> while the official axis order (according to the EPSG-registry) is
> (northing, easting). If we change the srsName to the URN-type format
> "urn:ogc:def:crs:EPSG::3035" in the GML file, the import seems to use the
> correct coordinate order.
> 
> To comply with the INSPIRE requirements, we have to use the URI format
> srsNames, but this is likely to cause a lot of confusion for the QGIS &
> GDAL users of the data if the coordinates are interpreted in the wrong
> order.
> 
> I'm fully aware of the massively confusing lat/lon (x/y) coordinate order
> interpretation misalignment between the geographers and the (GIS) software
> implementors, but was not aware that this issues also shows it's ugly head
> for other CRSes than CRS 84/EPSG:4326.

It's a mess indeed, reinforced by constant changes in srsName syntaxes.

> 
> Question 1: Is this an intentional feature or a bug?

This was a bug. I've just fixed it per https://trac.osgeo.org/gdal/ticket/6678 
(in time for the upcoming GDAL 2.1.2)

> 
> Question 2: Is it possible to force GDAL from the QGIS UI to interpret the
> coordinate order of these GML files in the official order?

No workaround I can think of, apart the manual replacing as you did.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL 2.0.2 bug (fixed in 2.1)

2016-06-21 Thread Idan Miara
Answering myself... GDAL 2.1 already on QGIS 2.14.3-2.

On 21 June 2016 at 10:01, Idan Miara  wrote:

> Thanks for the quick answer!
> Does it mean that the next official QGIS releases will automatically use
> it?
>
> On 21 June 2016 at 09:56, Jürgen E.  wrote:
>
>> Hi Idan,
>>
>> On Tue, 21. Jun 2016 at 09:53:54 +0300, Idan Miara wrote:
>> > Will QGIS use GDAL 2.1 in the near future ?
>>
>> GDAL is already at 2.1 in OSGeo4W.
>>
>>
>> Jürgen
>>
>> --
>> Jürgen E. Fischer   norBIT GmbH Tel.
>> +49-4931-918175-31
>> Dipl.-Inf. (FH) Rheinstraße 13  Fax.
>> +49-4931-918175-50
>> Software Engineer   D-26506 Norden
>> http://www.norbit.de
>> QGIS release manager (PSC)  GermanyIRC: jef on
>> FreeNode
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL 2.0.2 bug (fixed in 2.1)

2016-06-21 Thread Idan Miara
Thanks for the quick answer!
Does it mean that the next official QGIS releases will automatically use it?

On 21 June 2016 at 09:56, Jürgen E.  wrote:

> Hi Idan,
>
> On Tue, 21. Jun 2016 at 09:53:54 +0300, Idan Miara wrote:
> > Will QGIS use GDAL 2.1 in the near future ?
>
> GDAL is already at 2.1 in OSGeo4W.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel.
> +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax.
> +49-4931-918175-50
> Software Engineer   D-26506 Norden
> http://www.norbit.de
> QGIS release manager (PSC)  GermanyIRC: jef on FreeNode
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS/GDAL 2.0.2 bug (fixed in 2.1)

2016-06-21 Thread Jürgen E . Fischer
Hi Idan,

On Tue, 21. Jun 2016 at 09:53:54 +0300, Idan Miara wrote:
> Will QGIS use GDAL 2.1 in the near future ?

GDAL is already at 2.1 in OSGeo4W.


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



pgp3yL1ezHaa6.pgp
Description: PGP signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS - gdal

2014-03-06 Thread Goyo
2014-03-04 8:50 GMT+01:00 Paulo van Breugel p.vanbreu...@gmail.com:
 Hi Matt,

 Yes I did, no luck. I now also installed QGIS and gdal using the ubuntugis
 ppa, and that works. But I still would like to get this to work to be able
 to use/test the QGIS development version.

QGIS master with ubuntugis dependences is working for me in saucy. At
least the Info tool is working.

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


Re: [Qgis-user] QGIS - gdal

2014-03-04 Thread Paulo van Breugel
I was the one reporting that issue :-).. The problem there was that 
qgis did not start. With the solution provided by that link, qgis 
starts without problems. It does not help however with the gdal 
functions not working, at least, not for me.



On Tue 04 Mar 2014 08:54:37 AM CET, Alex Mandel wrote:

I suspect its an ld path configuration issue. Similar to this but with GDAL
http://hub.qgis.org/issues/5859

Thanks,
Alex

On 03/03/2014 11:50 PM, Paulo van Breugel wrote:

Hi Matt,

Yes I did, no luck. I now also installed QGIS and gdal using the
ubuntugis ppa, and that works. But I still would like to get this to
work to be able to use/test the QGIS development version.

Paulo


On Tue 04 Mar 2014 04:08:30 AM CET, Matt Boyd wrote:

Hi Paulo,
I'm a little out of practice configuring gdal in linux, but I vaguely
recall doing something like this a while ago, my apologies if this is
a too obvious.
Have you looked at the gdal tool settings in the raster menu of qgis?

Matt


On Mon, Mar 3, 2014 at 9:41 PM, Paulo van Breugel
p.vanbreu...@gmail.com mailto:p.vanbreu...@gmail.com wrote:

 Hi I am running QGIS master on Ubuntu 13.10. All runs fine, except
 for any function  that relies on gdal (raster menu or the gdal
 functions in the processing toolbox). The functions work without
 problem on the command line, but QGIS cannot find gdal it seems.

 I compiled QGIS with the following gdal settings:

   * GDAL_CONFIG = /usr/local/gdal1.10/bin/gdal-config
   * GDAL_CONFIG_PREFER_FWTOOLS_PATH = /bin_safe
   * GDAL_CONFIG_PREFER_PATH = /bin
   * GDAL_INCLUDE_DIR = /usr/local/gdal1.10/include
   * GDAL_LIBRARY = /usr/local/gdal1.10/lib/libgdal.so

 I am actually not sure about the 2nd and 3rd.  Are those settings
 correct?

 I compiled gdal 1.10 from source in /usr/local/gdal and tried all
 the following:

   * added a gdal.conf file with the gdal lib path in the
 etc/ld.so.conf.d folder (ran ldconfig)
   * created a softlink of the usr/local/gdal1.10/bin folder in
 /usr/bin
   * defined gdal paths in /home/paulo/.bashrc by adding the line:
 export PATH=$PATH:/usr/local/gdal1.10/bin
   * created executable file libraries.sh in /etc/profile.d with
 the lines
   o #!/bin/sh
   o
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib

   o export LD_LIBRARY_PATH

 Any idea what to do next?

 Paulo

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org mailto: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 - gdal

2014-03-04 Thread Alex Mandel
Run ldd /path/to/compiled/bin/qgis
See if it has gdal picked up. If not then add the gdal to the system
path or to a qgis specific conf in the ld conf folder.

Thats at least what I'm thinking about.

Alex


On 03/04/2014 12:02 AM, Paulo van Breugel wrote:
 I was the one reporting that issue :-).. The problem there was that qgis
 did not start. With the solution provided by that link, qgis starts
 without problems. It does not help however with the gdal functions not
 working, at least, not for me.
 
 
 On Tue 04 Mar 2014 08:54:37 AM CET, Alex Mandel wrote:
 I suspect its an ld path configuration issue. Similar to this but with
 GDAL
 http://hub.qgis.org/issues/5859

 Thanks,
 Alex

 On 03/03/2014 11:50 PM, Paulo van Breugel wrote:
 Hi Matt,

 Yes I did, no luck. I now also installed QGIS and gdal using the
 ubuntugis ppa, and that works. But I still would like to get this to
 work to be able to use/test the QGIS development version.

 Paulo


 On Tue 04 Mar 2014 04:08:30 AM CET, Matt Boyd wrote:
 Hi Paulo,
 I'm a little out of practice configuring gdal in linux, but I vaguely
 recall doing something like this a while ago, my apologies if this is
 a too obvious.
 Have you looked at the gdal tool settings in the raster menu of qgis?

 Matt


 On Mon, Mar 3, 2014 at 9:41 PM, Paulo van Breugel
 p.vanbreu...@gmail.com mailto:p.vanbreu...@gmail.com wrote:

  Hi I am running QGIS master on Ubuntu 13.10. All runs fine, except
  for any function  that relies on gdal (raster menu or the gdal
  functions in the processing toolbox). The functions work without
  problem on the command line, but QGIS cannot find gdal it seems.

  I compiled QGIS with the following gdal settings:

* GDAL_CONFIG = /usr/local/gdal1.10/bin/gdal-config
* GDAL_CONFIG_PREFER_FWTOOLS_PATH = /bin_safe
* GDAL_CONFIG_PREFER_PATH = /bin
* GDAL_INCLUDE_DIR = /usr/local/gdal1.10/include
* GDAL_LIBRARY = /usr/local/gdal1.10/lib/libgdal.so

  I am actually not sure about the 2nd and 3rd.  Are those settings
  correct?

  I compiled gdal 1.10 from source in /usr/local/gdal and tried all
  the following:

* added a gdal.conf file with the gdal lib path in the
  etc/ld.so.conf.d folder (ran ldconfig)
* created a softlink of the usr/local/gdal1.10/bin folder in
  /usr/bin
* defined gdal paths in /home/paulo/.bashrc by adding the line:
  export PATH=$PATH:/usr/local/gdal1.10/bin
* created executable file libraries.sh in /etc/profile.d with
  the lines
o #!/bin/sh
o
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib


o export LD_LIBRARY_PATH

  Any idea what to do next?

  Paulo

  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org mailto: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 - gdal

2014-03-03 Thread Matt Boyd
Hi Paulo,
I'm a little out of practice configuring gdal in linux, but I vaguely
recall doing something like this a while ago, my apologies if this is a too
obvious.
Have you looked at the gdal tool settings in the raster menu of qgis?

Matt


On Mon, Mar 3, 2014 at 9:41 PM, Paulo van Breugel p.vanbreu...@gmail.comwrote:

  Hi I am running QGIS master on Ubuntu 13.10. All runs fine, except for
 any function  that relies on gdal (raster menu or the gdal functions in the
 processing toolbox). The functions work without problem on the command
 line, but QGIS cannot find gdal it seems.

 I compiled QGIS with the following gdal settings:

- GDAL_CONFIG = /usr/local/gdal1.10/bin/gdal-config
- GDAL_CONFIG_PREFER_FWTOOLS_PATH = /bin_safe
- GDAL_CONFIG_PREFER_PATH = /bin
- GDAL_INCLUDE_DIR = /usr/local/gdal1.10/include
- GDAL_LIBRARY = /usr/local/gdal1.10/lib/libgdal.so

 I am actually not sure about the 2nd and 3rd.  Are those settings correct?

 I compiled gdal 1.10 from source in /usr/local/gdal and tried all the
 following:

- added a gdal.conf file with the gdal lib path in the
etc/ld.so.conf.d folder (ran ldconfig)
 - created a softlink of the usr/local/gdal1.10/bin folder in /usr/bin
- defined gdal paths in /home/paulo/.bashrc by adding the line: export
PATH=$PATH:/usr/local/gdal1.10/bin
- created executable file libraries.sh in /etc/profile.d with the
lines
   - #!/bin/sh
   -
   
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib
   - export LD_LIBRARY_PATH

 Any idea what to do next?

 Paulo

 ___
 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 - gdal

2014-03-03 Thread Paulo van Breugel

Hi Matt,

Yes I did, no luck. I now also installed QGIS and gdal using the 
ubuntugis ppa, and that works. But I still would like to get this to 
work to be able to use/test the QGIS development version.


Paulo


On Tue 04 Mar 2014 04:08:30 AM CET, Matt Boyd wrote:

Hi Paulo,
I'm a little out of practice configuring gdal in linux, but I vaguely
recall doing something like this a while ago, my apologies if this is
a too obvious.
Have you looked at the gdal tool settings in the raster menu of qgis?

Matt


On Mon, Mar 3, 2014 at 9:41 PM, Paulo van Breugel
p.vanbreu...@gmail.com mailto:p.vanbreu...@gmail.com wrote:

Hi I am running QGIS master on Ubuntu 13.10. All runs fine, except
for any function  that relies on gdal (raster menu or the gdal
functions in the processing toolbox). The functions work without
problem on the command line, but QGIS cannot find gdal it seems.

I compiled QGIS with the following gdal settings:

  * GDAL_CONFIG = /usr/local/gdal1.10/bin/gdal-config
  * GDAL_CONFIG_PREFER_FWTOOLS_PATH = /bin_safe
  * GDAL_CONFIG_PREFER_PATH = /bin
  * GDAL_INCLUDE_DIR = /usr/local/gdal1.10/include
  * GDAL_LIBRARY = /usr/local/gdal1.10/lib/libgdal.so

I am actually not sure about the 2nd and 3rd.  Are those settings
correct?

I compiled gdal 1.10 from source in /usr/local/gdal and tried all
the following:

  * added a gdal.conf file with the gdal lib path in the
etc/ld.so.conf.d folder (ran ldconfig)
  * created a softlink of the usr/local/gdal1.10/bin folder in
/usr/bin
  * defined gdal paths in /home/paulo/.bashrc by adding the line:
export PATH=$PATH:/usr/local/gdal1.10/bin
  * created executable file libraries.sh in /etc/profile.d with
the lines
  o #!/bin/sh
  o 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib
  o export LD_LIBRARY_PATH

Any idea what to do next?

Paulo

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org mailto: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 - gdal

2014-03-03 Thread Alex Mandel
I suspect its an ld path configuration issue. Similar to this but with GDAL
http://hub.qgis.org/issues/5859

Thanks,
Alex

On 03/03/2014 11:50 PM, Paulo van Breugel wrote:
 Hi Matt,
 
 Yes I did, no luck. I now also installed QGIS and gdal using the
 ubuntugis ppa, and that works. But I still would like to get this to
 work to be able to use/test the QGIS development version.
 
 Paulo
 
 
 On Tue 04 Mar 2014 04:08:30 AM CET, Matt Boyd wrote:
 Hi Paulo,
 I'm a little out of practice configuring gdal in linux, but I vaguely
 recall doing something like this a while ago, my apologies if this is
 a too obvious.
 Have you looked at the gdal tool settings in the raster menu of qgis?

 Matt


 On Mon, Mar 3, 2014 at 9:41 PM, Paulo van Breugel
 p.vanbreu...@gmail.com mailto:p.vanbreu...@gmail.com wrote:

 Hi I am running QGIS master on Ubuntu 13.10. All runs fine, except
 for any function  that relies on gdal (raster menu or the gdal
 functions in the processing toolbox). The functions work without
 problem on the command line, but QGIS cannot find gdal it seems.

 I compiled QGIS with the following gdal settings:

   * GDAL_CONFIG = /usr/local/gdal1.10/bin/gdal-config
   * GDAL_CONFIG_PREFER_FWTOOLS_PATH = /bin_safe
   * GDAL_CONFIG_PREFER_PATH = /bin
   * GDAL_INCLUDE_DIR = /usr/local/gdal1.10/include
   * GDAL_LIBRARY = /usr/local/gdal1.10/lib/libgdal.so

 I am actually not sure about the 2nd and 3rd.  Are those settings
 correct?

 I compiled gdal 1.10 from source in /usr/local/gdal and tried all
 the following:

   * added a gdal.conf file with the gdal lib path in the
 etc/ld.so.conf.d folder (ran ldconfig)
   * created a softlink of the usr/local/gdal1.10/bin folder in
 /usr/bin
   * defined gdal paths in /home/paulo/.bashrc by adding the line:
 export PATH=$PATH:/usr/local/gdal1.10/bin
   * created executable file libraries.sh in /etc/profile.d with
 the lines
   o #!/bin/sh
   o
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/local/lib:/usr/local/gdal1.10/lib

   o export LD_LIBRARY_PATH

 Any idea what to do next?

 Paulo

 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org mailto: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-gdal: color-table problem to transform rasterimge

2012-06-20 Thread Etienne Tourigny
On Wed, Jun 20, 2012 at 11:19 AM, Jan Tappenbeck o...@tappenbeck.net wrote:
 hi !

 i have to transform rasterimages from gauss-krueger to etrs by using
 gsb-files.

 one of the image is:

 Driver: GTiff/GeoTIFF
 Files: C:/Users/tappenbeck/Desktop/Haan_Transformation/BP_001.tif
       C:/Users/tappenbeck/Desktop/Haan_Transformation/BP_001.tfw
 Size is 1862, 2990
 Coordinate System is `'
 Origin = (2570979.51737647690,5673843.18262374590)
 Pixel Size = (0.085247046186886,-0.085247491638684)
 Metadata:
  TIFFTAG_SOFTWARE=IrfanView
  TIFFTAG_XRESOLUTION=200
  TIFFTAG_YRESOLUTION=200
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
 Image Structure Metadata:
  COMPRESSION=PACKBITS
  INTERLEAVE=BAND
 Corner Coordinates:
 Upper Left  ( 2570979.517, 5673843.183)
 Lower Left  ( 2570979.517, 5673588.293)
 Upper Right ( 2571138.247, 5673843.183)
 Lower Right ( 2571138.247, 5673588.293)
 Center      ( 2571058.882, 5673715.738)
 Band 1 Block=1862x4 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)
    0: 0,0,0,255
    1: 255,255,255,255
    2: 251,243,215,255
    3: 251,238,211,255
    4: 251,238,206,255
 
  254: 227,230,230,255
  255: 255,255,255,255

 i want to use a gdal-statement by sven geggenus [1] for transformation. i
 open the gdal-function gdal  transformation (projection) and i copy the
 modify source in the command area at the buttom of the dialog:


 gdalwarp -r cubicspline -multi -of HFA -s_srs +init=epsg:31466
 +nadgrids=C:/Users/Tappenbeck/Desktop/Haan_Transformation/Mettmann_Beta2007.gsb
 +wktext -t_srs EPSG:25832 -of GTiff
 C:/Users/tappenbeck/Desktop/Haan_Transformation/BP_001.tif
 C:/Users/tappenbeck/Desktop/Haan_Transformation/BP_001_trans.tif

 after apply the command i get following message:

 Output dataset
 C:/Users/tappenbeck/Desktop/Haan_Transformation/BP_001_trans.tif exists,
 but some commandline options were provided indicating a new dataset
 should be created. Please delete existing dataset and run again.

 can anyone help me to do the transformation ?

follow the recommendation, either delete the dataset before running
the gdalwarp command, or use the -overwrite option.


 ADDITITION:
 it is only possible to modify the gdad-command for single use - file by
 file.

 is it possible to use usermodifiy-command for folder-transformations ?

In linux you would use a bash script that loops over all the files in
the directory, there are plenty of examples in the archives of this
mailing list and elsewhere.  I can't help you do this on windows
though.


 please help.

 reagards Jan :-)




 [1]
 http://www.fossgis.de/konferenz/2010/attachments/71_osm-datenaufbereitung-fossgis-2010.pdf
 - Page 8
 ___
 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