Re: [gdal-dev] writing DWG/DXF

2010-03-17 Thread bartvde
Hi, I believe it also writes: http://svn.osgeo.org/gdal/trunk/gdal/ogr/ogrsf_frmts/dxf/drv_dxf.html "DXF files are written in AutoCAD 2000 format." Best regards, Bart > Bart, > > bart...@osgis.nl wrote: >> there is a new driver that does not have this dependency: >> http://fwarmerdam.blogspot.

Re: [gdal-dev] writing DWG/DXF

2010-03-17 Thread bartvde
Hi, there is a new driver that does not have this dependency: http://fwarmerdam.blogspot.com/2009/12/ogr-dxf-driver.html Best regards, Bart > Hi, > > I want to convert shape files into DWG or DXF. (And I do not have > ArcView, nor Windows, available.) > > I've been reading the lists and fou

Re: [gdal-dev] problem with ArcSDE raster (negative values)

2009-12-08 Thread bartvde
Hi Kor, I tried this change but with strange results. Also in Mapserver it seems that a GByte * is used for the buffer: LoadGDALImage( GDALRasterBandH hBand, int iColorIndex, layerObj *layer, int src_xoff, int src_yoff, int src_xsize, int src_ysize, GB

Re: [gdal-dev] problem with ArcSDE raster (negative values)

2009-12-08 Thread bartvde
Hi Ivan, unfortunately that's not an option yet, since we use ArcSDE 9.1 which is not compatible with GeoRaster. We need to wait until our 9.3.1 or 9.4 upgrade. Best regards, Bart > bart...@osgis.nl wrote: >> Hi list, >> >> I've been trying to debug my problem which I originally posted on >> map

Re: [gdal-dev] problem with ArcSDE raster (negative values)

2009-12-08 Thread bartvde
Sorry I meant Kor ofcourse :-) Btw, the GByte *p = reinterpret_cast(pImage); line was a paste error from my debugging, it's also not in 1.6.1 which I am using. Best regards, Bart > Hi Cor, > > in ArcMap I see negative values, in GDAL all values seem to have a shift > of 256, so -21 becomes 235.

Re: [gdal-dev] problem with ArcSDE raster (negative values)

2009-12-08 Thread bartvde
Hi Cor, in ArcMap I see negative values, in GDAL all values seem to have a shift of 256, so -21 becomes 235. Nodata values are also off with 256, so -256 in ArcMap becomes 0 in GDAL. Best regards, Bart > Hi Bart, > > On Tuesday 08 December 2009 10:45:25 bart...@osgis.nl wrote: >> I've debugged t

[gdal-dev] problem with ArcSDE raster (negative values)

2009-12-08 Thread bartvde
Hi list, I've been trying to debug my problem which I originally posted on mapserver-users here: http://lists.osgeo.org/pipermail/mapserver-users/2009-November/063706.html I've debugged the problem to the following part of frmts/sde/sderasterband.cpp: if (bits_per_pixel >= 8) { memc

[gdal-dev] Re: ArcSDE raster cell size issue

2009-10-30 Thread bartvde
After a bit of debugging I found out this is related to ticket:2063, the changeset from that ticket is causing my grid cell size problems. http://trac.osgeo.org/gdal/ticket/2063#comment:4 Best regards, Bart > Hi list, > > I am trying to access an ArcSDE raster through GDAL, and gdalinfo gives me

[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] slow raster (large GDALRasterAttributeTable?)

2009-08-24 Thread bartvde
Hi list, I've got a tiff file of 28 Mb and it is really slow, so I am assuming the classification gets applied on the fly or something like that. If I do a gdalinfo I get a huge list of STATISTICS_HISTOBINVALUES Metadata: STATISTICS_MINIMUM=-5838 STATISTICS_MAXIMUM=4225 STATISTICS_

[gdal-dev] Re: CSV filesize and OVF

2009-08-07 Thread bartvde
FYI, this is fixed after upgrading to GDAL 1.6.1. Best regards, Bart > Hi list, > > I've got a CSV file with about 50.000 lines. > > Running ogrinfo on it directly goes smoothly, but if I access it using an > ovf file it won't work. > > It will work if I split up the large file in 2 files. > > Is

Re: [gdal-dev] Re: SDE connection string problem with 1.6.1?

2009-08-07 Thread bartvde
Okay, at least there is a workaround for this issue, by opening the dataset in read-only mode and specifying the version (which causes the else loop not to be reached): [b...@hades nappub_svn]$ ogrinfo -ro SDE:geodatabase.ad.rws.nl,5151,PGPR,RWS_LEZEN,RWS_LEZEN,WEGEN.WEGEN_NWB_LIGHT,SDE.DEFAULT IN

[gdal-dev] Re: SDE connection string problem with 1.6.1?

2009-08-07 Thread bartvde
An update on this issue. This is a bug and is still present in 1.6.2 unfortunately. The problem is in ogrsdedatasource.cpp, where the else clause which lists all spatial tables was moved down, so it now corresponds to a different if clause. old code: if ( CSLCount( papszTokens ) == 6 && *pap

[gdal-dev] SDE connection string problem with 1.6.1?

2009-08-05 Thread bartvde
Hi list, it seems the layer part of an SDE connection string is not picked up anymore. We're using GDAL 1.6.1. Did anybody else experience this? E.g.: ogrinfo SDE:geodatabase.ad.rws.nl,5151,5151,RWS_LEZEN,,WEGEN.WEGEN_NWB_LIGHT lists all tables and not only the one specified. TIA. Best re

Re: [gdal-dev] oralce georaster support

2009-07-24 Thread bartvde
Hi, please read: http://gdal.org/frmt_georaster.html Best regards, Bart > hello. > > i have dumped few images using the georaster plugin build on gdal 1.6.1 > > pl let me know the syntax to extract the images from georaster > > presume gdal_translate has some functionality.. can anyone let me k

[gdal-dev] CSV filesize and OVF

2009-07-10 Thread bartvde
Hi list, I've got a CSV file with about 50.000 lines. Running ogrinfo on it directly goes smoothly, but if I access it using an ovf file it won't work. It will work if I split up the large file in 2 files. Is there a known limit I am running into? Best regards, Bart __