Re: [gdal-dev] https://github.com/OSGeo/gdal is the current SCM and ticketing system

2018-03-26 Thread Kyle Shannon
Even, On Fri, Mar 23, 2018 at 8:09 AM, Even Rouault wrote: > OK, so now you can and should use https://github.com/OSGeo/gdal to track > developement and file new tickets/issues > Trac ticket creation has been disabled. You can still modify existing tickets. > > One side effect of pushing the rewr

Re: [gdal-dev] What is CPL?

2017-06-19 Thread Kyle Shannon
Hi, On Mon, Jun 19, 2017 at 6:24 PM, NASAHARA Kenlo <24dake...@gmail.com> wrote: > Dear GDAL people, > > Let me raise a silly question, please. > > What is "CPL" which appears around the > GDAL world, such as "CPLError"? > > I tried to figure out but I still cannot. > For example, > Combined Prog

Re: [gdal-dev] Dropping GeoPackage table doesn't reduce file size

2016-10-31 Thread Kyle Shannon
Jerome, On Mon, Oct 31, 2016 at 8:14 AM, jguelat wrote: > Thanks for you help! I thought this was done automatically... It is disabled by default: https://www.sqlite.org/pragma.html#pragma_auto_vacuum If you want to enable it through OGR, you can use OGR_SQLITE_PRAGMA: """ Starting with OGR

Re: [gdal-dev] netCDF signed nodata value

2015-10-27 Thread Kyle Shannon
Simon, On Mon, Oct 26, 2015 at 5:04 PM, Simon Lyngby Kokkendorff wrote: > Hello list, > >Just observed a puzzling behaviour of the netCDF driver. When creating a > netCDF dataset of Byte type, the netCDF driver seems to interpret the nodata > value as a signed byte. > For example a nodata va

Re: [gdal-dev] Allocate large memory space with CPLMalloc(). Bug or not?

2015-10-01 Thread Kyle Shannon
On Thu, Oct 1, 2015 at 1:18 PM, fazotron wrote: > > Hello! > > Take a look on the following code: > > *... > size_t w = 1, h = 5000, d = 150; > size_t sz = w * h * d * sizeof(float); // ~27.94 Gb > > float *volume = (float*)CPLMalloc(sz); > ...* > > In this case GDAL throws error in runtime: "

Re: [gdal-dev] Coverity scan schedule

2015-09-04 Thread Kyle Shannon
Kurt, On Fri, Sep 4, 2015 at 10:21 AM, Kurt Schwehr wrote: > Hi Kyle and/or the other coverity project admins (Even, Frank, Tamas, & > Pirmin), > > Any chance you could add additional times throughout the week for Coverity > Scans? We should be able to get 4 a week (for 500K-1M LOC). I propose

Re: [gdal-dev] Call for discussion on RFC 59 (v2): GDAL/OGR utilities as a library

2015-08-26 Thread Kyle Shannon
On Wed, Aug 26, 2015 at 1:55 PM, Even Rouault wrote: > Le mercredi 26 août 2015 21:44:10, Kyle Shannon a écrit : >> Hi, >> >> On Wed, Aug 26, 2015 at 12:27 PM, Even Rouault >> >> wrote: >> > Hi, >> > >> > Summer of code 2015 being f

Re: [gdal-dev] Call for discussion on RFC 59 (v2): GDAL/OGR utilities as a library

2015-08-26 Thread Kyle Shannon
Hi, On Wed, Aug 26, 2015 at 12:27 PM, Even Rouault wrote: > Hi, > > Summer of code 2015 being finished now, Faza's work now include > librarification > of gdalinfo, gdal_translate, gdalwarp and ogr2ogr. Faza will continue working > on some other utilities. Which other utilities are being consid

Re: [gdal-dev] vector VRT: Warning 1: Line 2: Attribute value should be single or double quoted.

2015-08-26 Thread Kyle Shannon
Helmut, On Wed, Aug 26, 2015 at 12:16 PM, Helmut Kudrnovsky wrote: > hi, > > I have a vector VRT which refers to a CSV. > > both files are attached to the mail: > > chondrilla.vrt > > chondrilla.csv >

Re: [gdal-dev] Fedora 20, fatal error: gdal/ogrsf_frmts.h: No such file or directory

2015-08-19 Thread Kyle Shannon
mario, On Wed, Aug 19, 2015 at 1:51 PM, mario60 wrote: > Hi my first post. I am trying to install mysql-workbench from source on a 32 > bit Fedora 22 machine. I get the following error msg: > > In file included from > /root/rpmbuild/BUILD/mysql-workbench-community-6.3.4-src/backend/wbpublic/grt/s

Re: [gdal-dev] Increase width and change offset of the shape file rasterized

2015-08-05 Thread Kyle Shannon
Gane, Something similar came up on irc yesterday. I've recently checked in a commit that allows the -dialect option in gdal_rasterize. I don't think it solves you problem completely, but may help. Excuse the verbosity, but a quick example of how to increase your width using the sqlite dialect a

Re: [gdal-dev] Spatial Resolution from img file

2015-07-30 Thread Kyle Shannon
On Thu, Jul 30, 2015 at 5:03 AM, user gdal wrote: > Dear friends, > I have a geo ref. ERDAS img file. How to obtain its spatial resolution > programmatically (C++)? > > One suggestion I received was to refer to gdalinfo.c However I couldn't get > the required information in gdalinfo.c. I also felt

