[gdal-dev] GCPsToGeoTransform returns wrong values

2015-11-17 Thread Bar Ori
Hi, I noticed something that for me looks weird and I would like to know maybe I am doing something wrong. If not, how should I overcome this behavior. I set 4 GCPs as follows: var gcps = new[] { new GCP(LeftUp.X, LeftUp.Y, LeftUp.Z, 0.5, 0.5, null, "1"), new GCP(RightUp.X, RightUp.Y, RightUp.Z,

Re: [gdal-dev] OGR FileGDB fails to copy data

2015-11-17 Thread Even Rouault
Le mardi 17 novembre 2015 23:36:29, David Vick a écrit : > Hi, > > I'm currently using OSGeo4W with ESRI's 1.4 version of the File Geodatabase > API and trying to ingest a filegdb into postgresql 9.2.2 that is configured > with ArcSDE and is using st_geometry as the default type. When I execute >

[gdal-dev] OGR FileGDB fails to copy data

2015-11-17 Thread David Vick
Hi, I'm currently using OSGeo4W with ESRI's 1.4 version of the File Geodatabase API and trying to ingest a filegdb into postgresql 9.2.2 that is configured with ArcSDE and is using st_geometry as the default type. When I execute an ogr2ogr -update -append on a feature class that contains either m

Re: [gdal-dev] Standard Parallel 1 - being changed but not displayed?

2015-11-17 Thread Even Rouault
Le mardi 17 novembre 2015 19:13:52, Jonathan Moules a écrit : > Hi Even, > Thanks for the reply. > > > I guess GDAL chose Mercator_1SP because that's the one that's explicitly > defined in the projection text. No, it is not explicitly defined, and GDAL ignores PCSCitationGeoKey to determine the

[gdal-dev] Fwd: Re: Alpha band masking

2015-11-17 Thread Even Rouault
-- Message transmis -- Sujet : Re: [gdal-dev] Alpha band masking Date : mardi 17 novembre 2015, 19:08:06 De : MUTLU OZDOGAN À : Even Rouault Dear Even, It turns out that the problem was on my end! I was clipping the input image to corner coordinates that was outside of the

Re: [gdal-dev] Standard Parallel 1 - being changed but not displayed?

2015-11-17 Thread Jonathan Moules
Hi Even, Thanks for the reply. I guess GDAL chose Mercator_1SP because that's the one that's explicitly defined in the projection text. I've had a quick look at the two files using listgeo, and highlighted the different lines with prefix below (it seems GDAL removes 6 tags, and adds one

Re: [gdal-dev] Standard Parallel 1 - being changed but not displayed?

2015-11-17 Thread Even Rouault
Le mardi 17 novembre 2015 17:55:15, Jonathan Moules a écrit : > Hi List, > I have a Geotiff which includes this projection: > > PROJ.4 : '+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m > +no_defs ' > > > OGC WKT : > PROJCS["Mercator", > GEOGCS["WGS 84", > DATUM["WGS_19

[gdal-dev] Standard Parallel 1 - being changed but not displayed?

2015-11-17 Thread Jonathan Moules
Hi List, I have a Geotiff which includes this projection: PROJ.4 : '+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs ' OGC WKT : PROJCS["Mercator", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY

Re: [gdal-dev] Alpha band masking

2015-11-17 Thread Even Rouault
Le mardi 17 novembre 2015 10:19:59, Mutlu Ozdogan a écrit : > Yes I have removed the xml file sorry I forgot to include that Try also adding "-co alpha=no -overwrite" to the gdalwarp command line, although it shouldn't have any influence on the pixel values at that stage. > > Sent from my iPho

Re: [gdal-dev] Alpha band masking

2015-11-17 Thread Even Rouault
Le mardi 17 novembre 2015 04:08:41, MUTLU OZDOGAN a écrit : > Dear Even, > > The result of the gdalinfo -mm command is this: > > Driver: GTiff/GeoTIFF > Files: pr026029_5m.tif >pr026029_5m.tfw > Size is 35921, 41035 > Coordinate System is: > PROJCS["NAD83(HARN) / Wisconsin Transverse Merc