Hi Alexandre,
Yes, that is an interesting idea. You can actually read the CSV files as OGR
data source:
% ogrinfo gcs.csv -al | more
INFO: Open of `gcs.csv'
using driver `CSV' successful.
Layer name: gcs
Geometry: None
Feature Count: 438
Layer SRS WKT:
(unknown)
COORD_REF_SYS_CODE: Strin
Tom,
yes you need to call ReleaseResultSet after every ExecuteSQL, otherwise
you'll have memory leaks
Ideally you should have been able to call GetFID() after CreateFeature(), but
this is currently not implemented in the postgresql driver.
I have a patch to solve the issue, but it raises some
Brent,
Finally got back to this today. I upgraded my GDAL to version 1.7.1. The
only thing I notice that is different is that I get:
OGR: OGRGeometryFactory::createFromWkb() - got corrupt data.
That gave me a hint. I added a WKT column to the MS SQL Server table and
calculated it to the STAsTex
The OGR CSV support is a supported driver and I think it will work better
than the built-in GDAL support (but perhaps it the same think).
Alexandre
On Tue, Sep 7, 2010 at 8:58 PM, Ivan Lucena wrote:
> > On Sep 7, 2010, at 8:59 AM, Anders Moe wrote:
> >
> > >
> > > Hi everyone
> > >
> > > C
On 08-09-2010 16:38, Carmelo Terrasi wrote:
Yes, you're right, if I need a portion I have to use that utility.
Thank you so much Hermann,
regards,
Carmelo
Not so simple.
The problem will be that your bmp image is not referenced but the DEM
is, so you'll need to find the correspondence between
Yes, you're right, if I need a portion I have to use that utility.
Thank you so much Hermann,
regards,
Carmelo
2010/9/8 Hermann Peifer
> On 08/09/2010 15:26, Carmelo Terrasi wrote:
>
>> Hello everybody,
>>
>> does anybody know how to cut a smaller dem file from another one???
>> I have my origin
In reply to my own question, I've created something that works:
Layer tempLayer = ds2.ExecuteSQL("SELECT
currval(pg_get_serial_sequence('wells', 'well_id')) as seqval;", null,
null);
Feature seqFeat = tempLayer.GetNextFeature(); //always only 1 row in
the resultset, so no *while*
tempFID = seqF
Hi
All,
I'm adding several new features to a PostGIS table using OGR (in
C#). After each CreateFeature I'd like to somehow get the FID of the
created feature. Is there any possible way to do this? If not elegant,
any hack is also welcome :D
Cheers,
Tom
_
On 08/09/2010 15:26, Carmelo Terrasi wrote:
Hello everybody,
does anybody know how to cut a smaller dem file from another one???
I have my original file /terrain.dem /but my /image.bmp/ is smaller so I
would cut a portion just to create another suitable dem file for my
/image.bmp/
Is it possible
Hello everybody,
does anybody know how to cut a smaller dem file from another one???
I have my original file *terrain.dem *but my *image.bmp* is smaller so I
would cut a portion just to create another suitable dem file for my *
image.bmp*
Is it possible to do it or am I off-board?
Thanks in advan
10 matches
Mail list logo