[gdal-dev] GDAL contouring problem

2010-11-30 Thread Ole Nielsen
Thanks for explaining the reason why the numeric value of 0.00 doesn't work as a fixed level in gdal_contour while the value of 0 does. I understand now the reason for this. However I would have thought one could replace the test for 'zeroness' in (atof(argv[i+1]) != 0 || EQUAL(argv[i+1], "0")) wi

Re: [gdal-dev] Re: how can I compile GDAL 1.7.3 with ecw 4.1 in Virsual Studio 2010

2010-11-30 Thread Frank Warmerdam
GeoJoda wrote: is nobody who can answer this issues under, or maybe I have to move this issue to the MapServer user otherwise I thank all who participate in this forum. GeoJoda, I don't see any reason you are likely to have better luck on the MapServer list. Reviewing this thread I am left w

[gdal-dev] Re: how can I compile GDAL 1.7.3 with ecw 4.1 in Virsual Studio 2010

2010-11-30 Thread GeoJoda
is nobody who can answer this issues under, or maybe I have to move this issue to the MapServer user otherwise I thank all who participate in this forum. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-can-I-compile-GDAL-1-7-3-with-ecw-4-1-in-Virsual-Studio-2010-tp5

[gdal-dev] unresolved CPLAtomicAdd

2010-11-30 Thread Clay, Bruce
I have been using GDAL 1.7.1 for a while now in debug mode without problems. I recently compiled GDAL in release mode and did not see any errors during the build process. When I build my application I get the following link error : "unresolved external symbol _CPLAtomicAdd". I can see cpl_

[gdal-dev] Require Help Transforming into Equirectangular

2010-11-30 Thread ssobieraj
Hello, I'm trying to use FWTools to transform from an arbitrary Datum/Projection pair in an arbitrary format into a Geographic (lat/lon) projection with the WGS84 ellipsoid in GeoTiff format. To do this, I've tried the following: gdalwarp -s_srs Input.prj -t_srs Output.prj Input.xyz Output.tif

Re: [gdal-dev] No Simplify function

2010-11-30 Thread Johnny
Frank Warmerdam writes: > Namrata wrote: >> Hi, >> I have installed GDAL 1.7.1 with GEOS 3.0.0 on my Solaris >> machine. But I >> cannot see any function as Simplify() as given in the tutorial: >> >> virtual OGRGeometry * Simplify (double dTolerance) const -- >> Simplify the geometry. >> >>

Re: [gdal-dev] Re: Updating GDAL on OSGEO4w (windows)

2010-11-30 Thread Luisa Peña
First of alll, thanks for sending this to the mailing list. > > The "gdal16" command is just a bat file changing a few environment > variables > for the local shell - primary the path. It does not have any effect beyond > the current shell. > > Ok. I get it... > Also, it is affecting which GDAL

Re: [gdal-dev] Re: Updating GDAL on OSGEO4w (windows)

2010-11-30 Thread Frank Warmerdam
Luisa Peña wrote: You are absolutely rightr. It worked :) But, if I close the shell and open again, GDAL15 is again the pre-defined GDAL. How can I have this as defined? Are you familiar with winGRASS on OSGEO4w? My idea is to change current gdal (15) to gdal16 Or 18. Are you aware of anything

Re: [gdal-dev] Re: Updating GDAL on OSGEO4w (windows)

2010-11-30 Thread Luisa Peña
You are absolutely rightr. It worked :) But, if I close the shell and open again, GDAL15 is again the pre-defined GDAL. How can I have this as defined? Are you familiar with winGRASS on OSGEO4w? My idea is to change current gdal (15) to gdal16 Or 18. Are you aware of anything regarding that? Thank

Re: [gdal-dev] Re: Updating GDAL on OSGEO4w (windows)

2010-11-30 Thread Frank Warmerdam
Luisa Peña wrote: Hello Jurgen But you're running gdalinfo from the same shell, that you ran gdal16/gdal17/gdaldev and your current directory is _not_ %OSGEO4W_ROOT%\bin? Uhm Maybe I wasn't clear. I run gdal16 in C:/osgeo4w/bin and then I did gdalinfo --version I attached a scree

[gdal-dev] Re: Updating GDAL on OSGEO4w (windows)

2010-11-30 Thread Luisa Peña
Hello Jurgen But you're running gdalinfo from the same shell, that you ran > gdal16/gdal17/gdaldev and your current directory is _not_ > %OSGEO4W_ROOT%\bin? > > Uhm Maybe I wasn't clear. I run gdal16 in C:/osgeo4w/bin and then I did gdalinfo --version I attached a screenshot that exemplifies it

