Re: [gdal-dev] Problem with adding Attributes to a point shapefile

2009-10-29 Thread Even Rouault
Selon "Henneke, Amanda M" : Amanda, The fundamental reason is a call ordering problem. You currently do : FeatureDefn feadefPt = lyrPt.GetLayerDefn(); Feature feaPt = new Feature(feadefPt); lyrPt.CreateField(flddefLandUse, 0); which is wrong as you change the feature definition after having ins

[gdal-dev] Problem with adding Attributes to a point shapefile

2009-10-29 Thread Henneke, Amanda M
Hello- I'm trying to create a point shapefile of all the first points in the polygons (from a poly shapefile) as shown below. I also want to assign some attributes to the different point features. I am having some issues doing this. I get an error on the "feaPt.SetField("LAND_USE", sLandUse)

[gdal-dev] ArcSDE raster cell size issue

2009-10-29 Thread bartvde
Hi list, I am trying to access an ArcSDE raster through GDAL, and gdalinfo gives me the following info: gdalinfo SDE:geodatabase.ad.rws.nl,port:5151,5151,RWS_LEZEN,,HOOGTE.AHN2_5 Driver: SDE/ESRI ArcSDE Files: none associated Size is 41151, 48412 Coordinate System is: PROJCS["RD_New", GEO

[gdal-dev] Re: Question about gdal2tiles

2009-10-29 Thread Jukka Rahkonen
Jorge Arévalo gmail.com> writes: > > Hello, > > I've a problem with gdal2tiles. I need to create tiles from an image > of 5 GB, more or less. The image has been created rasterizing a > shapefile. The shapefile's original projection was epsg:23028, but I > had to reproject it to epsg:23030 (beca