Re: [gdal-dev] gdalwarp add the stats to a raster

2015-07-29 Thread Kyle Shannon
Andrea, On Tue, Jul 28, 2015 at 10:51 PM, Andrea Peri wrote: > Hi, > I see the gdalwarp has no the parameter (-stats) as gdal_translate to > force the add of statistics. > > But I dont understand if gdalwarp will add however the stats to a raster or > not. gdalwarp does not, but gdalinfo -stat

Re: [gdal-dev] New OGR driver for DB2 Spatial support

2015-06-12 Thread Kyle Shannon
dal devs to test. On Fri, Jun 12, 2015 at 1:21 PM, David Adler wrote: > Kyle, thank you for the quick response. > > I'll take a look at the autotest suite and test_ogrsf. > > By "patch", do you mean a zip file of the new and changed files? > > > On 6/12/201

Re: [gdal-dev] New OGR driver for DB2 Spatial support

2015-06-12 Thread Kyle Shannon
David On Fri, Jun 12, 2015 at 11:33 AM, David Adler wrote: > I have mostly completed the driver for DB2 Spatial using the ODBC support > and would appreciate pointers into the GDAL information for the following: > > 1. Is there a test suite / framework for OGR drivers? Yes, you can download the

Re: [gdal-dev] Proj4 Transformation Error 6

2015-06-12 Thread Kyle Shannon
Jay, On Fri, Jun 12, 2015 at 11:21 AM, Kyle Shannon wrote: > Jay, > > > On Fri, Jun 12, 2015 at 10:59 AM, Jay L. wrote: >> Using GDAL 1.11.2 (Anaconda Python osgeo binstar install). >> >> I have a WKT projection: >> 'PROJCS["Mercator",

Re: [gdal-dev] Proj4 Transformation Error 6

2015-06-12 Thread Kyle Shannon
Jay, On Fri, Jun 12, 2015 at 10:59 AM, Jay L. wrote: > Using GDAL 1.11.2 (Anaconda Python osgeo binstar install). > > I have a WKT projection: > 'PROJCS["Mercator",GEOGCS["GCS_Moon_2000",DATUM["D_Moon_2000",SPHEROID["Moon_2000_IAU_IAG",1737400.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degre

Re: [gdal-dev] Querying Geographic Coordinate System from an existing image file.

2015-06-08 Thread Kyle Shannon
Jim, On Mon, Jun 8, 2015 at 10:11 AM, Tilton, James C. (GSFC-6063) wrote: > I seem to be missing some key point in understanding the use of OGR > Projections. > > > > The OGR Projections Tutorial (www.gdal.org/osr_tutorial.html) very clearly > describes how to set up a new OGRSpatialReference, >

Re: [gdal-dev] RGB to Grayscale

2015-04-16 Thread Kyle Shannon
Tomer, On 04/16/2015 03:03 PM, Tomer wrote: Hello, I want to change a rgb image to a grayscale image. Is there a way to make it through the gdal_translate.exe utility or through other utilities. Best regards, Tomer. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/RGB-t

Re: [gdal-dev] Setting up C++ environment with GDAL on CentOS

2015-04-15 Thread Kyle Shannon
Joshua, On 04/15/2015 12:58 PM, Dr. Joshua Jackson wrote: Hey GDAL Team - I have a server running CentOS 6. I have downloaded the complete 1.11.2 source and successfully built and installed GDAL. I am now trying to make my C++ program which uses GDAL and I’m not having any luck. I get an “unk

Re: [gdal-dev] Wrong number or type of arguments for overloaded function 'CoordinateTransformation_TransformPoint'

2015-02-10 Thread Kyle Shannon
Brendan, On 02/10/2015 11:13 AM, DeTracey, Brendan wrote: The should be on the path. (Very strange that the Anaconda installer dumped a copy in its root directory.) C:\Users\DeTraceyB\AppData\Local\Continuum\Anaconda>echo %PATH% C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Window

Re: [gdal-dev] Parse GML without geometry

2014-12-12 Thread Kyle Shannon
Steve, On Fri, Dec 12, 2014 at 12:35 PM, wrote: > Hi, > I need to parse the GML returned by this query, to make a list of unique > value of NA2DESC tag using python > http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertynam

Re: [gdal-dev] QGIS crashes in ogrsqlitevirtualogr.cpp::OGR2SQLITE_Register

2014-12-04 Thread Kyle Shannon
Sandro, On Thu, Dec 4, 2014 at 2:50 PM, Sandro Mani wrote: > Hi, > > QGIS is currently crashing in Fedora 21+ when listing the supported ogr > drivers. In QgsVectorFileWriter::ogrDriverList, there is a portion of code > > // Unfortunately it seems that there is no simple way to detect if > // OGR

Re: [gdal-dev] Trying to write a gridded XYZ from an cloud of points...

2014-11-23 Thread Kyle Shannon
Wong, On Fri, Nov 21, 2014 at 12:33 PM, Wong Hua wrote: > Hello, I am a osgeo4w user and very green in the field of geo data. > > I am using gdal_grid to grid and ungridded set of points (a CSV file). > > I ultimately want to use it with gdaltransform to change the projection type > and gdaltrans

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