Re: [gdal-dev] Updating GDAL on OSGEO4w (windows

2010-11-30 Thread Jürgen E . Fischer
Hi Luisa, On Tue, 30. Nov 2010 at 14:21:30 +, Luisa Peña wrote: >I have OSGEO4w working with GDAL1.5 and, in c:\osgeo4w\apps I have >When I run it in windows command line I still get 1.5. Then, in GRASS >mailing list a user suggested me to run gdal16.bat from c:\osgeo4w\bin and >

[gdal-dev] Creating a range from given points

2010-11-30 Thread Kevin
Dear list, Please see in attached image what I am aiming to achieve with GDAL. The tool creating it is here, but I don't have arcgis: http://resources.arcgis.com/fr/gallery/file/geoprocessing/details?entryID=1FECB539-1422-2418-7FE1-77F9D088402D The input is a set of points and a fixed grid (10x1

Re: [gdal-dev] ECMWF's GRIBs and NetCDFs

2010-11-30 Thread Joaquim Luis
(the flip up-down issue) http://trac.osgeo.org/gdal/ticket/3575 Joaquim Thanks Antonio R. __ Information from ESET NOD32 Antivirus, version of virus signature database 5661 (20101130) __ The message was checked by ESET NOD32 A

[gdal-dev] ECMWF's GRIBs and NetCDFs

2010-11-30 Thread António Rocha
, I would like to know if there is any known issue on using NetCDF data in GDAL1.5? (I didn't find anything). Thanks Antonio R. __ Information from ESET NOD32 Antivirus, version of virus signature database 5661 (20101130) __ The message was checked by ESET NOD32 A

Re: [gdal-dev] PG: does OGR2OGR set the SRID correctly ?

2010-11-30 Thread Sebastian E. Ovide
Hi Even, I've missed that part... just to confirm that with *psql -d [yourdatabase] -f spatial_ref_sys.sql and deleting those extra lines created automatically, now I can upload shapes with the right SRID* **thanks ! On Tue, Nov 30, 2010 at 2:32 PM, Even Rouault wrote: > Sebastian, > > I'd sug

Re: [gdal-dev] PG: does OGR2OGR set the SRID correctly ?

2010-11-30 Thread Even Rouault
Sebastian, I'd suggest checking what I wrote at the end of my previous email : "Make sure you've filled the spatial_ref_sys table with the appropriate PostGIS .sql script. The '3' you get sounds like the spatial_ref_sys table of this database was empty and that the PG driver added new entries in i

Re: [gdal-dev] PG: does OGR2OGR set the SRID correctly ?

2010-11-30 Thread Sebastian E. Ovide
I've replaced the -lco 27700 with -a_srs EPSG:27700 now select ST_SRID(wkb_geometry) from sebas gives 4... any ideas ? On Tue, Nov 30, 2010 at 10:59 AM, Even Rouault wrote: > Selon "Sebastian E. Ovide" : > Sebastian, > > The option "-lco 27700" has no effect. The correct syntax would be > som

[gdal-dev] Updating GDAL on OSGEO4w (windows

2010-11-30 Thread Luisa Peña
Greetings I have OSGEO4w working with GDAL1.5 and, in c:\osgeo4w\apps I have GDAL1.6. I downloard and installed gdal17 and gdal18 and gdal16 in my OSGEO4w. When run gdalinfo --version (in GRASS ) I still get 1.5 version. When I run it in windows command line I still get 1.5. Then, in GRASS mailing

Re: [gdal-dev] No Simplify function

2010-11-30 Thread Frank Warmerdam
Namrata wrote: Hi, I have installed GDAL 1.7.1 with GEOS 3.0.0 on my Solaris machine. But I cannot see any function as Simplify() as given in the tutorial: virtual OGRGeometry * Simplify (double dTolerance) const -- Simplify the geometry. Please can you guide me if I am missing anythi

[gdal-dev] No Simplify function

2010-11-30 Thread Namrata
Hi, I have installed GDAL 1.7.1 with GEOS 3.0.0 on my Solaris machine. But I cannot see any function as Simplify() as given in the tutorial: virtual OGRGeometry * Simplify (double dTolerance) const -- Simplify the geometry. Please can you guide me if I am missing anything here or do I ne

Re: [gdal-dev] PG: does OGR2OGR set the SRID correctly ?

2010-11-30 Thread Even Rouault
Selon "Sebastian E. Ovide" : Sebastian, The option "-lco 27700" has no effect. The correct syntax would be something like "-lco SRID=27700", but there's no such option, so don't loose your time trying that ;-) The SRID is set automatically by comparing the SRS of the source layer with what exists

Re: [gdal-dev] PG: does OGR2OGR set the SRID correctly ?

2010-11-30 Thread Jorge Arévalo
On Tue, Nov 30, 2010 at 11:30 AM, Sebastian E. Ovide wrote: > Hi All, > I've just uploaded a shape with > ogr2ogr -f PostgreSQL "PG:dbname='gis' host='10.0.1.40' port='5432' > user='gis' password='gis'"  sebas.shp -lco 27700 -lco PRECISION=NO -progress > -lco OVERWRITE=yes -lco dim=2 -nln sebas -o

[gdal-dev] PG: does OGR2OGR set the SRID correctly ?

2010-11-30 Thread Sebastian E. Ovide
Hi All, I've just uploaded a shape with ogr2ogr -f PostgreSQL "PG:dbname='gis' host='10.0.1.40' port='5432' user='gis' password='gis'" sebas.shp -lco 27700 -lco PRECISION=NO -progress -lco OVERWRITE=yes -lco dim=2 -nln sebas -overwrite but from select ST_SRID(wkb_geometry) from sebas; I'm get