[gdal-dev] error compiling gdal 1.6.3 in rhel 5 64bits

2010-11-18 Thread javiricca
Hello, I'll trying to compile gdal in rhel 5 64 bits and I've getting some errors. gdal_wrap.cpp:1067: error: ‘zend_property_reference’ no se declaró en este ámbito gdal_wrap.cpp:1067: error: ‘property_reference’ no se declaró en este ámbito gdal_wrap.cpp:1067: error: expected primary-expression

Re: [gdal-dev] what does "Ring Self-intersection at or near point" really mean ?

2010-11-18 Thread Anders Moe
Hi again. I was pointed to the OpenJUMP -> Tools -> QA -> Validate Selected layer in order to perform a QA test on the file in question , namely "fields" from (Oil Fields in the North Sea) http://www.npd.no/engelsk/cwi/pbl/en/factmap/download/shapes_welcome.htm

[gdal-dev] Re: Motion: Adopt RFC 32: gdallocationinfo utility

2010-11-18 Thread Pablo d'Angelo
Hi all, A usefuly enhancement for the gdallocationinfo tool would IMHO be the possibility to supply the x y coordinates via standard in, instead on the command line. This is very convinient for using it in pipes. Example: coords.txt contains: 1 2 3 4 2 4 cat coords.txt | gdallocationinfo -v

Re: [gdal-dev] error compiling gdal 1.6.3 in rhel 5 64bits

2010-11-18 Thread Chaitanya kumar CH
javiricca, Check if you have 'php5-dev' package installed. I too got similar (but not same) errors when it was not installed. While you are doing that also check for 'php-config' package. On Thu, Nov 18, 2010 at 1:55 PM, javiricca wrote: > > Hello, > > I'll trying to compile gdal in rhel 5 64 b

Re: [gdal-dev] error compiling gdal 1.6.3 in rhel 5 64bits

2010-11-18 Thread Chaitanya kumar CH
javiricca, Also, can you tell the command arguments you used for the configure script. On Thu, Nov 18, 2010 at 6:28 PM, Chaitanya kumar CH wrote: > javiricca, > > Check if you have 'php5-dev' package installed. > I too got similar (but not same) errors when it was not installed. While > you are

[gdal-dev] Re: error compiling gdal 1.6.3 in rhel 5 64bits

2010-11-18 Thread javiricca
Hello Chaitanya, I use this arguments: ./configure --without-ecw --with-png=internal --with-oci=yes \ --with-jpeg=internal --with-gif=internal --with-libz=internal --with-libtiff=internal \ --with-geotiff=internal --with-perl --with-php --with-python This configuration works in Centos 5.5 wit

[gdal-dev] OGR - GetLength in Python

2010-11-18 Thread Ludovic Granjon
Hi all I try to calculate the length of a linestring in python. But is there a way in python with ogr to calculate this. I see there's a GetLength() in the OGRLineString Class Reference http://www.gdal.org/ogr/classOGRLineString.html#7b3dc3abefd16aea17ac9fcc0ccd0010 , but I don't see if there

[gdal-dev] GeoPDF and neatline. Not correct when neatline is smaller than PDF page.

2010-11-18 Thread Robert Zermeno
Even and GDAL community, Sorry if everyone has already received this message.   I was I hope you can enlighten me on the issue of computing neatline values.  The solution presented in GDAL (I am using the trunk version download from 11-16-2010) to compute the neatline values is not fully correct

[gdal-dev] Re: what does "Ring Self-intersection at or near point" really mean ?

2010-11-18 Thread Jukka Rahkonen
Anders Moe geocap.no> writes: > > > Hi again. > > I was pointed to the OpenJUMP -> Tools -> QA -> Validate Selected layer in order to perform a QA test on the file in question , namely "fields" from (Oil Fields in the North Sea) > > http://www.npd.no/engelsk/cwi/pbl/en/factmap/download/ sh

[gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Ronan Crowley
Hi All, I'm using GDAL (via Java) to view an ECW file. It generally works fine, however I'm having serious memory issues. I have a 6MB ECW file, that when I try to view in its entirety I get OutOfMemory errors. The code I'm using to extract the image is pretty much the code from the GDALtest.ja

Re: [gdal-dev] error compiling gdal 1.6.3 in rhel 5 64bits

2010-11-18 Thread Frank Warmerdam
javiricca wrote: Hello, I'll trying to compile gdal in rhel 5 64 bits and I've getting some errors. > gdal_wrap.cpp:1067: error: ‘zend_property_reference’ no se declaró en este ámbito ... How can I solve this problem? Is possible to solve it with another version of gdal or installing other li

RE: [gdal-dev] gdal and Solaris 10

2010-11-18 Thread Corrado, George P.
Ok cool, yeah, I'm trying to build it on a Solaris 10 Sparc system now. I believe I'm using the Sun compilers as well. I'm guessing I can't just run the commands below without configuring a bunch of stuff? % cd gdal % ./configure % make % su Password: # make install # exit Thanks, Ge

Re: [gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Frank Warmerdam
Ronan Crowley wrote: Hi All, I'm using GDAL (via Java) to view an ECW file. It generally works fine, however I'm having serious memory issues. I have a 6MB ECW file, that when I try to view in its entirety I get OutOfMemory errors. The code I'm using to extract the image is pretty much the

Re: [gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Greg Coats
>From a JPEG2000 image, you can use kdu_expand -reduce to quickly extract an >image of the top (or any other) level pyramid. In the example below, I extract >from a JPEG2000 image, pyramid level 10 from a 142 GB image in 0.10 seconds. >Perhaps you could consider using JPEG2000. Greg $ ls -hl dc

Re: [gdal-dev] GDAL (via Java bindings) and ECW

2010-11-18 Thread Ronan Crowley
Thanks for the replied Guys. My use of GDAL is very generic, allowing any end user visuaise any image format that GDAL supports via a web browser using a Java backing with JNI bindings to GDAL binaries. (This particular 6MB ECW file is one of hundreds that I've tested) The code as-is works for al

Re: [gdal-dev] Frank Eats Crow - or Fixing PixelIsPoint Interpretation

2010-11-18 Thread Frank Warmerdam
Joaquim Luis wrote: Frank, Wouldn't this apply to the netCDF grids as well? GMT has always made the distinction on the area vs point representation. The grids created by GMT hold that information on the global attribute "node_offset". As for other netCDF CF grids created elsewhere it is also

[gdal-dev] Ruby

2010-11-18 Thread Wesley
Hi guys, How do I install gdal for Ruby? I've been trying to install it on Ubuntu without success. Thanks, ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Ram prasad
The gdal driver for my format is working perfectly in windows XP but not in windows7. It is crashing when I run gdalinfo gdal_translate.exe with or without parameters. so i wrote a dummy gdal driver (the following code), which also is crashing in GDALDriverManager::~GDALDriverManager() at the line

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Frank Warmerdam
Ram prasad wrote: The gdal driver for my format is working perfectly in windows XP but not in windows7. It is crashing when I run gdalinfo gdal_translate.exe with or without parameters. so i wrote a dummy gdal driver (the following code), which also is crashing in GDALDriverManager::~GDALDriver

[gdal-dev] converting shp to dgn

2010-11-18 Thread Travis Kirstine
Is it possible to set DNG attributes using ogr2ogr and write values to the Text field for non point features. If this is not possible with ogr2ogr can it be done with the api (write values to the text field for polygon features). Regards ___ gdal-dev ma

RE: [gdal-dev] KernelFilteredSource and nodata

2010-11-18 Thread Boss, Ken (DNR)
Chaitanya-- Thanks much for your response. I don't think that I described my problem effectively. Let me restate it and see if we are talking about the same thing. Here is a .vrt file that I think should accomplish what I am after: EPSG:26915 19, 1000, 0, 4795000, 0, 1000

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Ram prasad
Thank you Frank, I had upgraded the MSVC 2005 sln to 2008 sln without changing the MSVC_VER in the NMAKE properties page. Now the gdal executables and the driver are compiled are by MSVC 2008 (MSVC_VER =1500) in the release mode, but the problem still continues to exist. In fact in the GDALRegiste

Re: [gdal-dev] Gdal driver not working in windows 7

2010-11-18 Thread Tamas Szekeres
Did you compile GDAL and the plugin with the same CRT setting (ie. /MD), what kind of subsequent libraries have been compiled in GDAL? You may probably use http://vbkto.dyndns.org/sdk/release-1500-dev.zip for compiling both GDAL and your plugin to create a consistent build by using the same compi

Re: [gdal-dev] KernelFilteredSource and nodata

2010-11-18 Thread Chaitanya kumar CH
Ken, KernelFilteredSource is derived from SimpleSource. It does not support setting a nodata value to the source band. Make sure your source image has a nodata value. You can set it using gdal_translate with the -a_nodata option. On Fri, Nov 19, 2010 at 2:10 AM, Boss, Ken (DNR) wrote: > Chaitany

Re: [gdal-dev] OGR - GetLength in Python

2010-11-18 Thread Ari Jolma
On 11/18/2010 03:52 PM, Ludovic Granjon wrote: Hi all I try to calculate the length of a linestring in python. But is there a way in python with ogr to calculate this. I see there's a GetLength() in the OGRLineString Class Reference http://www.gdal.org/ogr/classOGRLineString.html#7b3dc3abefd1

Re: [gdal-dev] OGR - GetLength in Python

2010-11-18 Thread Ari Jolma
On 11/18/2010 03:52 PM, Ludovic Granjon wrote: Hi all I try to calculate the length of a linestring in python. But is there a way in python with ogr to calculate this. I see there's a GetLength() in the OGRLineString Class Reference http://www.gdal.org/ogr/classOGRLineString.html#7b3dc3abefd1

[gdal-dev] gdalwarper --formats inconsistent with -of flag?

2010-11-18 Thread ariasgore
Hello, I have issues generating pngs out of gdalwarper. I did the following: $ gdalwarper.exe --formats One of the lines was: PNG (rwv): Portable Network Graphics So reading and writing png works! Here complete list dump http://pastebin.com/ZRS2nZir Then I tried gdalwarp.exe -ts 256 256 -of PN