2014-10-06 Thread Kyle Shannon
Daniel, Can you report your GDAL version, and perhaps a sample dataset? On Mon, Oct 6, 2014 at 1:32 PM, teeschke wrote: > Dear list, > > I am having trouble to handle grib files, that are polar stereographic > projected. My goal is to reproject the grib into WGS84, but gdalinfo and > gdalwrap can

Re: [gdal-dev] ogr2ogr sqldump?

2014-09-27 Thread Kyle Shannon
Vladan, On Sat, Sep 27, 2014 at 9:45 AM, Vladan Divljak wrote: > Hi, > > I want migrate data between PostGIS enabled Postgres database and SQL Server > spatial database. ogr2ogr seems like easiest possible way, but there is a > catch with this ticket: http://trac.osgeo.org/gdal/ticket/5239 > > I

Re: [gdal-dev] Fwd: gdalwarp -r average bug?

2014-09-25 Thread Kyle Shannon
On Thu, Sep 25, 2014 at 8:10 AM, Kyle Shannon wrote: > Stephen, > > On Wed, Sep 24, 2014 at 2:21 PM, Stephen Roecker > wrote: >> Out of curiousity the other day I compared the results of gdalwarp (-r >> average) against the raster R package aggregate(fun=mean) funct

Re: [gdal-dev] Fwd: gdalwarp -r average bug?

2014-09-25 Thread Kyle Shannon
Stephen, On Wed, Sep 24, 2014 at 2:21 PM, Stephen Roecker wrote: > Out of curiousity the other day I compared the results of gdalwarp (-r > average) against the raster R package aggregate(fun=mean) function > for aggregating a raster to a coarser resolution. I was suprized how > different the re

Re: [gdal-dev] unable to write a shapefile using ogr

2014-09-10 Thread Kyle Shannon
Beau, On Wed, Sep 10, 2014 at 7:30 AM, Beau Taylor wrote: > The following program successfully creates a shape file I am requiring. > > from osgeo import ogr > from osgeo import osr > > def myRing(coords): > ring = ogr.Geometry(ogr.wkbLinearRing) > for xy in coords: > ring.AddPoin

Re: [gdal-dev] SVG support

2014-08-29 Thread Kyle Shannon
Scott, On Fri, Aug 29, 2014 at 9:25 AM, Scott Rowles wrote: > Hi, > > I am using the 1.11 precompiled binaries with with libexpat included in the > GDAL_DATA path. I am trying to read an SVG file, which according to the > vector format support table should work. But it is failing and saying tha

Re: [gdal-dev] "ESRI Shapefile" Driver Not Found

2014-07-29 Thread Kyle Shannon
On Tue, Jul 29, 2014 at 1:46 PM, Michael Aschenbeck wrote: > Hello, > > I'm having trouble creating a shapefile. My problems are isolated to the > following c++ block: > > const char *pszDriverName = "ESRI Shapefile"; > GDALDriver *poDriver; > GDALAllRegister(); > poDriver = GetGD

Re: [gdal-dev] Call for discussion on RFC 46: GDAL/OGR unification

2014-05-19 Thread Kyle Shannon
Even, On Wed, May 7, 2014 at 4:13 PM, Even Rouault wrote: > Hi, > > This is a call for discussion on "RFC 46: GDAL/OGR unification" > > http://trac.osgeo.org/gdal/wiki/rfc46_gdal_ogr_unification > > Best regards, > > Even > > -- > Geospatial professional services > http://even.rouault.free.fr/s

Re: [gdal-dev] FileGDB feature datasets

2014-05-02 Thread Kyle Shannon
William, On Fri, May 2, 2014 at 1:44 PM, William Kyngesburye wrote: > For a while I've been converting FileGDB v9 files to v10 with Arc (export to > GDB multiple) so I can read them with GDAL (1.10). This works fine, the > conversion creates a flat GDB, though the original GDB has the data gro

Re: [gdal-dev] New OGR Driver for MongoDB

2014-04-30 Thread Kyle Shannon
Shuai On Wed, Apr 30, 2014 at 7:55 AM, Zhang, Shuai wrote: > Hi there, > > I wrote a ogr driver for mongodb and wish to contribute to the community. > but I'm not sure where to start and how to do it. You can file a ticket for a new feature here: http://trac.osgeo.org/gdal/newticket Attach the

Re: [gdal-dev] Import .GDB into MSSQL Server database

2014-04-08 Thread Kyle Shannon
On Tue, Apr 8, 2014 at 4:47 PM, Jan Heckman wrote: > Depends on the geodatabase version. > If (AG) 10, there is a ogr driver for it, so you would not need shapefiles > and avoid losing long fieldnames etc. > There is no driver for earlier AG/gdb versions. OpenFileGDB should handle earlier version

Re: [gdal-dev] Misc. subjects : OSGeo Vienna code sprint, release plans, GDAL 2.0

2014-04-01 Thread Kyle Shannon
On Tue, Apr 1, 2014 at 12:36 PM, Etienne Tourigny wrote: > The 2 objections I have with json are : > > - it is so verbose that editing by hand is not as easy as .csv > - the xml tags make file size much larger than .csv files, unless they would > be stored in a compressed file (gzip) > > On the ot

