Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Peter Halls
Martin, when working with Oracle, it is always worth looking up an ORA message number at Oracle: you will find a full explanation and suggestions for resolution. For your error, look up http://ora-12154.ora-code.com/ In summary, the error means that the Oracle client is unable

Re: [gdal-dev] oci and oracle express 11

2014-04-09 Thread Jukka Rahkonen
Martin Landa gmail.com> writes: > > Hi all, > > I would like to set up connection between OGR and Oracle Express 11g, > I downloaded Oracle SQL Developer and set up the connection, when I > try to connect to the database using user/password it works. > > When using OGR I entered to command lin

Re: [gdal-dev] ogr2ogr ERROR 6: No translation

2014-04-09 Thread xavier lhomme
Hi You should specify the version of gdal you are using (and proj4 too). Sometimes ago I used NGA Geotrans to perform GeoId conversion. But recent version of proj4 are able to perform such conversion. Le 10 avr. 2014 06:11, "Andre Joost" a écrit : Am 10.04.2014 04:31, schrieb Jason Mathis: Hi

Re: [gdal-dev] ogr2ogr ERROR 6: No translation

2014-04-09 Thread Andre Joost
Am 10.04.2014 04:31, schrieb Jason Mathis: Hi All, On to the next problem:) I discovered today that I need to reproject the shape file before rasterizing it. I get the below error. Any ideas? Is it not possible? What extent does your shapefile have? Some projections are limited to the visib

[gdal-dev] ogr2ogr ERROR 6: No translation

2014-04-09 Thread Jason Mathis
Hi All, On to the next problem:) I discovered today that I need to reproject the shape file before rasterizing it. I get the below error.  Any ideas? Is it not possible?  Thanks! palos:noharm jmathis$ ogr2ogr -t_srs prj2.txt output.shp  source.shp ERROR 6: No translation for Albers to PROJ.4 f

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Smith, Michael ERDC-RDE-CRREL-NH
If /@xe works in sqlplus, you can use that in OGR. Its using the same libs to connect. Try ogrinfo -ro OCI:/@xe Mike On 4/9/14, 8:01 PM, "Martin Landa" wrote: >Hi, > >2014-04-10 1:40 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH >: >> Hmm, this one should have work >> >> ogrinfo -ro OCI:user/pass

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Martin Landa
Hi, 2014-04-10 1:40 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH : > Hmm, this one should have work > > ogrinfo -ro OCI:user/password@geo1:1521/xe -sql "select count(*) from emp" > > > You can use debug mode and see what might be going on. This is windows I > see so try > > SET CPL_DEBUG=ON > ogrinf

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Smith, Michael ERDC-RDE-CRREL-NH
Hmm, this one should have work ogrinfo -ro OCI:user/password@geo1:1521/xe -sql "select count(*) from emp" You can use debug mode and see what might be going on. This is windows I see so try SET CPL_DEBUG=ON ogrinfo -ro OCI:user/password@geo1:1521/xe -sql "select count(*) from emp" That might

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Martin Landa
2014-04-10 1:00 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH : > What does > > lsrnctl status > > Return? That will report back the status of the listener and the host, > port and sid info. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) STATUS of the LISTENER ---

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Smith, Michael ERDC-RDE-CRREL-NH
What does lsrnctl status Return? That will report back the status of the listener and the host, port and sid info. Mike On 4/9/14, 6:47 PM, "Martin Landa" wrote: >Hi Micheal, > >2014-04-10 0:39 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH >: > >[...] > >thanks for super-quick answer... > >> So

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Martin Landa
Hi Micheal, 2014-04-10 0:39 GMT+02:00 Smith, Michael ERDC-RDE-CRREL-NH : [...] thanks for super-quick answer... > So try ogrinfo -ro OCI:user/password@localhost/xe -sql "select count(*) > from emp" ogrinfo -ro OCI:user/password@localhost/xe -sql "select count(*) from emp" ERROR 1: ORA-12154:

Re: [gdal-dev] [EXTERNAL] oci and oracle express 11

2014-04-09 Thread Smith, Michael ERDC-RDE-CRREL-NH
Martin, You need a bit more info in the connection ogrinfo -ro OCI:user/password@hostname/sid -sql "select count(*) from emp" Where hostname is the server name (or something like localhost) and sid is the oracle instance name. if this is XE, then the sid is xe So try ogrinfo -ro OCI:user/pass

