Re: [gdal-dev] first time gdal-java exception

2010-06-29 Thread ahmet temiz
thank you No, I didn't know I had to do that. I looked up the example you gave me. it contains destroying of drivermanager as gdal.DestroyDriverManager(); but not explicit initializer. Does "Driver driver = gdal.GetDriverByName(outputFormat);" make initialization ? regards 2010/6/29 Ivan Lucen

RE: [gdal-dev] GDAL with OGDI

2010-06-29 Thread Malm Paul
I looked at table soundp in postgres, created with FWTOOLS which works, and all hdh, numeric(15,6), values are 1.00. Could it be that the all values are nan in the original data, and were previously changed in OGDI to 1.? By the way, can I ommit the hdh column with ogr2ogr when importing

[gdal-dev] Re: ESRI file geodatabase support

2010-06-29 Thread nicholas . g . lawrence
>Well, if SpatiaLite offers some "proper" benefits and disseminates through all of the FOSS world, then it may get a >strong enough push even for ESRI to pick it up. It happened before... (kml?) > >If SL would: > >1)      Be as fast as shapefile in production settings, desktop and webgis > >2)    

Re: [gdal-dev] GDAL with OGDI

2010-06-29 Thread Frank Warmerdam
On Wed, Jun 30, 2010 at 8:00 AM, Chaitanya kumar CH wrote: > Paul, > > > I think that the problem is with the SQL command built by the PostgreSQL > driver. > In the INSERT command a numeric field with the value NaN should be mentioned > in quotes. Chaitanya, It might be prudent for the postgres

Re: [gdal-dev] GDAL with OGDI

2010-06-29 Thread Chaitanya kumar CH
Paul, I think that the problem is with the SQL command built by the PostgreSQL driver. In the INSERT command a numeric field with the value NaN should be mentioned in quotes. Please file a ticket at http://trac.osgeo.org/gdal/newticket Mention the output for the command ogrinfo -al -so gltp:/vrf

[gdal-dev] GDAL with OGDI

2010-06-29 Thread Malm Paul
Hi, I have: - downloaded GDAL v 1.7.2 - installed postgresql-devel (8.3.8) - downloaded and compiled/installed proj-4.7.0 - downloaded ogdi-3.1.5 and later on ogdi-3.2.0-beta - configured ogdi to use proj-4.7.0 - compiled and installed ogdi - configured GDAL: --with-ogdi=/usr/local --with-pg=/us

[gdal-dev] WMS driver and untrusted sertificate