Re: [gdal-dev] Rasterize a shapefile as mask

2014-03-31 Thread Kyle Shannon
On Mon, Mar 31, 2014 at 9:19 AM, shawn gong wrote: > Hi list, > > I have a RSAT-2 image and a shoreline vector (consists of 2 polygons). I > want to generate a mask with the same # of lines and pixels as the RSAT-2 > image, and make inside polygons as 0, outside as 1. > > The example that I could

Re: [gdal-dev] GDAL 1.11 release plan

2014-03-28 Thread Kyle Shannon
On Fri, Mar 28, 2014 at 8:14 AM, Vincent Mora wrote: > On 28/03/2014 10:06, Even Rouault wrote: >>> >>> A good plan! Especially when including the Walk driver > > And the WAsP driver ? > > > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http:/

Re: [gdal-dev] Extra Decimal places added to ASCII gdal_translate mosaic

2014-03-10 Thread Kyle Shannon
Hi, I restored DECIMAL_PRECISION and added SIGNIFICANT_DIGIT and also reformatted the NODATA_value, although that may or may not be correct as per Even's remarks. See: http://trac.osgeo.org/gdal/ticket/3732 for a review. On Mon, Mar 10, 2014 at 1:21 PM, Even Rouault wrote: > Le lundi 10 mars 2

Re: [gdal-dev] Misc. subjects : OSGeo Vienna code sprint, release plans, GDAL 2.0

2014-02-18 Thread Kyle Shannon
On Thu, Feb 13, 2014 at 2:14 PM, Even Rouault wrote: > Hi, > > I've confirmed my presence to the OSGeo Vienna code sprint ( > http://wiki.osgeo.org/wiki/Vienna_Code_Sprint_2014 ). Are there folks that > will be there and indent doing some work on GDAL ? Any particular topics of > interest ? > > It

Re: [gdal-dev] Misc. subjects : OSGeo Vienna code sprint, release plans, GDAL 2.0

2014-02-16 Thread Kyle Shannon
Dmitriy, What version of cmake is required. On Sat, Feb 15, 2014 at 1:31 PM, Dmitriy Baryshnikov wrote: > Hi, > > As cmake4gdal developer I think there is no problem with cmake. By now we > main code is cmaked, and deal only with some drivers (GDAL or OGR), which > needed cmake scripts. > I make

Re: [gdal-dev] Misc. subjects : OSGeo Vienna code sprint, release plans, GDAL 2.0

2014-02-16 Thread Kyle Shannon
Even, thanks for the notes. On Sat, Feb 15, 2014 at 11:57 AM, Even Rouault wrote: > Thanks for your thoughs Kyle. I expect more developers and PSC members to > express theirs too. > >> >> How long would the stable branches be maintained? Would we handle as >> we do now, with one stable branch an

Re: [gdal-dev] Misc. subjects : OSGeo Vienna code sprint, release plans, GDAL 2.0

2014-02-15 Thread Kyle Shannon
Hi, Just a few thoughts/questions... On Thu, Feb 13, 2014 at 2:14 PM, Even Rouault wrote: > Hi, > > I've confirmed my presence to the OSGeo Vienna code sprint ( > http://wiki.osgeo.org/wiki/Vienna_Code_Sprint_2014 ). Are there folks that > will be there and indent doing some work on GDAL ? Any p

Re: [gdal-dev] OGR changes some proj linear units, true or not?

2014-01-30 Thread Kyle Shannon
On Thu, Jan 30, 2014 at 2:19 PM, Jukka Rahkonen wrote: > Kyle Shannon pobox.com> writes: > > > ... >> >> Jukka, >> >> I added proj4 parsing support for all units reported by cs2cs -lu in >> the trunk in r26902, and created a ticket, #5370 to track

Re: [gdal-dev] OGR changes some proj linear units, true or not?

2014-01-30 Thread Kyle Shannon
On Thu, Jan 30, 2014 at 5:31 AM, Jukka Rahkonen wrote: > Hi, > > Noticed this one in QGIS issues http://hub.qgis.org/issues/9414 > > Writer claims: > "I just tried with a simple C++ wrapper around OSRImportFromProj4, and it > seems OGR doesn't keep the unit for at least dm,cm,mm. It will only work

Re: [gdal-dev] gdal_translate - Generate Full 1 deg x 1 deg tile from partial data

2014-01-17 Thread Kyle Shannon
What version of gdal are you using? Starting with 1.10, it gdal_translate should do what you want. Specifying -eco or -epo makes it an error: -epo: (Error when Partially Outside)(GDAL >= 1.10) If this option is set, -srcwin or -projwin values that falls partially outside the source raster extent

Re: [gdal-dev] understanding gdalwarp default output resolution

2013-10-28 Thread Kyle Shannon
On Mon, Oct 28, 2013 at 8:55 AM, Ivan Marchesini wrote: > Dear all, > I'm using gdalwarp to reproject a wgs84 srtm (3 arcseconds) tile to a > projected utm zone. I do not set "-tr" or "-ts" options, hence the final > output resolution is estimated by the gdalwarp module itself. > > For my tile I o

Re: [gdal-dev] Open BIL, BIP, and BSQ raster files without header

