Re: [gdal-dev] to get length of LINESTRING

2010-08-12 Thread Even Rouault
http://gdal.org/java/org/gdal/ogr/Geometry.html#Length() But only available in the developement version. Otherwise you have to compute it by yourself by examining the vertex coordinates Le jeudi 12 août 2010 20:25:34, ahmet temiz a écrit : > hello > > which function should I use to get length

[gdal-dev] to get length of LINESTRING

2010-08-12 Thread ahmet temiz
hello which function should I use to get length of LINESTRING in gdal-java ? regards ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] .hgt

2010-08-12 Thread Chaitanya kumar CH
weixj2003ld, The SRTMHGT driver in GDAL should be able to open that file. http://www.gdal.org/frmt_various.html#SRTMHGT 2010/8/12 甘肃。思远 > I got a .hgt file,and do not know what is the format of it,and GDAL can > read it? > Thk u . > > > -- > 网易邮箱,没有垃圾邮件的邮箱。

[gdal-dev] .hgt

2010-08-12 Thread 甘肃。思远
I got a .hgt file,and do not know what is the format of it,and GDAL can read it? Thk u .___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] gdal.ReprojectImage error with gdal 1.7.1

2010-08-12 Thread Even Rouault
Matthieu, I'm not sure 100% whether this is the cause of the error you get (in my memory, the test suite passed correctly for any recently released version), but I'd suggest you upgrading to 1.7.2 that fixes http://trac.osgeo.org/gdal/ticket/3458, which was a serious regression present in 1.7.0 an

[gdal-dev] gdal.ReprojectImage error with gdal 1.7.1

2010-08-12 Thread Matthieu Rigal
Hi guys, I just upgraded my gdal version to 1.7.1 and I had a bad surprise figuring some of my scripts were not working anymore and I could quickly figure out where it came from : gdal.ReprojectImage is not working as it should... I downloaded the reproject.py script from the autotest to see wh

Re: [gdal-dev] ArcGIS 10

2010-08-12 Thread Ivan Lucena
Hannes, I just did it! Ingredients: - ArcGIS 10 - Visual Studio.NET 2003 - SWIG (swigwin-1.3.31) (or newer, maybe) - GDAL source code (doesn't need to be the same version that Arc uses) How to prepare: - Build GDAL (see gdal.org) - Set the variables SWIG and PYDIR on nmake.opt - Set the path

[gdal-dev] CreateCopy/BuildOverviews produce strange colors

2010-08-12 Thread Helge Morkemo
Hi experts! I'm trying to make a (lower quality) copy of a GeoTIFF file, and add overviews to that copy. It seems to work fine, BUT the resulting file has the colors messed up! With JPEG_QUALITY=30, the colors seem to be "faded". With JPEG_QUALITY=90, they're more "intense" than the original. GDAL

Re: [gdal-dev] unable to append data to orale spatial

2010-08-12 Thread Imran Rajjad
Hi, the orignal table is 2 dimensioned, but the features I`m appending hav 3d, though I thought the -lco DIM=2 option would take care of that, well it seems for now I have to convert 3d to 2d in Oracle 11g using the method defined at http://forums.oracle.com/forums/thread.jspa?messageID=960492󪟬 ..

Re: [gdal-dev] unable to append data to orale spatial

2010-08-12 Thread Peter J Halls
Imran, is the initial table two or three dimensioned? Most of the shapefiles I've looked at have been generated by some ESRI product or other ... In my experience, shapefiles are usually x-y-z-m, so three dimensional geometry is a sensible default. It might be worth checking the OGR

Re: [gdal-dev] unable to append data to orale spatial

2010-08-12 Thread Imran Rajjad
hi, I have appended the data but the -lco DIM=2 option does not seem to make any effect, when I`m dumping records into my table, some of them have sdo_gtype set to 3001 which is suppose to be 2001 and also an extra Z cordinate is also appearing but I`m sure I have mentioned the dimension, could th