[gdal-dev] Re: ogr2ogr OCI: problem loading shapes

2010-07-23 Thread Jukka Rahkonen
Sebastian E. Ovide gmail.com> writes: > > ORA-13034: Invalid data in the SDO_ORDINATE_ARRAY in SDO_GEOMETRY objectORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10 >  in CREATE INDEX "OSI_15101" ON FLUVIALUD04Q75OUTLINE("ORA_GEOMETRY") INDEXTYPE IS MDSYS.SPATIAL_INDEXreal    1m25.698suser   

Re: [gdal-dev] crop a raster file (.bsp/.kap) to create an image file (.png)

2010-07-23 Thread Frank Warmerdam
jmsbc wrote: Hello, I have a set of raster files (.bsb and .kap) that I need to crop based on a set of coordinates (top left x,y and bottom right x,y) in order to obtain a .png file. I've gone through the GDAL API tutorial, and it seems like I should be using CreateCopy to derive the destinati

Re: [gdal-dev] Yll corner wrong when i am reading ASCII file using

2010-07-23 Thread Frank Warmerdam
mail2vajram wrote: Here i am using C# library for GDal, when i reading the YllCorner value using GeoTranform method i got that Yll corner value wrong. Eg: yllcorner 1648000 ..>original yllcorner 1747000 ...>Gdal Why, this much difference i got.. mail2vajram, You

[gdal-dev] Append a shapefile to a postgis table using the GDAL/OGR CSharp interface

2010-07-23 Thread Esben Taudorf
Hi everybody I just started using the GDAL/OGR CSharp interface in Visual Studio and it works great. I am trying to append a shapefile to a postgis table. This I can do with the following lines in ogr2ogr: Fist import the shapefile to postgis a table ogr2ogr -f "PostgreSQL" PG:"dbname='p

Re: [gdal-dev] Optimizing access to shapefiles

2010-07-23 Thread Yevgen Antymyrov
On 07/23/2010 02:31 PM, Martin Dobias wrote: This is exactly my intent. Vector data providers in QGIS always receive a list of fields that are needed, however until now OGR data provider couldn't make use of it, because currently there's no way in OGR to limit what fields should be fetched. Knowi

Re: [gdal-dev] Optimizing access to shapefiles

2010-07-23 Thread Martin Dobias
On Fri, Jul 23, 2010 at 12:47 PM, Yevgen Antymyrov wrote: > On 07/19/2010 02:08 PM, Martin Dobias wrote: >> >> Hi, >> >> in order to speed up rendering in QGIS as a part of my GSoC project, >> I've took some time to profile reading of shapefiles in OGR. From the >> results I'd like to suggest some

[gdal-dev] gdal_translate: PLS-00201: identifier must be declared

2010-07-23 Thread Sebastian E. Ovide
Hi All, gdal_translate works with SDO_GEOR.INIT() but it doesn't with SDO_GEOR.INIT("RDT_MY_TABLE")... any ideas ? -- Sebastian E. Ovide ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Optimizing access to shapefiles

2010-07-23 Thread Yevgen Antymyrov
On 07/19/2010 02:08 PM, Martin Dobias wrote: Hi, in order to speed up rendering in QGIS as a part of my GSoC project, I've took some time to profile reading of shapefiles in OGR. From the results I'd like to suggest some changes that significantly contribute to the speed of data retrieval. On a

[gdal-dev] Yll corner wrong when i am reading ASCII file using

2010-07-23 Thread mail2vajram
Here i am using C# library for GDal, when i reading the YllCorner value using GeoTranform method i got that Yll corner value wrong. Eg: yllcorner 1648000 ..>original yllcorner 1747000 ...>Gdal Why, this much difference i got.. -- View this message in context: ht

Re: [gdal-dev] gdal_rasterize: ERROR 4: `test.tif' not recognised as a supported file format.

2010-07-23 Thread Sebastian E. Ovide
I got it.. In the mean time that we wait for Gdal 1.8 being stable, are you aware about any tool (open source) that can create an empty (white) raster with georeferences to be use with gdal_rasterize (gdal17) ? On Thu, Jul 22, 2010 at 5:07 PM, Jean-Claude REPETTO wrote: > Le 22/07/2010 17:18, Se

Re: [gdal-dev] ogr2ogr OCI: problem loading shapes

2010-07-23 Thread Sebastian E. Ovide
I've tried it again on a different server, this time with Oracle 10g... I'm getting the same error... note: using the same server I'm not getting any error using shp2sdo ( http://www.oracle.com/technology/software/products/spatial/files/shp2sdo_readme.html ) On Thu, Jul 22, 2010 at 3:36 PM, Sebas