2013-10-22 Thread Kyle Shannon
Gabriel, Did you look at the VRT dataset? http://www.gdal.org/gdal_vrttut.html I suspect that is what you are looking for. kss On Tue, Oct 22, 2013 at 7:27 AM, Gabriel Fusca wrote: > Dear all, > > I'm using GDAL 1.9.1 and I would like to load binary raster files > especifying manually header i

Re: [gdal-dev] /vsicurl/ and gz files

2013-10-11 Thread Kyle Shannon
On Fri, Oct 11, 2013 at 7:13 AM, Jose Gomez-Dans wrote: > Hello everyone, > > On 10 October 2013 19:58, Even Rouault wrote: > >> Le jeudi 10 octobre 2013 20:33:49, Jose Gomez-Dans a écrit : >> > Hi, >> > >> > I was wondering if it's possible to use /vsitar/ to have a peek in .gz >> > files, such

Re: [gdal-dev] Gdalinfo does not print into file on Windows

2013-09-17 Thread Kyle Shannon
On 09/17/2013 05:07 AM, Jukka Rahkonen wrote: Hi, I noticed that gdalinfo and gdallocationinfo tools do not print into file with command gdalinfo test.tif >report.txt The file report.txt is created but it remains empty. With ogrinfo printing into file goes well. I also had a try with some old F

[gdal-dev] Coverity Security Scan

2013-09-09 Thread Kyle Shannon
All, I have recently created a project for GDAL on Coverity Scan. The scan is a static code analysis tool that checks for various errors including resource leaks, dead code, out-of-bounds array access, and various other common errors. If you are currently a committer and maintaining a driver

Re: [gdal-dev] GDAL Warp API Java bindings

2013-09-05 Thread Kyle Shannon
feredImage > > How can I get hold of a suitable destination dataset so I can use > ReprojectImage(...)? > > Thanks, > Markus > > Am 05.09.2013 18:19, schrieb Kyle Shannon: >> On Thu, Sep 5, 2013 at 10:05 AM, Markus Schneider >> wrote: >>> Hi again, &g

Re: [gdal-dev] GDAL Warp API Java bindings

2013-09-05 Thread Kyle Shannon
On Thu, Sep 5, 2013 at 10:05 AM, Markus Schneider wrote: > Hi again, > > I would like to try using the Warp API from Java. It seems that there > are currently no Java bindings available. > > - Did anbody work on Java bindings for the Warp API? > - How hard would it be to define them? I may be able

Re: [gdal-dev] gdal_edit.py -a_nodata none

2013-08-26 Thread Kyle Shannon
On Fri, Aug 23, 2013 at 4:35 PM, Even Rouault wrote: > Le vendredi 23 août 2013 23:21:06, Kyle Shannon a écrit : >> On Fri, Aug 23, 2013 at 10:04 AM, Hermann Peifer wrote: >> > On 2013-08-23 15:23, Even Rouault wrote: >> >> Selon peifer : >> >&

Re: [gdal-dev] gdal_edit.py -a_nodata none

2013-08-23 Thread Kyle Shannon
On Fri, Aug 23, 2013 at 10:04 AM, Hermann Peifer wrote: > On 2013-08-23 15:23, Even Rouault wrote: >> >> Selon peifer : >> >>> Hi, >>> >>> http://www.gdal.org/gdal_edit.html states about -a_nodata >>> Assign a specified nodata value to output bands. Can be set to none to remove a nodata

Re: [gdal-dev] Overflow in geojson values

2013-08-01 Thread Kyle Shannon
On Thu, Aug 1, 2013 at 11:36 AM, Smith, Michael ERDC-RDE-CRREL-NH wrote: > I'm reading a geojson feed put out by the USGS > (http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_day.geojson) > but the time/updated values are overflowing. Are there any settings to allow > the data to come a

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();

Re: [gdal-dev] GDAL 1.10 JP2000 Problem/Crash

2013-05-22 Thread Kyle Shannon
Dennis, I believe you can use Even's GDAL API Proxy to avoid crashes in third party libraries. See: http://trac.osgeo.org/gdal/ticket/4979 for more info. kss On Wed, May 22, 2013 at 11:22 AM, Frank Warmerdam wrote: > Dennis, > > Ah. In my experience the ECW SDK 3.3 JPEG2000 support is buggy

Re: [gdal-dev] import error on fedora?

2013-03-26 Thread Kyle Shannon
Not a fedora guy, but you probably need the gdal-python package, try installing python-gdal or gdal-python using yum. kss On Tue, Mar 26, 2013 at 11:18 AM, Chao YUE wrote: > Dear all, > > I use "yum install gdal" to install gdal on fedora 16, > I can see all following commands in the terminal:

Re: [gdal-dev] ogr utilities -dsco

2013-02-19 Thread Kyle Shannon
Use one -dsco flag for each option: ogr2ogr -f KML impaired_streams_2010.kml impaired_2010_streams.shp -dsco NameField=AUID -dsco DescriptionField=REACH_DESC On Tue, Feb 19, 2013 at 2:26 PM, David Fawcett wrote: > OK GDAL Devs, I give up. > > If I want to specify multiple -dsco key:value with OG

Re: [gdal-dev] gdal 1.10 & osgeo4w

