[gdal-dev] Re: installing GDAL for pythonwin: can import and use gdal, but not gdal_translate

2010-02-18 Thread Jukka Rahkonen
anotherObject ytrapaet at hotmail.com writes: I'm not sure i need to make some more changes to my environment that are not mentioned in that pdf article describing the setup GDAL; every time i try any sort of commands that are mentioned in the GDAL utilities page from the Start - Run - cmd,

Re: [gdal-dev] HDF5 information regarding Coordinate System and GCP

2010-02-18 Thread Pedro Roma
Greetings All Clearly I'm a newbie in this mattters. Ok, each of my previously mentioned HDF5 files doesn't include GCP points... Instead of that, pixel geographic position is given in two other HDF5 file (one for latitude another for longitude). My question is, how can I geoprocess and rectify

[gdal-dev] Length method for geometries in bindings

2010-02-18 Thread Ari Jolma
Folks, I added a Length() method for geometries into bindings. The method re-dos a simple euclidean distance as the get_Length of OGR proper is not exposed. I hope this is ok. Length is in OGC SF with that name. However, the standard specifies that the length should be in its associated

Re: [gdal-dev] Length method for geometries in bindings

2010-02-18 Thread Frank Warmerdam
Ari Jolma wrote: Folks, I added a Length() method for geometries into bindings. The method re-dos a simple euclidean distance as the get_Length of OGR proper is not exposed. Ari, I'm not clear on why you reimplemented it for the bindings instead of just exposing it from the core, and

Re: [gdal-dev] Length method for geometries in bindings

2010-02-18 Thread Frank Warmerdam
Ari Jolma wrote: Frank Warmerdam wrote: Ari Jolma wrote: Folks, I added a Length() method for geometries into bindings. The method re-dos a simple euclidean distance as the get_Length of OGR proper is not exposed. Ari, I'm not clear on why you reimplemented it for the bindings instead of

[gdal-dev] Warp a file from two separate Lat and Long

2010-02-18 Thread Luisa Peña
Greetings I've used GDAL a few times but this is the first time that I'm lost on what I can do with GDAL to solve my problem. I have 3 separate files, one with my data, other with Lattitude and another with Longitude. They have the same size and, as an example, it means that Pixel (1,1) of data

Re: [gdal-dev] Warp a file from two separate Lat and Long

2010-02-18 Thread Joaquim Luis
Luisa, I normally restrain to propose GMT solutions here, but I'll open one more exception now as this problem seams easy to solve with it and also because I have o idea how to do it with GDAL. For this, if your grids are not in netCDF, you will need a GMT built with GDAL support (I have one

Re: [gdal-dev] Warp a file from two separate Lat and Long

2010-02-18 Thread Andrew Clegg
Hi Luisa, I've tried something similar in the past with satellite data. I had 3 files, containing latitude, longitude and value stored as floats. I had some very minor success with the following solution (I got out an image but it seemed to drop to a very low resolution). I'm posting it more

Re: [gdal-dev] Warp a file from two separate Lat and Long

2010-02-18 Thread Andrew Brooks
On Thu, 18 Feb 2010 16:49:36 -, Luisa Peña luisapena1...@gmail.com wrote: I've used GDAL a few times but this is the first time that I'm lost on what I can do with GDAL to solve my problem. I have 3 separate files, one with my data, other with Lattitude and another with Longitude. They have

Re: [gdal-dev] Nullable fields in OGR

2010-02-18 Thread Even Rouault
Le Thursday 18 February 2010 18:37:04 Jason Roberts, vous avez écrit : Many relational databases allow fields to be set to NULL. Is this supported in OGR? How does one detect whether a field is nullable or not? All fields in OGRFeature are nullable. I think most OGR drivers will support

Re: [gdal-dev] Warp a file from two separate Lat and Long

2010-02-18 Thread Luisa Peña
Hi Andrew But How can I create those VRT, I never used those, from my original binaries datasets (HDF)? It seems that VRT is the key for my problem. But I never used it before Thanks for your help Luisa 2010/2/18 Andrew Clegg a...@pml.ac.uk Hi Luisa, I've tried something similar in the

RE: [gdal-dev] Nullable fields in OGR

