[gdal-dev] ogr2ogr coordinate system encoding

2014-05-06 Thread mccorb
I have shape files that I am wanting to convert to a GML equivalent file. I understand how to use the shape file .PRJ files and EPSG info to translate coordinate systems and all that is working well. However, once converted the coordinates are correct but there is nothing in the file (that I can

Re: [gdal-dev] what version of epsg-db in gdal 1.11 ?

2014-05-06 Thread Hermann Peifer
On 2014-05-06 15:04, Andrea Peri wrote: Hi, The IGM (Italian Geography Military) has update the definition of the Reference System in the EPSG DB. So now there some new codes usable for datasets in Italy: epsg::6007, 6008, and so on. I just checked at http://epsg-registry.org/ > retrieve by c

Re: [gdal-dev] what version of epsg-db in gdal 1.11 ?

2014-05-06 Thread Hermann Peifer
Aha. These codes are not included in GDAL's most recent gcs.csv/pcs.csv, see http://trac.osgeo.org/gdal/browser/trunk/gdal/data Hermann On 2014-05-06 21:30, Andrea Peri wrote: Oops, you have right I wrong to report the codes. the new codes are from 6704 to 6711 so the right for test was

Re: [gdal-dev] what version of epsg-db in gdal 1.11 ?

2014-05-06 Thread Andrea Peri
Oops, you have right I wrong to report the codes. the new codes are from 6704 to 6711 so the right for test was 6707 not 6007 Thx, Andrea. 2014-05-06 21:19 GMT+02:00 Hermann Peifer : > On 2014-05-06 15:04, Andrea Peri wrote: > >> Hi, >> >> The IGM (Italian Geography Military) has update

Re: [gdal-dev] what version of epsg-db in gdal 1.11 ?

2014-05-06 Thread Hermann Peifer
On 2014-05-06 15:04, Andrea Peri wrote: Hi, The IGM (Italian Geography Military) has update the definition of the Reference System in the EPSG DB. So now there some new codes usable for datasets in Italy: epsg::6007, 6008, and so on. I just checked at http://epsg-registry.org/ > retrieve by c

Re: [gdal-dev] gdal-dev Digest, Vol 120, Issue 9

2014-05-06 Thread Andrea Peri
Hi Rouault, my mistake. I see the last gdal is 8.2 and now epsg was to 8.4 so I deduce (wrongly) that gdal was 2 version behind. I forget to evaluate that the 8.4 was released after the release of gdal. The link to instruction for produce new csv files from epsg db is really interesting. Thx a

Re: [gdal-dev] gdal-dev Digest, Vol 120, Issue 9

2014-05-06 Thread Even Rouault
Le mardi 06 mai 2014 16:07:43, Andrea Peri a écrit : > Hi Jef, > thx for response. > > unfortunately only now I see that the new Italian epsg codes are available > in the last epsg db (the 8.4 version) released in the 1 may 2014. > > Also I understand that gdal will not update to the last availab

Re: [gdal-dev] compiling without writing permission - problem gdal-1.10.1

2014-05-06 Thread Antonio Valentino
Hi Margherita, Il 06/05/2014 17:31, Margherita Di Leo ha scritto: > Hi, > > > On Tue, May 6, 2014 at 12:29 PM, Mike Toews wrote: > >> >> >> Unfortunately this is a bug: http://trac.osgeo.org/gdal/ticket/4563 > > > Thank you for pointing me out. > >> >> >> There are a few workarounds, such a

Re: [gdal-dev] OGR: memory leak in OCI driver

2014-05-06 Thread Ivan Lucena
Hi Nicolas, I received that report a month ago: "we have found the OGROCISession is never released, causing a large memory leak whenever a connection is closed. As workaround, we added in OGROCISession::~OGROCISession() if( hEnv ) OCIHandleFree((dvoid *) h

Re: [gdal-dev] Difficulty opening Safecast GeoJSON data

2014-05-06 Thread Mark Coletti
On Mon, May 5, 2014 at 4:57 PM, David Fawcett wrote: > On second thought, I see that the .csv file is 2.1 gb! I would suggest > not following the .csv driver approach. > > I would follow Sean's suggestion and just use some simple Python (or > whatever language that you want to use to consume the

[gdal-dev] OGR: memory leak in OCI driver

2014-05-06 Thread SIMON Nicolas
Dear developers, I suspect that there is a memory leak in OCI driver for OGR My simplified test case is : ... // point A OGRRegisterAll(); // point B pDS = OGRSFDriverRegistrar::Open("OCI:USER/PWD@INSTANCE:TABLE", true); if(pDS) { OGRDataSource::De

Re: [gdal-dev] compiling without writing permission - problem gdal-1.10.1

2014-05-06 Thread Margherita Di Leo
Hi, On Tue, May 6, 2014 at 12:29 PM, Mike Toews wrote: > > > Unfortunately this is a bug: http://trac.osgeo.org/gdal/ticket/4563 Thank you for pointing me out. > > > There are a few workarounds, such as installing the Python bindings > manually with the appropriate --prefix: > $ cd swig/pyth

Re: [gdal-dev] gdal-dev Digest, Vol 120, Issue 9

2014-05-06 Thread Andrea Peri
Hi Jef, thx for response. unfortunately only now I see that the new Italian epsg codes are available in the last epsg db (the 8.4 version) released in the 1 may 2014. Also I understand that gdal will not update to the last available version (i guess it was the 8.3 version). So perhaps only from t

Re: [gdal-dev] what version of epsg-db in gdal 1.11 ?

2014-05-06 Thread Jeff McKenna
On 2014-05-06, 10:04 AM, Andrea Peri wrote: > Hi, > > The IGM (Italian Geography Military) has update the definition of the > Reference System in the EPSG DB. > > So now there some new codes usable for datasets in Italy: > epsg::6007, 6008, and so on. > This codes are also mandatory for the new c

[gdal-dev] what version of epsg-db in gdal 1.11 ?

2014-05-06 Thread Andrea Peri
Hi, The IGM (Italian Geography Military) has update the definition of the Reference System in the EPSG DB. So now there some new codes usable for datasets in Italy: epsg::6007, 6008, and so on. This codes are also mandatory for the new cartography that will be created in Italy. So will be useful

[gdal-dev] ogr2ogr.cpp: how to use it in my own code?

2014-05-06 Thread David Tran
Hi to everyone I use MSVC 2010 to compile my stuff: ogr2ogr.cpp needed some headers, therefore I put them in the right directory with the gdal 1.10.1 library (gdal_i.lib) from gisinternals.com/sdk. It just doesn't compile (about 165 errors). Can I use ogr2ogr.cpp in my own code somehow? che

Re: [gdal-dev] compiling without writing permission - problem gdal-1.10.1

2014-05-06 Thread Mike Toews
On 6 May 2014 21:01, Margherita Di Leo wrote: > I have a problem compiling gdal-1.10.1 on a Linux system for which I'm not > administrator. > In the configure I use the --prefix and --bindir options. Everything goes > smoothly and it confirms that "Libraries have been installed in:" the folder > t

[gdal-dev] compiling without writing permission - problem gdal-1.10.1

2014-05-06 Thread Margherita Di Leo
Dear all, I have a problem compiling gdal-1.10.1 on a Linux system for which I'm not administrator. In the configure I use the --prefix and --bindir options. Everything goes smoothly and it confirms that "Libraries have been installed in:" the folder that I selected (for which i have writing permi