Re: [gdal-dev] geographic vs projected coordinate system

2013-06-10 Thread Martin Feuchtwanger
Some of Phil's and Andre's words require correction: Just because it is so simple mathematically, the Plate Carree (or equi-rectangular) projection is no less of a projection than others. Like /all /projections, it has its distortions and yet it preserves some geometrics. It is in the class kn

Re: [gdal-dev] Trouble with GDALAutoCreateWarpedVRT and No data values

2013-06-10 Thread Kyle Shannon
Jesse, i believe I've run into this before. The GDALWarpOptions has a member, padfDstNoDataReal. It is an array of doubles nBands in size. Create that, fill it in with your no data values and set the Warp Option INIT_DEST to NO_DATA: psWarpOptions = GDALCreateWarpOptions();

[gdal-dev] Trouble with GDALAutoCreateWarpedVRT and No data values

2013-06-10 Thread Jesse Crocker
Hello List, Im having some trouble with the C api, that I assume is do my failure to understand some part of it. What I'm trying to do: Load a BSB raster file, apply a cutline to the file, and warp it into a north-up projection. Im doing additional transformations to it after that, but right no

Re: [gdal-dev] NITF Chip

2013-06-10 Thread Even Rouault
Le lundi 10 juin 2013 18:13:47, Baker, Anthony W a écrit : > I have a NITF file which I can read fine with GDAL. The issue that it is a > chip and using the transformation to determine geolocations fails (for > example finding the chip's four corners). Instead of placing a point > based on the ch

Re: [gdal-dev] geographic vs projected coordinate system

2013-06-10 Thread Phil Scadden
You are correct in that imaging a round earth on a flat screen must involve projection. However, there is no one projection that is fit for all purposes so it is pretty normal to store data sets in GCS and project on-the-fly into whatever projection is fit for purpose. To complicate matters, de

Re: [gdal-dev] NITF Chip

2013-06-10 Thread Baker, Anthony W
One possible answer seems to be to use ICHIP_OP_**_** and ICHIP_FI_**_** Using the _OP_ metadata I form a row-wise 2x2 projection matrix with _12 - _11 as one row and _21 - _11 as the other. With _FI_ I form a column-wise 2x2 projection matrix with _12 - _11 and _21 - _11 as the columns. App

[gdal-dev] NITF Chip

2013-06-10 Thread Baker, Anthony W
I have a NITF file which I can read fine with GDAL. The issue that it is a chip and using the transformation to determine geolocations fails (for example finding the chip's four corners). Instead of placing a point based on the chip, it places it based on the whole image. I can read the metad

Re: [gdal-dev] geographic vs projected coordinate system

2013-06-10 Thread Jean-Claude Repetto
Le 10/06/2013 17:44, Andre Joost a écrit : What you see on the screen, is in fact projected, but with a simple one degree = one unit on the screen projection. The extent of that map is still +/- 180°/90° This projection is the same as "Plate carrée" (EPSG:32663), except that the units are deg

Re: [gdal-dev] cannot access GFT recently via QGIS and OGR

2013-06-10 Thread Frank Warmerdam
Maning, Could you try GDAL 1.10.0 which has an upgraded GFT (Google Fusion Tables) driver. There were some changes in how the login stuff worked in January or so on the google side. Make sure you read over the format driver page for details of usage. http://www.gdal.org/ogr/drv_gft.html Best

Re: [gdal-dev] geographic vs projected coordinate system

2013-06-10 Thread Andre Joost
Am 10.06.2013 08:37, schrieb adi_khan: Hi all, I am a novice to geospatialrelated terminology...and going through some literature to understand better.. Could someone please tell difference btwn geographic and projected coordinate system... I mean, I am not able to imagine how I can see an (sate