Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-20 Thread Peter J Halls
Whilst the ESRI comment is currently strictly true, spatialite is now supported by FME (as of the current release of earlier this year), so ESRI support may come in the Data Interoperability extension (which is FME) in due course - perhaps when 9.4 is released next year. Peter Matt Wilkie wro

[gdal-dev] JP2KAK updated jp2kakdataset.cpp eliminates 15 gcc warnings

2009-10-20 Thread Greg Coats
Compiling GDAL version 1.6.2's Kakadu based JPEG2000 support in frmts/ jp2kak/jp2kakdataset.cpp with gcc version 4.2.1 yields from the "Set some user-overridable parameters." section the following warning 15 times jp2kakdataset.cpp:2472: warning: deprecated conversion from string constant to

RE: [gdal-dev] ECW projection data using Dataset.GetProjectionRef()

2009-10-20 Thread Kris Pribadi
Tamas: This works! I set GDAL_DATA environment variable before calling GDAL in my C# program using: Environment.SetEnvironmentVariable("GDAL_DATA", path + "\\data"); Where path is the FWTools folder location. Now I can read ECW projection WKT value. Thanks. Kris From

[gdal-dev] JP2KAK parameters on Gdal windows build

2009-10-20 Thread Shawn GONG
hi list, I need help to set JP2KAK parameters in Gdal 1.6.2 nmake.opt on Windows. I have unzipped Kakadu 6.21 (non-commercial license) on C:\build2\kakadu\v6_2_1. I ran MS VisualStudio 2008 using coresys_2008.sln and kdu_managed_2008.sln. *.dll are generated in bin_x86\ and *.lib are in lib_x

Re: [gdal-dev] ECW projection data using Dataset.GetProjectionRef()

2009-10-20 Thread Tamas Szekeres
Kris, I guess you should make some of the GDAL support files (like ecw_cs.wkt) available to load by the driver. You should either set up the GDAL_DATA environment variable to point to the location of the file, or just copy the file into your directory from where the executable is running. Best r

[gdal-dev] RE: ECW projection data using Dataset.GetProjectionRef()

2009-10-20 Thread Henneke, Amanda M
Hi Kris- You wouldn't by any chance have opened these geotiffs in ERDAS Imagine have you? Are there .aux or .rrd files associated with these images? Thanks, Amanda Amanda M. Henneke When One tugs at a single thing in Nature, he finds it attached to the rest of the world. -John Muir Please

[gdal-dev] ECW projection data using Dataset.GetProjectionRef()

2009-10-20 Thread Kris Pribadi
Hi: I am a new GDAL user using C#. I am using C# implementation of GDAL from FW_Tools. I am trying to write a C# program similar to gdalinfo to extract the metadata from raster files. It is working fine with GeoTiff files, but having problem reading ECW metadata file. The spatial projection

Re: [Gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-20 Thread Matt Wilkie
Thanks for the effbot pointer Markus. I've been thinking for ahwile now that I'd like to register the gdal python as the system default for 2.5 but didn't have a recipe and was mapping out a plan to work out some sort of regedit batch file trickery. Now there is a much cleaner route :) http://t

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-20 Thread Matt Wilkie
Hi Aleksey, With osgeo4w as Ivan noted you need to install the gdal-python package. O4w doesn't register it's python on the windows registry, so unless you run your .py script from inside the o4w shell it won't find the right python either. There are a number of python scripts in C:\Osgeo4w\

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-20 Thread Matt Wilkie
>> I'm confused, I thought spatialite support was being added to ogr in >> 1.7 . http://www.gdal.org/ogr/drv_sqlite.html I didn't know that, this is good news. >> As to ESRI, I asked at the last DOI meeting prior to the ESRI >> conference this year about spatialite support and they said they had

RE: [gdal-dev] TransformPoint returning Infinity

2009-10-20 Thread Henneke, Amanda M
Thanks Frank! Don't I feel dumb now! Although, I'm glad it was that simple! Amanda M. Henneke When One tugs at a single thing in Nature, he finds it attached to the rest of the world. -John Muir Please consider the environment before printing this e-mail. -Original Message- Fro

RE: [gdal-dev] GDAL Sieve Script

2009-10-20 Thread Craig Miller
At this point it sounds like you are getting squarely into raster geoprocessing. Unless you need to do it standalone for some reason, you might consider using GRASS or QGis with the GRASS extensions as GRASS is a fantastic raster analysis package. Craig From: gdal-dev-boun...@lists.osge

Re: [gdal-dev] TransformPoint returning Infinity

2009-10-20 Thread Frank Warmerdam
Henneke, Amanda M wrote: Hello all- I've been running into a problem where I'm trying to transform points into UTM NAD83 and occasionally (does not seem to be repeatable, more random) the TransformPoint method returns Infinity for the x and y coordinate. Just for your info, the coordinate sy

[gdal-dev] TransformPoint returning Infinity

2009-10-20 Thread Henneke, Amanda M
Hello all- I've been running into a problem where I'm trying to transform points into UTM NAD83 and occasionally (does not seem to be repeatable, more random) the TransformPoint method returns Infinity for the x and y coordinate. Just for your info, the coordinate system I'm converting from is

[gdal-dev] GDAL Sieve Script

2009-10-20 Thread Seth G
Hi, I have been looking at the http://www.gdal.org/gdal_sieve.html script, and it almost meets my requirements. However rather than replacing small pixel areas with neighbouring values, I'd like to set all these pixels to a "no data" or 0 value. I guess I could use the script as it is, and th