[gdal-dev] oci and oracle express 11

2014-04-09 Thread Martin Landa
Hi all, I would like to set up connection between OGR and Oracle Express 11g, I downloaded Oracle SQL Developer and set up the connection, when I try to connect to the database using user/password it works. When using OGR I entered to command line ogrinfo -ro OCI:user/password -sql "select count

Re: [gdal-dev] Vagrant developement environment

2014-04-09 Thread Ari Jolma
On 04/09/2014 08:09 PM, Even Rouault wrote: Le mercredi 09 avril 2014 19:01:55, Ari Jolma a écrit : On 04/09/2014 05:49 PM, Even Rouault wrote: Le mardi 08 avril 2014 06:49:36, Ivan Lucena a écrit : Hi Howard, I started it all over and I got it to work. When I logged with "vagrant ssh" this

Re: [gdal-dev] Vagrant developement environment

2014-04-09 Thread Even Rouault
Le mercredi 09 avril 2014 19:01:55, Ari Jolma a écrit : > On 04/09/2014 05:49 PM, Even Rouault wrote: > > Le mardi 08 avril 2014 06:49:36, Ivan Lucena a écrit : > >> Hi Howard, > >> > >> I started it all over and I got it to work. > >> > >> When I logged with "vagrant ssh" this time the gdal fold

Re: [gdal-dev] Vagrant developement environment

2014-04-09 Thread Ari Jolma
On 04/09/2014 05:49 PM, Even Rouault wrote: Le mardi 08 avril 2014 06:49:36, Ivan Lucena a écrit : Hi Howard, I started it all over and I got it to work. When I logged with "vagrant ssh" this time the gdal folder was there but not installed yet. And I didn't have development tools build GDAL,

Re: [gdal-dev] gdal_rasterize

2014-04-09 Thread Jason Mathis
All right I think I fixed it.  I created a centos vm and installed gdal from yum and everything worked fine. Which made me very suspect of my box:(  I have been using an older version of the postgres.app that comes with postgis and apparently some gdal binaries. I realized when I did a “which

Re: [gdal-dev] Vagrant developement environment

2014-04-09 Thread Even Rouault
Le mardi 08 avril 2014 06:49:36, Ivan Lucena a écrit : > Hi Howard, > > I started it all over and I got it to work. > > When I logged with "vagrant ssh" this time the gdal folder was there but > not installed yet. > > And I didn't have development tools build GDAL, so I run "sudo sh > posinstall

Re: [gdal-dev] gdal_rasterize

2014-04-09 Thread Jason Mathis
That maybe difficult, not sure I can share the shapefile I am using. Although I could try and find a sample and reproduce the error; if I can.  Are you thinking this could be data related?  I will respond when i can reproduce.  Thanks!  On April 8, 2014 at 11:08:20 PM, Chaitanya kumar CH (cha

Re: [gdal-dev] Strange reset OGR_INTERLEAVED_READING when using Python bindings to read OSM PBF file

2014-04-09 Thread Even Rouault
Le mercredi 09 avril 2014 10:21:30, Dražen Odobašić a écrit : > On 07.04.2014 22:44, Even Rouault wrote: > > Hi Dražen, > > > > I've just tested your pbf file and it showed a limitation of the driver > > caused by the huge PBF blocks produced by osmconvert, that I've fixed > > with http://trac.osg

Re: [gdal-dev] Strange reset OGR_INTERLEAVED_READING when using Python bindings to read OSM PBF file

2014-04-09 Thread Dražen Odobašić
On 07.04.2014 22:44, Even Rouault wrote: > > Hi Dražen, > > I've just tested your pbf file and it showed a limitation of the driver > caused > by the huge PBF blocks produced by osmconvert, that I've fixed with > http://trac.osgeo.org/gdal/changeset/27138 . > But in my testing, the issue appea

Re: [gdal-dev] Import .GDB into MSSQL Server database

2014-04-09 Thread Jan Heckman
Hey Kyle, I had missed it can now read earlier gdb! Great! Thanks for the head(s)-up!! Jan On Wed, Apr 9, 2014 at 12:52 AM, Kyle Shannon wrote: > On Tue, Apr 8, 2014 at 4:47 PM, Jan Heckman wrote: > > Depends on the geodatabase version. > > If (AG) 10, there is a ogr driver for it, so you woul