Re: [gdal-dev] gdal_merge.py won't load libpng

2013-07-05 Thread Dominik Schneider
Yes, anaconda is a python distribution. Unfortunate that those don't play nice. Confusion was indeed the problem. I deleted the /usr/local/lib/python2.7 folder and uninstalled the brew gdal. I reinstalled GDAL Complete 1.10 framework and was getting an import error: iMac:~ $ gdal_merge.py Tracebac

Re: [gdal-dev] Reading gml with schema

2013-07-05 Thread Even Rouault
Le jeudi 30 mai 2013 12:01:04, Pekka Sarkola a écrit : > Hi Folks, > > Ari: thanks to raise my head. I'm now member of (also) this mailing list. > > Yes, it seems that NLSFI has very unique way to create those GML's. However > I have understood that they like pretty much follow INSPIRE guidelines

Re: [gdal-dev] gdal_merge.py won't load libpng

2013-07-05 Thread William Kyngesburye
Looks like a confused gdal and python installation mess... If you're using my GDAL framework, it uses my UnixImageIO framework for libpng. And, the included gdal-python uses the system python. But according to the error python is looking for python modules (thus gdal-python) in /usr/local. Th

Re: [gdal-dev] gdal_merge.py won't load libpng

2013-07-05 Thread Dominik Schneider
anyone have any suggestions?! I'm at a complete loss how to troubleshoot. Dominik Schneider o 303.735.6296 | c 518.956.3978 On Tue, Jul 2, 2013 at 10:52 AM, Dominik Schneider < dominik.schnei...@colorado.edu> wrote: > Hi, > I am trying to run: > gdal_merge.py -init - -n 2001 -o > MOD09GA.

Re: [gdal-dev] gdal/proj4 and gtk, SpatialReference.setFromUserInput bug

2013-07-05 Thread Even Rouault
> Does someone have a clue about what's happening ? Yes, this is due to the "import gtk" setting the locale from the C locale to the locale of the language of your system, which has likely comma has the decimal separator. There are a few places in GDAL/OGR that are not ready (yet) for that. Y

[gdal-dev] gdal/proj4 and gtk, SpatialReference.setFromUserInput bug

2013-07-05 Thread raigron
Hi, i'm facing a strange bug in python: from osgeo import osr sp = osr.SpatialReference() sp.SetFromUserInput("IGNF:LAMB2C") print sp returns: PROJCS["unnamed", GEOGCS["unnamed ellipse", DATUM["unknown", SPHEROID["unnamed",6378249.2,293.466021], EXTENSION["PR