2010-02-18 Thread Jason Roberts
Even and Frank, thanks for your replies. I am a little confused because you each appeared to describe different behaviors. Frank said: There is currently no way to test if a datastore supports the concept of NULL fields, but if it does not it should just write a default value (0.0, empty

Re: [gdal-dev] Nullable fields in OGR

2010-02-18 Thread Ragi Y. Burhum
Jason, Having (successfully) built abstraction layers in the past to wrap ArcGIS APIs (aka ArcObjects), OGR (and others) for other projects, I would strongly advice you *NOT* do it. Why? Because you end up with some API that looks **way** to similar to ArcObjects or OGR! So why not use one of

Re: [gdal-dev] Projection issue with a netcdf file

2010-02-18 Thread Kyle Shannon
Frank, I have been working on this issue for some time and the driver has a quirky way of handling spatial reference parameters. If a tag is not present, the netCDFDataset::FetchCopyParms() function returns a default value. Currently, those default values are all specified as 0.0. Because of

[gdal-dev] Configuration Options

2010-02-18 Thread Frank Warmerdam
Folks, I have established a topic in the wiki to discuss ConfigOptions, feel free to flesh out as appropriate and cross link where needed. http://trac.osgeo.org/gdal/wiki/ConfigOptions Best regards, -- ---+-- I set the

Re: [gdal-dev] Projection issue with a netcdf file

2010-02-18 Thread Frank Warmerdam
Kyle Shannon wrote: Frank, I have been working on this issue for some time and the driver has a quirky way of handling spatial reference parameters. If a tag is not present, the netCDFDataset::FetchCopyParms() function returns a default value. Currently, those default values are all

Re: [gdal-dev] Projection issue with a netcdf file

2010-02-18 Thread Kyle Shannon
Frank, I would hold off on that patch for a little bit, I just found an issue. I also just replied to the other patch I submitted in trac. kss # === Kyle Shannon Physical Science Technician RMRS Fire Sciences Lab Fire, Fuels Smoke - RWU 4405 5775 Highway 10 W. Missoula, MT 59808

[gdal-dev] A palette for gdaldem color relief?

2010-02-18 Thread Gregor at HostGIS
Hey guys. Does anyone have a good palette for use with gdaldem's colorrelief mode? I have a tough time with colors, and figure that somebody has already put together a nice green-brown-white set of colors. The spatial region is New Zealand, so it's land with surrounding sea, a lot of low

Re: [gdal-dev] Nullable fields in OGR

2010-02-18 Thread Mateusz Loskot
Jason Roberts wrote: A while back, Mateusz asked this: Yes. Also, most applications I've seen using OGR do define their own data models and translate OGRFeature to features of their own types. Perhaps it would be interesting to know why they don't use OGRFeature as a part of their data model,

[gdal-dev] Best way to add geo-referencing to a PNG

2010-02-18 Thread Christopher Barker
Hi folks, I have a set of PNGs that I would like to add geo-referencing to. Frankly, I'm not sure what projection they are in, but I do know the bounding box in lat-long, and I think they are simple geo-coordinates. I tried adding a *.pgw world file, that looks like this: 0.04430379 0.0 0.0

[gdal-dev] Motion: Commit Access for Kyle Shannon

2010-02-18 Thread Frank Warmerdam
Motion: Extend GDAL/OGR Commit Access to Kyle Shannon. --- Folks, Kyle has been working with GDAL for a while - I first noticed him when he started adding himself to the cc: list of lots of bugs. He has a particular interest in improving the netcdf driver, and as that driver is not really

RE: [gdal-dev] Motion: Commit Access for Kyle Shannon

2010-02-18 Thread Harsh Govind
+1 Harsh Regards, Harsh Govind From: gdal-dev-boun...@lists.osgeo.org [gdal-dev-boun...@lists.osgeo.org] On Behalf Of Frank Warmerdam [warmer...@pobox.com] Sent: Thursday, February 18, 2010 03:35 PM To: gdal-dev Subject: [gdal-dev] Motion: Commit Access

Re: [gdal-dev] Motion: Commit Access for Kyle Shannon

2010-02-18 Thread Christopher Barker
Frank Warmerdam wrote: Motion: Extend GDAL/OGR Commit Access to Kyle Shannon. He has a particular interest in improving the netcdf driver I don't have a vote, but +1 on netcdf work -- thanks, Kyle! -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR

Re: [gdal-dev] Motion: Commit Access for Kyle Shannon

2010-02-18 Thread Daniel Morissette
Frank Warmerdam wrote: Motion: Extend GDAL/OGR Commit Access to Kyle Shannon. +1 Daniel -- Daniel Morissette http://www.mapgears.com/ ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Motion: Commit Access for Kyle Shannon

2010-02-18 Thread Kyle Shannon
I agree to the rfc 3 guidelines. kss # === Kyle Shannon Physical Science Technician RMRS Fire Sciences Lab Fire, Fuels Smoke - RWU 4405 5775 Highway 10 W. Missoula, MT 59808 (406) 829-6954 kshan...@fs.fed.us # === On Thu, Feb 18, 2010 at 1:35 PM, Frank Warmerdam

Re: [gdal-dev] Motion: Commit Access for Kyle Shannon

2010-02-18 Thread Even Rouault
+1 Le Thursday 18 February 2010 21:35:27 Frank Warmerdam, vous avez écrit : Motion: Extend GDAL/OGR Commit Access to Kyle Shannon. --- Folks, Kyle has been working with GDAL for a while - I first noticed him when he started adding himself to the cc: list of lots of bugs. He has a

RE: [gdal-dev] Nullable fields in OGR

2010-02-18 Thread Jason Roberts
Ragi, Thanks for your thoughts. I know what you are saying; no need to create a another useless layer. But by adopting one or the other APIs, I would get locked in to whatever that API decided to support, with no way to work around it other than to hack on a private copy of that particular API.

Re: [gdal-dev] Oracle OCI connection in Python OGR

2010-02-18 Thread Eric Wolf
Maybe it's just me... but... I'm trying to connect to another Oracle instance, on a different machine, using basically the same code as above. I get exactly the same results. In this case, I've tried Python 2.6.4 with GDAL 1.6.0 and Python 2.4.1 with GDAL 1.5.2. I can connect with OGR2OGR.EXE in

Re: [gdal-dev] Motion: Commit Access for Kyle Shannon

2010-02-18 Thread Howard Butler
On Feb 18, 2010, at 3:58 PM, Daniel Morissette wrote: Frank Warmerdam wrote: Motion: Extend GDAL/OGR Commit Access to Kyle Shannon. +1 +1 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Nullable fields in OGR

2010-02-18 Thread Frank Warmerdam
Jason Roberts wrote: Ragi, Thanks for your thoughts. I know what you are saying; no need to create a another useless layer. But by adopting one or the other APIs, I would get locked in to whatever that API decided to support, with no way to work around it other than to hack on a private copy of