Re: [gdal-dev] Transform pixel coordinates

2014-10-24 Thread Artur Bercik
On Sat, Oct 25, 2014 at 2:00 PM, Andre Joost wrote: > Am 25.10.2014 um 06:03 schrieb Artur Bercik: > >> Dear GDAL users >> >> I have a raster image of 406 lines and 270 samples with 5km pixel size. >> The >> center coordinates (lats and lons in degrees in GCS) of upper left pixel, >> and the cent

Re: [gdal-dev] Transform pixel coordinates

2014-10-24 Thread Andre Joost
Am 25.10.2014 um 06:03 schrieb Artur Bercik: Dear GDAL users I have a raster image of 406 lines and 270 samples with 5km pixel size. The center coordinates (lats and lons in degrees in GCS) of upper left pixel, and the center coordinates (lats and lons in degrees in GCS) of the lower right pixel

[gdal-dev] Write a Custom GeoTransform and

2014-10-24 Thread Artur Bercik
Dear GDAL users: How can I write a custom projection with the following information in order to feed into gdaltranslate so that I can convert a TIFF file into GeoTiff file. upperLeftX, upperLeftY = 150.1234, 50.1234 (They are in GCS with WGS84 datum) pixelWidth, pixelHeight = 5 km, 5 km totalCol

[gdal-dev] Transform pixel coordinates

2014-10-24 Thread Artur Bercik
Dear GDAL users I have a raster image of 406 lines and 270 samples with 5km pixel size. The center coordinates (lats and lons in degrees in GCS) of upper left pixel, and the center coordinates (lats and lons in degrees in GCS) of the lower right pixel are given, how can I calculate the coordinate

Re: [gdal-dev] handle GRIB files in polar stereographic projection

2014-10-24 Thread teeschke
I found out that the coordinates of other polar stereographic GRIB files are also out of alignment. see ftp://polar.ncep.noaa.gov/ice/ So lets get back to the very general question: How to handle polar stereographic projected GRIB files like the ice coverages from NOAA? Thank you so much and best

Re: [gdal-dev] handle GRIB files in polar stereographic projection

2014-10-24 Thread teeschke
I was able to transform the grib files to NetCDF using the Unidata NetCDF Tools. java -classpath netcdfAll-4.3.jar ucar.nc2.dataset.NetcdfDataset -in ice_conc_nh.grb -out ice_conc_nh.nc Amazingly GDAL can now work with this files. Here is the gdalinfo (Coordinates are in Days) $ gdalinfo NETCDF:

Re: [gdal-dev] gdalwarp giving two different results with the same input

2014-10-24 Thread VILLARD, Pierre
Hi Even, thanks for your reply ! On one side I had : proj-4.7.0-1.el6.rf.x86_64 On the other (on the computer with expecting results) : proj-4.8.0-3.el6.x86_64 With the same versions, I get the same results ! Thanks a lot ! -Message d'origine- De : Even Rouault [mailto:even.roua...@spa

Re: [gdal-dev] gdalwarp giving two different results with the same input

2014-10-24 Thread Even Rouault
Le vendredi 24 octobre 2014 09:35:30, vous avez écrit : > Hi, > > I am using GDAL (GDAL 1.9.2, released 2012/10/08) to change of EPSG > referential on a GeoTiff file. I do the exact same command on two > different computers (with the same version of GDAL and tiff libraries). > And I get two differ

Re: [gdal-dev] Create PostGIS database using OGR/GDAL

2014-10-24 Thread Even Rouault
Le vendredi 24 octobre 2014 09:45:03, Paul Meems a écrit : > Thanks for your reply. > > MapWinGIS is indeed a Windows-only project written in C++. > My test application is written in C#, so I can use npsql to connect to > PostGIS and send the 'Create database' statement. > > But I'm mostly wonder

Re: [gdal-dev] How to merge 4 to 5 images per day using gdal-merge and cmd(.bat file)

2014-10-24 Thread Jean-Claude Repetto
Le 24/10/2014 05:00, user_name a écrit : How will I merge all the images that are for day 1, for day 2 and for day 3 and save each merged images to a new directory leaving only the T/datayear/juliandate as the filename for each day. Merging files is easy but doing it in batch and merging based

[gdal-dev] gdalwarp giving two different results with the same input

2014-10-24 Thread VILLARD, Pierre
Hi, I am using GDAL (GDAL 1.9.2, released 2012/10/08) to change of EPSG referential on a GeoTiff file. I do the exact same command on two different computers (with the same version of GDAL and tiff libraries). And I get two different results... I am out of options, any idea ? Any place I should

Re: [gdal-dev] ogr2ogr and RFC41

2014-10-24 Thread Martin Landa
Hi, 2014-10-24 1:16 GMT+02:00 Even Rouault : > The later kind of reminds me of MapServer syntax : > "wms_enable_request" "* !GetFeatureInfo" > > So perhaps something like ? > --select *,!geom1,!attr1 yes, it would be nice to have it... Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Land

Re: [gdal-dev] Create PostGIS database using OGR/GDAL

2014-10-24 Thread Paul Meems
Thanks for your reply. MapWinGIS is indeed a Windows-only project written in C++. My test application is written in C#, so I can use npsql to connect to PostGIS and send the 'Create database' statement. But I'm mostly wondering why I can do everything with the PostGIS driver, except create or dro