2012-12-28 Thread Kyle Shannon
Even, the Roadmap page in the wiki shows the end of the year, I imagine that is where the date came from. kss On Fri, Dec 28, 2012 at 3:41 PM, image wrote: > Hello, > > 1/I thought that gdal would released as stable version 2012/12/31 because i > saw this information of the bottom of the followi

Re: [gdal-dev] SQLite Driver and non-spatial tables

2012-11-20 Thread Kyle Shannon
For the record, in case anyone is interested, it appears setting SQLITE_LIST_ALL_TABLES=YES appears to allow me access to non-spatial tables. I didn't find any documentation on the format page though. On Tue, Nov 13, 2012 at 1:44 PM, Kyle Shannon wrote: > I have a Spatialite enable

[gdal-dev] SQLite Driver and non-spatial tables

2012-11-13 Thread Kyle Shannon
I have a Spatialite enabled SQLite file with both spatial and non-spatial tables. Since my database has a table called geometry_columns, all non-spatial tables are not loaded as layers. If I don't have a geometry_columns OGR attempts to load geometry from all the tables, but still loads n

Re: [gdal-dev] trying to fetch the data from raster and assign it to the polygon attribute

2012-10-29 Thread Kyle Shannon
You can specify the fieldname after the layername, see the documentation: http://gdal.org/gdal_polygonize.html gdal_polygonize.py [-8] [-nomask] [-mask filename] raster_file [-b band] [-q] [-f ogr_format] out_file [layer] [fieldname] kss On Mon, Oct 29, 2012 at 4:10 PM, Smaran Harihar wrote: >

Re: [gdal-dev] Removing Nodata pixels from raster

2012-10-25 Thread Kyle Shannon
Katrin, Do you know where you valid pixels are in the image? If so, gdal_translate with -srcwin would work: kyle@ubuntu:~$ gdal_translate -srcwin xoff yoff 60 100 in.tif out.tif where xoff, yoff are the number of pixels from the image origin that your valid region begins(pixels, lines). See htt

Re: [gdal-dev] GEOS Ver 3.3.5 and GDAL Ver 1.91

2012-09-05 Thread Kyle Shannon
Martin, Did you by chance use cmake to build geos? I built 1.9.1 against geos 3.3.5, but used cmake when building geos. It appears the output files are named differently when cmake is used. If you did use cmake, then it looks like you need to specify: GEOS_LIB = $(GEOS_DIR)/lib/geos_c.lib if n

Re: [gdal-dev] Converting a .dat(X-Plane) file to a shapefile

2012-08-23 Thread Kyle Shannon
What are the errors? On Thu, Aug 23, 2012 at 12:27 PM, Peter Mallen wrote: > Hi Everyone, > > ** ** > > I am attempting to convert data from a .dat file (X-Plane data) into > shapefiles. Below is the ogr2ogr command I found online, but this always > gives errors: > > ** ** > > ogr2ogr ap

Re: [gdal-dev] Units of dimension variable in NetCDF is 'km'

2012-08-07 Thread Kyle Shannon
What version are you using? I seem to remember something like this in a ticket I filed. I thought it was fixed in 1.9.1. kss On Tue, Aug 7, 2012 at 5:38 AM, Etienne Tourigny wrote: > Hi, > > km units are supposed to work... > > Here is the code where "km" units are detected, which set the WKT

Re: [gdal-dev] convert .tif/.tfwx/.aux.xml to a geotiff?

2012-06-16 Thread Kyle Shannon
Martin, see the -a_ullr option here: http://gdal.org/gdal_translate.html (or gdal_translate --help). The option allows you to set the upper left and lower right corners. You probably want to set the spatial reference as well with -a_srs: gdal_translate -a_ullr -117.0 45.0 -116.0 44.0 -a_srs ep