2010-06-29 Thread Jukka Rahkonen
I was experimenting with gdal_translate and WMS driver (http://gdal.org/frmt_wms.html). I was running FWTools2.4.7 on Windows Vista and I could make it to read my own WMS from localhost. Next I went on and had a try with our production server that must be accessed through https and basic authe

Re: [gdal-dev] Re: The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception. when gdal.Allregister() calls

2010-06-29 Thread Tamas Szekeres
This message justifies my previous statement about one or more missing dlls during the execution. Make sure all of the dependencies available in the directory of the executable or in the PATH environment. Use the dependency walker to examine the dll dependencies,

Re: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Ivan Lucena
Christian, How did you added support for Oracle GeoRaster on GeoTools/GeoServer? Did you use the Oracle GeoRaster Java API or GDAL? Is that available? I am looking forward to use it. Regards, Ivan > ---Original Message--- > From: christian.muel...@nvoe.at > To: Pierre Racine > C

Re: [gdal-dev] first time gdal-java exception

2010-06-29 Thread Ivan Lucena
Hi there. Did you initialize the driver manager? Example: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/GDALGrid.java#L521 Regards, Ivan > ---Original Message--- > From: ahmet temiz > To: gdal-dev > Subject: [gdal-dev] first time gdal-java exception > Sent: Jun

[gdal-dev] first time gdal-java exception

2010-06-29 Thread ahmet temiz
hello when I tried gdal-java in first time, I got this exception: "Exception in thread "main" java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.wkb25Bit_get()I" here is the code fragment that gives the exception: Geometry lr1 = new Geometry(ogr.wkbLinearRing, null, null, null);

RE: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Pierre Racine
>> wktraster makes it quite simple to achieve this. Is there any database >> layout you recommend. (A table for the image and one for each pyramid, or >> put all the tiles into one table having an attribute "level",.). >> > >I'd recommend one table for each separate tiled image. That's, in >fac

Re: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Jorge Arévalo
Hello, On Tue, Jun 29, 2010 at 6:46 PM, wrote: > Hi, superb job. Congratulations. > > I am a geotools/geoserver developer and one of my jobs is fetching image > tiles  or the corresponding pyramid tiles from jdbc data sources. Some weeks > ago, I added support for Oracle Georaster and I want to

Re: [gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread christian . mueller
Hi, superb job. Congratulations. I am a geotools/geoserver developer and one of my jobs is fetching image tiles or the corresponding pyramid tiles from jdbc data sources. Some weeks ago, I added support for Oracle Georaster and I want to support WKT Georaster too. wktraster makes it quit

Re: [gdal-dev] gdal_merge.py alpha mask

2010-06-29 Thread Chaitanya kumar CH
Stefan, I haven't tested the script but doesn't the current code copy the alpha band? If it does, it might be more preferable to copy all the pixels and the alpha band. Please create a ticket at http://trac.osgeo.org/gdal/newticket and attach your patch. On Tue, Jun 29, 2010 at 8:19 PM, Stefan K

Re: [gdal-dev] GDAL WMS Driver - Image Size

2010-06-29 Thread Adam Nowacki
default block size is 1024x1024 so the 2000x2000 image is split into 4 requests: 1024x1024, 976x1024, 1024x976 and 976x976 Travis Kirstine wrote: I am doing some testing of the WMS driver with gdal and have a question. If I define the and parameters as 2000px I would expect that the WMS requ

Re: [gdal-dev] csharp dll hell

2010-06-29 Thread Axline, John
How about a .net 3.5 dependency? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Raster/vector intersections in PostGIS WKT Raster

2010-06-29 Thread Pierre Racine
Hi everybody, I'm pleased to announce that you can now do intersections between rasters and geometries very much like you used to do geometry/geometry intersections in PostGIS. For this, PostGIS WKT Raster introduces two new functions to PostGIS: ST_Intersects(geometry, raster, band) and ST_Int

Re: [gdal-dev] GDAL WMS Driver - Image Size

2010-06-29 Thread EduRam
Hi! Could you elaborate how are you doing the test!!! Edu -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-dev-GDAL-WMS-Driver-Image-Size-tp5231808p5235324.html Sent from the GDAL - Dev mailing list archive at Nabble.com. __

[gdal-dev] gdal_merge.py alpha mask

2010-06-29 Thread Stefan Klug
Hi, gdal_merge.py doesn't handle tiff files with alpha masks so I've added this functionality. My patch changes the behaviour of gdal_merge as follows: - If a band is recognized as Alpha Band it is automatically treated as having a NODATA value of 0. I'm not sure if this is the way to go. But

Re: [gdal-dev] OpenDWG, Open Design Alliance

2010-06-29 Thread Frank Warmerdam
On Tue, Jun 29, 2010 at 1:56 PM, Andreas Neumann wrote: > Hi Frank, > > Thanks for the info - do you have a pointer to this OS DWG effort? Andreas, http://www.gnu.org/software/libredwg/ I have been watching the effort, but not very closely. Best regards, -- ---

RE: [gdal-dev] Retrieving pixel corners through Python-gdal

2010-06-29 Thread Kralidis,Tom [Ontario]
> -Original Message- > From: gdal-dev-boun...@lists.osgeo.org > [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Monica Buescu > Sent: Tuesday, 29 June 2010 09:49 > To: gdal-dev@lists.osgeo.org > Subject: [gdal-dev] Retrieving pixel corners through Python-gdal > > Greetings > >

[gdal-dev] ogr2ogr OS CartographicText conversion problem

2010-06-29 Thread Jez Walters
Not quite sure if I've got the right forum here, but I'm having trouble converting Ordnance Survey GML into ESRI shapefiles using ogr2ogr (GDAL 1.7.2). The orientation field is getting ignored when I convert the CartographicText layer, although this field gets successfully translated for the C

[gdal-dev] Retrieving pixel corners through Python-gdal

2010-06-29 Thread Monica Buescu
Greetings I'm a kind of newbie in GDAL specially in Python-GDAL. I'm doing a script to do some minor image processing but I need to retrieve, in a Python Scrpt, coorners coordinates (top-left; bottom-right). Is there any way to retrieve this using gdalpython? Thanks Monica __

Re: [gdal-dev] OpenDWG, Open Design Alliance

2010-06-29 Thread Andreas Neumann
Hi Frank, Thanks for the info - do you have a pointer to this OS DWG effort? Andreas On Tue, June 29, 2010 12:29 pm, Frank Warmerdam wrote: > On Tue, Jun 29, 2010 at 12:23 PM, Andreas Neumann > wrote: >> Hi, >> >> >From time to time it would be nice if I could read DWG files from >> OS-GIS. >>

Re: [gdal-dev] OpenDWG, Open Design Alliance

2010-06-29 Thread Frank Warmerdam
On Tue, Jun 29, 2010 at 12:23 PM, Andreas Neumann wrote: > Hi, > > >From time to time it would be nice if I could read DWG files from OS-GIS. > > OGR has the option to read DWG through the Open Design Alliance DWGdirect > library - which is only available for registered users. > > For inhouse use

[gdal-dev] OpenDWG, Open Design Alliance

2010-06-29 Thread Andreas Neumann
Hi, >From time to time it would be nice if I could read DWG files from OS-GIS. OGR has the option to read DWG through the Open Design Alliance DWGdirect library - which is only available for registered users. For inhouse use it would be affordable for me to become a ODA member. Before I would t

Re: [gdal-dev] Using Python-GDAL to retrieve Projection information

2010-06-29 Thread Frank Warmerdam
Kim, You can use GetProjection() to fetch the coordinate system: dataset = gdal.Open( input ) projection = dataset.GetProjection() The returned value is a string containing the WKT description of the coordinate system. Best regards, On Tue, Jun 29, 2010 at 11:41 AM, Kim Besson wrote: > Gree

[gdal-dev] Using Python-GDAL to retrieve Projection information

2010-06-29 Thread Kim Besson
Greetings I have been using Python GDAL to retrieve image size (XSize YSize) but now I need to retrieve Projection information in order to use in GDALWARP. Has anyone has an practical-example on how to use it? THanks Best regards, Kim ___ gdal-dev maili

Re: [gdal-dev] csharp dll hell

2010-06-29 Thread Tamas Szekeres
How about using the packages from http://vbkto.dyndns.org/sdk/? The C# bindings are generated with swigwin 1.3.39. Best regards, Tamas 2010/6/29 Neema Rezaee > We have a legacy app that is using the csharp binaries. I tried to build > the csharp bins using the visual studio 2008 command pro