Re: [gdal-dev] unable to write a shapefile using ogr

2014-09-11 Thread Beau Taylor
I tried to insert the 'feature name', but could not. Can some one correct it? field_defn = ogr.FieldDefn("Name", ogr.OFTString) field_defn.SetWidth(32) feature.SetField("Name", name) On Thu, Sep 11, 2014 at 6:33 AM, Jukka Rahkonen wrote: > Kyle Shannon pobox.com> writes: > > > > > Style is u

Re: [gdal-dev] gdal-dev Digest, Vol 124, Issue 17

2014-09-11 Thread Love
Hi, The gdalinfo in my post is the gdalinfo of the subdataset 37. I have also tried gdal_translate but when I tried to use gdalwarp using the gdal_translate output, it has error. I really need to use gdalwarp so that I could project the image into epsg:4326(+prj=longlat). If I'm going to use the g

Re: [gdal-dev] Extract subdataset from netCDF in a given directory

2014-09-11 Thread Andre Joost
Am 10.09.2014 20:02, schrieb VictoriaH: Hello, I am using gdal_translate to extract a subdataset from a netCDF file to a geotiff. If I run the command from the same directory where the netCDF file is located, there is no problem: Filename: PM25_2001_02_average.nc Ex. gdal_translate -of GTiff HD

Re: [gdal-dev] ERROR 1: Too many points (440 out of 441) failed to transform, unable to compute output bounds.

2014-09-11 Thread Andre Joost
Am 11.09.2014 10:45, schrieb Love: I know I'm not the first to post this topic and encountered this problem. But I've search and read some posts related to this and tried their solutions but no luck. I really can't figure out what is causing this problem. How am I going to solve it? Badly need he

Re: [gdal-dev] Extract subdataset from netCDF in a given directory

2014-09-11 Thread Andre Joost
Am 10.09.2014 20:02, schrieb VictoriaH: Hello, I am using gdal_translate to extract a subdataset from a netCDF file to a geotiff. If I run the command from the same directory where the netCDF file is located, there is no problem: Filename: PM25_2001_02_average.nc Ex. gdal_translate -of GTiff HD

Re: [gdal-dev] S57 and area reconstruction

2014-09-11 Thread Antti Castrén
Hello Frits, It is possible to (re)merge the objects across cell boundaries if they share common Feature Object IDentifier (FOID), which is a combination of AGEN, FIND and FINS subfields. Some ECDISes can hide the boundary depending on masking. Usage of FOIDs vary, so it might be possible for your

[gdal-dev] ERROR 1: Too many points (440 out of 441) failed to transform, unable to compute output bounds.

2014-09-11 Thread Love
I know I'm not the first to post this topic and encountered this problem. But I've search and read some posts related to this and tried their solutions but no luck. I really can't figure out what is causing this problem. How am I going to solve it? Badly need help! I have tried gdalwarp -wo SOURCE