Re: [gdal-dev] Reading a NetCDF file with python (not recognised as a supported dataset name

2012-06-08 Thread Kyle Shannon
ing gdal-1.9.1 from osgeo4w (32bit), haven't > tried Tamas' build yet > > On Fri, Jun 8, 2012 at 12:08 PM, Kyle Shannon > wrote: > > Etienne, Rutger, > > I can reproduce on windows with 32 bit 1.9 branch and 1.9.1 from Tamas' > site. In fact, I couldn't

Re: [gdal-dev] Reading a NetCDF file with python (not recognised as a supported dataset name

2012-06-08 Thread Kyle Shannon
Etienne, Rutger, I can reproduce on windows with 32 bit 1.9 branch and 1.9.1 from Tamas' site. In fact, I couldn't open any datasets. kss -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Etienne Tourigny Sent: Friday, June

[gdal-dev] DODS Driver issue

2012-06-01 Thread Kyle Shannon
I am messing around with some opendap weather data and tinkering with gdal. Does anyone have any test data/links I can use? I used gdalinfo to look at this data: http://nomads.ncdc.noaa.gov/dods/NCEP_NAM/subsets/nam_218_winds.dds using: kyle@ubuntu:~/Desktop$ gdalinfo http://nomads.ncdc.noaa.g

Re: [gdal-dev] gdalwarp question

2012-05-16 Thread Kyle Shannon
Billy, Yes, gdalwarp will use the srs from the file if one is not specified, providing it is valid. kss On Wed, May 16, 2012 at 8:13 AM, Billy Newman wrote: > If I do not provide a source spatial reference to gdalwarp will the > information in the geotiff be used instead? ie. gdalwarp -t_srs >

RE: [gdal-dev] Re: gdal_translate waits at the end of operation

2012-05-10 Thread Kyle Shannon
Kaarigar, You can pick up new binaries tomorrow at: gisinternals.com/sdk I don't know at exactly what time the packages get built, but they are built daily. kss -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Frank Warmer

Re: [gdal-dev] Re: gdal_translate waits at the end of operation

2012-05-09 Thread Kyle Shannon
More questions? Can you convert one image into an xyz? It sounds like you can. Are there no errors or warnings? On Wed, May 9, 2012 at 5:34 PM, kaarigar wrote: > Here's the command line: > > gdal_translate -ot Float32 -of XYZ -co "COLUMN_SEPARATOR=," n40w124.tif

Re: [gdal-dev] gdal_translate waits at the end of operation

2012-05-09 Thread Kyle Shannon
Sounds like your doing something wrong, it shouldn't hang. Can you share your command line args or a snippet of your batch file? kss On Wed, May 9, 2012 at 5:06 PM, kaarigar wrote: > I hope this is the right forum to pose this question to. > > I am using gdal_translate on Windows 7 64 bit to b

Re: [gdal-dev] vsicurl

2012-03-23 Thread Kyle Shannon
Thanks. kss On Fri, Mar 23, 2012 at 15:06, Frank Warmerdam wrote: > On Fri, Mar 23, 2012 at 1:57 PM, Kyle Shannon wrote: > > Can the VSI*L support be added to drivers that use a third party API > similar > > to the way it is done in the geotiff driver? Would that be a good

Re: [gdal-dev] vsicurl

2012-03-23 Thread Kyle Shannon
ined by looking at the driver marked with 'v' > when running 'gdalinfo --formats' > > for example, netcdf and hdf do not support /vsigzip (and probably not > /vsicurl) > > Etienne > > > On Fri, Mar 23, 2012 at 5:31 PM, Kyle Shannon wrote: > > What a

Re: [gdal-dev] vsicurl

2012-03-23 Thread Kyle Shannon
with curl support and the drivers has do > do all file access through VSI*L functions. > > Best regards, > Frank > > On Fri, Mar 23, 2012 at 1:31 PM, Kyle Shannon wrote: > > What are the requirements for using the vsicurl handler for accessing > files? > > Do drivers

[gdal-dev] vsicurl

2012-03-23 Thread Kyle Shannon
What are the requirements for using the vsicurl handler for accessing files? Do drivers have to implement anything special do have curl support? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

RE: [gdal-dev] Motion: Contract Chaitanya as GDAL Maintainer

2012-03-22 Thread Kyle Shannon
I don't really count, but Chaitanya is very helpful. +1 -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Frank Warmerdam Sent: Thursday, March 22, 2012 2:50 PM To: gdal dev Subject: [gdal-dev] Motion: Contract Chaitanya as G

RE: [gdal-dev] Error when compiling GDAL trunk

2012-03-22 Thread Kyle Shannon
Jean Claude, I have a gdal test machine running Ubuntu 11.10. I build zlib 1.2.6 and built and linked gdal against it no problems. Probably doesn't help much. kss -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jean-Clau

[gdal-dev] gdalwarp eats scale and offset

2012-03-21 Thread Kyle Shannon
.37"N) Lower Right (-113.4633099, 43.7769346) (113d27'47.92"W, 43d46'36.96"N) Center (-113.6065016, 43.9040749) (113d36'23.41"W, 43d54'14.67"N) Band 1 Block=901x2 Type=Float32, ColorInterp=Gray I couldn't find any docs on this. Is this

RE: [gdal-dev] Re: How to check version of ogr?

2012-03-16 Thread Kyle Shannon
Hermann, I noticed this yesterday too, I don't think the version was updated in the trunk after the 1.9 branch. kss -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Hermann Peifer Sent: Friday, March 16, 2012 5:25 AM To: J

RE: [gdal-dev] compiling with FileGeodb API 1.2

2012-03-15 Thread Kyle Shannon
I didn't reconfigure, just dumped the new libs in place of the old and it linked. I get the same results as you now. kss -Original Message- From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Thursday, March 15, 2012 4:39 PM To: gdal-dev@lists.osgeo.org Cc: Kyle Sh

RE: [gdal-dev] compiling with FileGeodb API 1.2

2012-03-15 Thread Kyle Shannon
Stefano, I just built from the trunk with filegdb support and had no issues. I would make sure the 1.1 version is off your system and not anywhere configure could find it, then try again. kss -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osge

RE: [gdal-dev] how should SpatialReference::EPSGTreatsAsLatLong work?

2012-03-15 Thread Kyle Shannon
Jachym, Like Etienne said, 3035 is projected. I believe 4326 is not returning true because the OGC (or proj or whatever is the definitive internal format) makes no reference to an axis and according to the docs: '''Note that coordinate systems with an EPSG code and no axis settings will be ass

[gdal-dev] vsizip and vrt driver

2012-03-01 Thread Kyle Shannon
" and try to run gdalinfo from another path and it can't find the files. Am I missing something? Is it not legal to use vsizip in vrt files? Thanks. Tested on Linux and Windows. kss /** * * Kyle Shannon * ksshan...@gmail.com * */ ___ gdal-d

RE: [gdal-dev] compiling gdal on Ubuntu via Parallels

2012-02-22 Thread Kyle Shannon
On newer Ubuntu releases /usr/local/lib is not in the LD_LIBRARY_PATH. Either set it in your login script (export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH or add /usr/local/lib to /etc/ld.so.conf If you do the latter method, run sudo ldconfig after you are done and it should work. --

Re: [gdal-dev] Can RasterIO write one band at a time or must I combine my separate R,G,B buffers first?

2012-02-08 Thread Kyle Shannon
Ethan, you can fetch single bands using GDALRasterBand* poBand = GetRasterBand(1) and use poBand->RasterIO(...). See docs here: http://gdal.org/classGDALRasterBand.html /** * * Kyle Shannon * ksshan...@gmail.com * */ On Wed, Feb 8, 2012 at 08:39, Ethan wrote: > I am writi

Re: [gdal-dev] numpy array to raster

2012-01-31 Thread Kyle Shannon
Is 'myarray' full of zeros? /** * * Kyle Shannon * ksshan...@gmail.com * */ On Tue, Jan 31, 2012 at 19:20, questions anon wrote: > thanks Frank, following your instructions with: > > src_ds=gdal_array.OpenArray(myarray) > dst_ds = > gdal.GetDriverByName('GTi

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

2011-12-21 Thread Kyle Shannon
PixOff=3,LineOff=5100,Byte,0) GDALRaw: RawRasterBand(0x141b070,2,0x1374c80, Off=18,PixOff=3,LineOff=5100,Byte,0) GDALRaw: RawRasterBand(0x141b070,3,0x1374c80, Off=19,PixOff=3,LineOff=5100,Byte,0) GDAL: GDALOpen(./pdf3968087808_1-1.ppm, this=0x141b070) succeeds as PNM. GDAL: GDALClose(./pdf3968087808

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

2011-12-21 Thread Kyle Shannon
-- Test Script: pyscripts/test_gdal_sieve.py Succeeded: 2238 Failed: 2 (0 blew exceptions) Skipped: 624 Expected fail:13 As GDAL_RUN_SLOW_TESTS environment variable is not defined, 20 "slow" tests have been skipped kss /** * * Kyle Shannon * ksshan...@gmail.com *

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

2011-12-21 Thread Kyle Shannon
nds good. > - I somehow remember to have seen the 2 couchdb failures on builds where > GDAL > was build without GEOS support ? Is it your case ? > Correct, rebuilding with GEOS support, I will rerun my tests. Thanks Even. kss /** * * Kyle Shannon * ksshan...@gmail.com * */

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

2011-12-21 Thread Kyle Shannon
) -- Test Script: pyscripts/test_gdal_sieve.py Succeeded: 2188 Failed: 3 (0 blew exceptions) Skipped: 673 Expected fail:13 As GDAL_RUN_SLOW_TESTS environment variable is not defined, 20 "slow" tests have been skipped /** * * Kyle Shannon * ksshan...@gmail.com * */ On M

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

2011-12-21 Thread Kyle Shannon
ing method. See gdalwarp documentation for info: http://gdal.org/gdalwarp.html also here is the gdal_grid info: http://gdal.org/gdal_grid.html /** * * Kyle Shannon * ksshan...@gmail.com * */ On Wed, Dec 21, 2011 at 04:13, RolandB wrote: > Dear users, > > I want use

[gdal-dev] invert option for rasterize in python bindings

2011-12-07 Thread Kyle Shannon
Is the -i (invert burn) option available through gdal.RasterizeLayer()? I can't find the documentation. Kyle Shannon Senior Software Engineer GCS Research Office 406-532-3254 * Direct 406-541-3276 kshan...@gcs-research.com<mailto:kshan...@gcs-research.com> * www.gcs-research.com<

RE: [gdal-dev] -unscale issue with multiband vrt

2011-12-07 Thread Kyle Shannon
gdal-dev@lists.osgeo.org Cc: Kyle Shannon Subject: Re: [gdal-dev] -unscale issue with multiband vrt Le mercredi 07 décembre 2011 20:17:39, Kyle Shannon a écrit : I think you are in fact exactly running in the issue of #3085. It is difficult to know for sure without having the data under my eyes

[gdal-dev] -unscale issue with multiband vrt

2011-12-07 Thread Kyle Shannon
2, ColorInterp=Undefined Minimum=0.500, Maximum=134.630, Mean=6.273, StdDev=9.686 NoData Value=- Kyle Shannon Senior Software Engineer GCS Research Office 406-532-3254 * Direct 406-541-3276 kshan...@gcs-research.com<mailto:kshan...@gcs-research.com> * www.gcs-research.c

[gdal-dev] RE: Editing KML files using ogr_csharp.dll

2011-12-05 Thread Kyle Shannon
Can you report your gdal version and where you got it from? Is it from gisinternals.com/sdk, or did you build it yourself? From: Pouliot, Christopher (DNR) [mailto:christopher.poul...@state.mn.us] Sent: Monday, December 05, 2011 9:04 AM To: Kyle Shannon; gdal-dev@lists.osgeo.org Subject: RE

  1   2   >