Re : [gdal-dev] Conversion of MapInfo to GML using ogr2ogr - lat/long format issue

2011-12-21 Thread Yves Jacolin
Hello, What don't you use EPSG:4326? Y. - Reply message - De : "mysticraja" Pour : Objet : [gdal-dev] Conversion of MapInfo to GML using ogr2ogr - lat/long format issue Date : jeu., déc. 22, 2011 02:49 Hi, I'm trying to convert a Mapinfo file (MID/MIF file) into a GML file

[gdal-dev] Conversion of MapInfo to GML using ogr2ogr - lat/long format issue

2011-12-21 Thread mysticraja
Hi, I'm trying to convert a Mapinfo file (MID/MIF file) into a GML file using ogr2ogr tool. I am getting the results in long/lat format but I need them in lat/long format. Reading through some material on the net I set the below environment variables as well but to no use. GDAL_DRIVER_PATH=

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Brian Case
Yves, You need to be write a custom application to make use of If you are looking for a command line utility solution you should use gdal_calc.py if your end goal is to serve this data via a wms you could try the thredds server http://www.unidata.ucar.edu/projects/THREDDS/tech/TDS.html http:

[gdal-dev] gdal_contour and nodata values

2011-12-21 Thread William Kyngesburye
Is gdal_contour supposed to do this?I have a DEM projected from a latlong area to a conic with -dstalpha, so there are triangles of nodata around the edges.  When I run gdal_contour with intervals, I get a ring of contours around the edge of the nodata area starting from the first interval above 0

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Joaquim Luis
On 21-12-2011 20:43, Etienne Tourigny wrote: Yves, processing of netcdf files like this may be much easier using NCO (http://nco.sourceforge.net/) example: ncap -s "WND=sqrt(u^2+v^2)" in.nc out.nc Or with GMT grdmath U 2 POW V 2 POW ADD SQRT = out.nc this, with GDAL's help, had the further

Re: [gdal-dev] How to load a regular table from splite to postgres

2011-12-21 Thread Even Rouault
Le mercredi 21 décembre 2011 22:02:23, aperi2007 a écrit : > Hi, > I'm try-ing to load a regular table without geometry from a spatialite > to a postgres9.1/postgis 2.0 DB. > > I'm using this sintax: > > ogr2ogr.exe -f "PostgreSQL" PG:"dbname='test' active_schema=gb > schemas=gb,public host='loca

[gdal-dev] How to load a regular table from splite to postgres

2011-12-21 Thread aperi2007
Hi, I'm try-ing to load a regular table without geometry from a spatialite to a postgres9.1/postgis 2.0 DB. I'm using this sintax: ogr2ogr.exe -f "PostgreSQL" PG:"dbname='test' active_schema=gb schemas=gb,public host='localhost' port='5432' user='postgres' password='postgres' " -overwrite -l

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Even Rouault
Le mercredi 21 décembre 2011 21:51:57, Yves Jacolin (free) a écrit : > Le mercredi 21 décembre 2011 21:44:14, Even Rouault a écrit : > > Le mercredi 21 décembre 2011 20:41:04, Yves Jacolin (free) a écrit : > > > Hello, > > > > > > I have some question about writing pixel functions with vrt files.

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Thanks Etienne! Y. Le mercredi 21 décembre 2011 21:43:32, Etienne Tourigny a écrit : > Yves, > > processing of netcdf files like this may be much easier using NCO > (http://nco.sourceforge.net/) > > example: > ncap -s "WND=sqrt(u^2+v^2)" in.nc out.nc > > > Etienne > > On Wed, Dec 21, 2011 at

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Le mercredi 21 décembre 2011 21:44:14, Even Rouault a écrit : > Le mercredi 21 décembre 2011 20:41:04, Yves Jacolin (free) a écrit : > > Hello, > > > > I have some question about writing pixel functions with vrt files. I have > > a netcdf file with two subset named U and V. > > > > How can I proc

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Even Rouault
Le mercredi 21 décembre 2011 20:41:04, Yves Jacolin (free) a écrit : > Hello, > > I have some question about writing pixel functions with vrt files. I have a > netcdf file with two subset named U and V. > > How can I process sqrt(U^2 + V^2) using this feature with vrt file? > > * do I need to cr

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Etienne Tourigny
Yves, processing of netcdf files like this may be much easier using NCO (http://nco.sourceforge.net/) example: ncap -s "WND=sqrt(u^2+v^2)" in.nc out.nc Etienne On Wed, Dec 21, 2011 at 5:32 PM, Yves Jacolin (free) wrote: > Le mercredi 21 décembre 2011 21:01:22, Frank Warmerdam a écrit : >> On

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Le mercredi 21 décembre 2011 21:01:22, Frank Warmerdam a écrit : > On Wed, Dec 21, 2011 at 11:41 AM, Yves Jacolin (free) wrote: > > Hello, > > > > I have some question about writing pixel functions with vrt files. I have > > a netcdf file with two subset named U and V. > > > > How can I process

[gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Hello, I have some question about writing pixel functions with vrt files. I have a netcdf file with two subset named U and V. How can I process sqrt(U^2 + V^2) using this feature with vrt file? * do I need to create a C file and build GADL with it? * do I need to create a C file and locate it c

Re: [gdal-dev] GDAL/OGR 1.9.0 Beta1 Released

2011-12-21 Thread Kyle Shannon
I have pdftoppm: [kyle@localhost gdrivers]$ pdftoppm -v pdftoppm version 0.18.0 Copyright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org Copyright 1996-2004 Glyph & Cog, LLC I can get the checksum: [kyle@localhost gdrivers]$ gdalchksum.py data/adobe_style_geospatial.pdf 17637

Re: [gdal-dev] GDAL/OGR 1.9.0 Beta1 Released

2011-12-21 Thread Even Rouault
Le mercredi 21 décembre 2011 19:30:45, Kyle Shannon a écrit : > Even, > > I rebuilt with GEOS support ok I'll add a test for geos presence to skip the 2 tests if it is not available. > and I added podofo support as well, for fun. I > got a failure with a bad checksum in pdf.py: Can you just

Re: [gdal-dev] GDAL/OGR 1.9.0 Beta1 Released

2011-12-21 Thread Kyle Shannon
Even, I rebuilt with GEOS support and I added podofo support as well, for fun. I got a failure with a bad checksum in pdf.py: Failures Script: ogr/ogr_gft.py TEST: ogr_gft_write ... fail Script: gdrivers/pdf.py TEST: pdf_1 ... fail line 164: bad checksum ---

Re: [gdal-dev] GDAL/OGR 1.9.0 Beta1 Released

2011-12-21 Thread Mateusz Łoskot
On 20 December 2011 02:21, Frank Warmerdam wrote: > Folks, > > I have prepared a first cut for the 1.9.0 release (Beta 1).  Source code > and the autotest suite can be found at: > >  http://download.osgeo.org/gdal/gdal190b1.zip I have built it and quickly tested command line tools in action using

Re: [gdal-dev] GDAL/OGR 1.9.0 Beta1 Released

2011-12-21 Thread Kyle Shannon
> > - the gft failure is due to an authentication cookie to the test account > that I > must renew regularly (~ 2 weeks). Not an ideal solution. I think I should > make > that test to only report 'skip' if it fails. Or find a way to automate the > renewal. > Sounds good. > - I somehow remember t

Re: [gdal-dev] GDAL/OGR 1.9.0 Beta1 Released

2011-12-21 Thread Even Rouault
Kyle, Thanks for your report. Nothing to worry particularly about : - the gft failure is due to an authentication cookie to the test account that I must renew regularly (~ 2 weeks). Not an ideal solution. I think I should make that test to only report 'skip' if it fails. Or find a way to automat

Re: [gdal-dev] GDAL/OGR 1.9.0 Beta1 Released

2011-12-21 Thread Kyle Shannon
I am getting 3 failed tests, fedora 16 x64: [kyle@localhost ~]$ uname -s -r -p -i -o Linux 3.1.0-7.fc16.x86_64 x86_64 x86_64 GNU/Linux [kyle@localhost gdalautotest-1.9.0]$ ./configure --enable-debug --with-python --prefix=/home/kyle/src/gdal/beta/gdal-1.9.0b1/build ... Failures --

Re: [gdal-dev] GDAL interpolation of Gtiff / ESRI polygon.shp

2011-12-21 Thread Kyle Shannon
Roland, I believe gdal_grid takes an ogr file as input and creates a raster from a point layer. If you just want to resample a raster, try gdalwarp, without the warping: kyle@local$ gdalwarp -ts 118 188 -r cubicspline coarse.tif fine.tif where -ts is 'target size' and -r is resampling method. S

Re: [gdal-dev] loading oracle table as layer

2011-12-21 Thread Ivan Lucena
Imran, Does your GDAL installation has the OGR/OCI driver? $ ogrinfo --formats ... -> "OCI" (read/write) ... $ ogrinfo oci:/ The GDAL JavaDocs does not include information about each driver but you might find documentation about the sdo_geometry (OCI) driver here: http://www.gdal.org/ogr/dr

Re : [gdal-dev] GDAL interpolation of Gtiff / ESRI polygon.shp

2011-12-21 Thread Yves Jacolin
Hello, Ogrinfo is for vector files, use gdalinfo instead. Regards, Yves Jacolin - Reply message - De : "RolandB" Pour : Objet : [gdal-dev] GDAL interpolation of Gtiff / ESRI polygon.shp Date : mer., déc. 21, 2011 12:13 Dear users, I want use gdal for some file transformation. Any h

[gdal-dev] (no subject)

2011-12-21 Thread yehya imam
.It seems to be the biggest on-line shop! It’s fantastic! http://phbalanse.no/friends.group.php?yfs=07r3 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] GDAL interpolation of Gtiff / ESRI polygon.shp

2011-12-21 Thread RolandB
Dear users, I want use gdal for some file transformation. Any help in solving the issue is greatly appreciated by me! It would be great if one of you have solved already this problem or knows how to do so. By gdal_rasterize I did create a Gtiff raster from a ESRI Polygon shapefile. This is succes

[gdal-dev] loading oracle table as layer

2011-12-21 Thread Imran Rajjad
Hi list, I have an oracle table with a SDO_Geometry column, is it possible to access this table using gdal/java and do transactions like insertion and modifying features, since this table is used by a gis server and to make changes I have to go through a long process . I check the layer class in G