Re: [gdal-dev] [EXT] GDAL sponsored maintenance report: Aug 2021-March 2023

2023-03-27 Thread Matt . Wilkie
Thank you Even, I appreciate this view and corresponding insight into the work of the GDAL sponsored maintenance - this is in addition to the actual work you've undertaken, and coaching of occasional contributors and question askers like myself! I hope that in course of time the bug fixing

Re: [gdal-dev] [EXT] Re: How to build STAC of local raster files?

2023-02-13 Thread Matt . Wilkie
raster-files=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534519723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=hUnYEUHVXhmMzWXT126fGBru9GW0bsgcrQMvU6QyJQg%3D=0> in order to cat

[gdal-dev] How to build STAC of local raster files?

2023-02-13 Thread Matt . Wilkie
clear on this part yet). Also asked at https://gis.stackexchange.com/questions/451951/how-to-build-stac-of-local-raster-files in order to catch more eyeballs. Thanks! Matt Wilkie Geomatics Developer & Administrator Environment | Technology, Innovation and Mapping T 867-667-8133 | Yukon.ca<ht

Re: [gdal-dev] [EXT] Re: [EXT] Re: [Doc] gdal_calc.py extent option

2022-10-19 Thread Matt . Wilkie
The definitions are correct. For the union you want a rectangle (or polygon) that's larger than the input, indeed. But you want the smallest of those rectangles, because there's an infinity of them. The larger ones would cover an arbitrary area of the plane (or the globe, if you want). Same

Re: [gdal-dev] [EXT] Re: [Doc] gdal_calc.py extent option

2022-10-18 Thread Matt . Wilkie
To my mind the outputs of Union should be the largest extent area and Intersect is the smallest extent area. However any explanation in words alone will always have some ambiguity. It can't be avoided. Union and Intersect via Wiki.GIS.com (I do find the intersect diagram less clear in this

[gdal-dev] gdal-utils: understanding the __main__ pattern

2022-03-04 Thread Matt Wilkie
Hello folks who know about the python script construction :) The pattern used in all of the python scripts under swig/python/gdal-utils is foreign to me. Can someone explain what's going on and why it's used? (or point to where this has been explored already). if __name__ == '__main__':

Re: [gdal-dev] Use GitPod for GDAL?

2022-02-22 Thread Matt Wilkie
; https://github.com/OSGeo/gdal/blob/6e6aff451dbcde450f051bff2f2e75ce6a4a3e6f/.github/workflows/cmake_builds.yml#L38 > (this one has pretty much all the pre packaged dependencies. you don't need > all that) > > Even > Le 18/02/2022 à 23:34, Matt Wilkie a écrit : > > This what I've come up with

Re: [gdal-dev] using the docker images: updating?

2022-02-22 Thread Matt Wilkie
ahh, so I've run into a Gitpod-ism. They automagically create a `gitpod` user and disable root when importing a docker image. Ok, well I have a troubleshooting path to follow now. Thanks! ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

[gdal-dev] using the docker images: updating?

2022-02-22 Thread Matt Wilkie
When using the docker images, particularly 'osogeo/gdal' from docker hub, sudo isn't available. How does one `apt update` etc? thanks! ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] docker images and gdal versions

2022-02-20 Thread Matt Wilkie
I've been hearing of Docker for some time but haven't really tried to use it until this weekend. I'm early in the journey but I begin to see what the fuss is about. A quick question: what gdal version(s) should I see when pulling the image names I see in `gdal/docker` tree? With

Re: [gdal-dev] Use GitPod for GDAL?

2022-02-18 Thread Matt Wilkie
This what I've come up with: https://gitpod.io Create new >> search for gdal >> select OSGeo/gdal On launch: -- Could NOT find PROJ (missing: PROJ_DIR) CMake Error at /home/linuxbrew/.linuxbrew/Cellar/cmake/3.22.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):

[gdal-dev] Use GitPod for GDAL?

2022-02-18 Thread Matt Wilkie
Hi, Does anyone know how to use https://gitpod.io to set up a gdal development environment? I'm wondering if that might be an easy path for Windows folk like myself to test changes against linux (e.g. like this one https://github.com/OSGeo/gdal/pull/5296#issuecomment-1037141210). I've tried

Re: [gdal-dev] gdal-utils: Testing?

2022-02-13 Thread Matt Wilkie
Ah, okay. So: ~~~ # test the main command line utilities (so both .exe and 'official' python scripts) cd autotest pytest utilities # test gdal-utils, the 'add-on' python scripts cd autotest pytest pyscripts ~~~ I don't feel a need to try adding anything to handle a specific path, pyscripts is

[gdal-dev] gdal-utils: Testing?

2022-02-11 Thread Matt Wilkie
Hi, Is there a way to run autotests/pytest only for gdal-utils, or only those tests that involve a certain folder tree? -matt ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-02-11 Thread Matt Wilkie
Upon reflection it seems to me that both of these are work arounds for not having regular python wrapper executables created. Now that we can `pip install gdal-utils` perhaps it's better to use pip to create the wrappers. I have a little bit of experience with that and am will to tackle the

Re: [gdal-dev] How to fix path for gdal .py scripts in Anaconda-Windows?

2022-02-11 Thread Matt Wilkie
On 2022-01-12 2:26 p.m., Idan Miara wrote: I had the same problem, here's my solution : https://github.com/OSGeo/gdal/blob/master/swig/python/gdal-utils/osgeo_utils/auxiliary/batch_creator.py On 2022-01-12 4:40 p.m., matt.wil...@yukon.ca wrote: Also see OSGEO4W make-bat-for-py.bat

Re: [gdal-dev] gdal_fillnodata smoothing water for a DEM

2011-09-27 Thread Matt Wilkie
Here is an excellent article on editing elevation models using photo tools by Tom Patterson of the US National Park Service: http://www.shadedrelief.com/dem/dem.html -- matt wilkie Geomatics Analyst Information Management and Technology Yukon

Re: [gdal-dev] gdal_fillnodata smoothing water for a DEM

2011-09-27 Thread Matt Wilkie
On September-27-11 9:50:39 AM, Matt Wilkie wrote: Here is an excellent article on editing elevation models using photo tools by Tom Patterson of the US National Park Service: http://www.shadedrelief.com/dem/dem.html If this appears to be out of context, that's because it is. ;-) It's

[gdal-dev] python script to generate world files

2011-09-12 Thread Matt Wilkie
://gis.stackexchange.com/questions/14545/how-to-generate-world-files-for-raster-x in the right direction, and additional thanks to Schuyler Erle for writing gdalcopyproj.py which I used as a starting point. -- matt wilkie Geomatics Analyst Information

Re: [gdal-dev] adding georeferencing information

2011-09-06 Thread Matt Wilkie
Is there a quick way to add back georeferencing information to a geotif file that has been processed by Imagemagick? also see http://code.google.com/p/maphew/source/browse/gis/gdal_extras/bin/gdalcopyproj.py cheers, matt wilkie Geomatics Analyst

[gdal-dev] spatialreference.org down

2011-09-01 Thread Matt Wilkie
Hey All, www.spatialreference.org is down right now (/The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later./) . Anyone know if this a glitch or something more permanent? thanks, -- matt wilkie

Re: [gdal-dev] GTiff optimisation

2011-08-30 Thread Matt Wilkie
Yves, it's best to use gdalwarp without any compression options and then use gdal_translate as a last step to apply the compression. See http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#GeoTIFFoutput-coCOMPRESSisbroken for more. cheers, matt wilkie

[gdal-dev] jpeg in tiff artifacts

2011-06-16 Thread Matt Wilkie
Hello, When I convert with gdal_translate and use jpeg compression in geotiff format there is artifacting on the edges. It looks like nodata is being ignored. Is there any way to avoid this? (and still use jpeg or equivalent space-saving compression) see attached. -- matt wilkie

Re: [gdal-dev] jpeg in tiff artifacts

2011-06-16 Thread Matt Wilkie
You can add a mask band to the tiff but unfortunately aside from gdalwarp and mapserver I don't think there is any other way to read it. see http://docs.oam.osgeo.org/storage/creating.html Thanks Brian! I've not used masks in gdal before. From my initial testing I think I can use that recipe

[gdal-dev] gdal_translate compress is larger??

2011-06-15 Thread Matt Wilkie
1,003,987,364 _lzw.tif 15/06/2011 10:31 AM 958,908,507 _none.tif 15/06/2011 10:30 AM 965,940,411 _packbits.tif gdalinfo report is attached. source file at http://files.environmentyukon.ca/matt/gdal-trans-lzw/ (in about 20 minutes). GDAL 1.8.0, released 2011/01/12 what's up? -- matt wilkie

Re: [gdal-dev] gdal_translate compress is larger??

2011-06-15 Thread Matt Wilkie
the space savings was only 10% or so. matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca

[gdal-dev] gdalbuildvrt does not support heterogenous band characteristics

2011-06-14 Thread Matt Wilkie
Hi Folks, what does this error mean? gdalbuildvrt -input_file_list img-list.txt mosaic.vrt 0...10Warning 6: gdalbuildvrt does not support heterogenous band characteristics . Skipping Quickbird_06m10.tif ...etc. thanks! -- matt wilkie Geomatics

Re: [gdal-dev] gdalbuildvrt does not support heterogenous band characteristics

2011-06-14 Thread Matt Wilkie
Likely Quickbird_06m10.tif has more or less bands than the previous files, or band bit depth is different. That was it, thanks. For some reason although they were all created from the same source and process (arcmap export selected area) some images are 8bit RGB and others 16bit grey

[gdal-dev] gdalwarp: ERROR 2: Out of memory allocating {number} byte destination buffer.

2011-06-08 Thread Matt Wilkie
365425784 byte destination buffer. -- matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca

Re: [gdal-dev] gdalwarp: ERROR 2: Out of memory allocating {number} byte destination buffer.

2011-06-08 Thread Matt Wilkie
Hi Frank, Thanks for the clear explanation. I've added, with light editing, to http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp. I imagine you will just have to use more modest buffers or else get a 64bit executable for gdalwarp. Running gdalwarp with defaults (no options specified) seems

Re: [gdal-dev] Table Names (FGDB)

2011-05-30 Thread Matt Wilkie
On 30/05/2011 2:47 PM, Paul Ramsey wrote: ...so probably FeatureClass and Table names have to be unique regardless of what FeatureDataset they appear in (true?). I'm not knowledgeable to comment on the aspects of your post, but I can confirm that yes FC and Table names must be unique

Re: [gdal-dev] nearblack troubles [SEC=UNCLASSIFIED]

2011-04-28 Thread Matt Wilkie
Worked for me using the following: #Change black to white gdalbuildvrt -srcnodata 0 -vrtnodata 255 to-be-decollared.vrt to-be-decollared.tif #Run nearblack -white nearblack -white -o decollared.tif to-be-decollared.vrt Luke, once again I thank you. :) matt wilkie

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Matt Wilkie
ArcGIS 10 FileGDB's right ? If the api allows for using gdb's from different versions then the test suite should have different versions too. In any case I can make v10 gdb's. Current GDAL trunk builds against FileGDB API beta3 under Linux 32bit. Too bad ESRI doesn't provide any 64bit build

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Matt Wilkie
with feature representations due in a couple of months, but I can make private subset release early if it's helpful. I'm willing to create and share other kinds for testing, just let me know what you're looking for. cheers, -- matt wilkie Geomatics

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-07 Thread Matt Wilkie
Perhaps try setting the environment variable GDAL_DRIVER_PATH to /usr/lib/gdal17plugins Ok, that finally did the trick. Thanks for your help. $ export GDAL_DRIVER_PATH=/usr/lib/gdal17plugins Is this normally set as part of the install? (e.g. should I report a packaging bug?) -- -matt

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-06 Thread Matt Wilkie
Did you run sudo ldconfig? yes -- -matt ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-05 Thread Matt Wilkie
So you should try sudo gdal-ecw-build /usr/local because you ./configure the ECW SDK without any installation prefix. Ahh, thanks Even. That let me run gdal-ecw-build without error, though there were lots of deprecation warnings. gdalinfo --formats |grep -i ecw still comes back empty however.

[gdal-dev] error adding ecw on Ubuntu 10.4 (lucid)

2011-02-04 Thread Matt Wilkie
Hi Folks, I'm trying to add ECW read support to gdal in Ubuntu 10.4 (Lucid) amd64 and not having much luck. The end goal is simply to be able to view ecw images in QGIS. What I've tried to date follows. Edited for space, things were not actually installed all at the same time or in the order as

Re: [gdal-dev] Licensing Policy for drivers and applications

2011-02-01 Thread Matt Wilkie
Well said Frank. Thank you. matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca/geomatics

Re: [gdal-dev] Licensing Policy for drivers and applications

2011-01-31 Thread Matt Wilkie
osgeo4w's bundling or the current RFC under discussion to be much different from enabling Ubuntu's universe and restricted-driver repositories. matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns

[gdal-dev] FileGDB API beta opens

2011-01-26 Thread Matt Wilkie
://resources.arcgis.com/node/agreement/3193 cheers, -- matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca

Re: [gdal-dev] ESRI file geodatabase API finally announced

2010-12-14 Thread Matt Wilkie
http://blogs.esri.com/Dev/blogs/geodatabase/archive/2010/12/13/File-Geodatabase-API-details.aspx Thanks for the heads up Bart. The anouncement is for commencement of beta in January: Thanks for your interest in the File Geodatabase API. The beta program for the File Geodatabase API is

Re: [gdal-dev] geoPDF file not recognized as a supported format by GDAL1.8dev ?

2010-10-14 Thread Matt Wilkie
yes, GDAL should be able to read geoPDF topo files from the USGS. (geospatial PDF is more neutral term than geoPDF that happens to be a trademark This is great news, thanks! -matt ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] ArcGIS 10

2010-08-17 Thread Matt Wilkie
Jason, thank you for this detailed explanation of goings on behind the curtain. Much of it is over my head, but I appreciate being able to now percieve the outline of the shadowy shapes in the fog. :) matt wilkie Geomatics Analyst Information

[gdal-dev] [off-topic] public beta for GIS Stack Exchange

2010-07-29 Thread Matt Wilkie
/* cheers, -- matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca/geomatics

[gdal-dev] [off-topic] Help build GIS specific Stack Exchange

2010-07-02 Thread Matt Wilkie
Hello Folks, It's just a proposal right now, but with your help it could become a reality, a vendor neutral /QA site for programmers, DBAs, Cartographers, Geographers and anyone interested in GIS professionally/ Come aboard and help build an information-rich community based gis technical

Re: [gdal-dev] Re: ESRI file geodatabase support

2010-06-30 Thread Matt Wilkie
7) ??more ideas/requests?? - Have metadata as part of the file, rather than a separate file, to avoid getting lost when copying data YES please! matt wilkie Geomatics Analyst Information Management and Technology Yukon Department

Re: [gdal-dev] Re: ESRI file geodatabase support

2010-06-30 Thread Matt Wilkie
For what it's worth, here is the reply I recieved from ESRI regarding the release plans. In a follow on message I also asked whether the API would require runtime licensing or similar, to which I've not received a reply; I waited a week or so. Hi Matt, To answer your question

[gdal-dev] Re: ESRI file geodatabase support

2010-06-16 Thread Matt Wilkie
So the question is: is it true that for a new universal spatial format to be born it has to have at least read support in the closed source world? If spatialite, or something like it, sees widespread use elsewhere ESRI will read it. Heck they already incorporate gdal, even to the point of

[gdal-dev] Re: ESRI file geodatabase support

2010-06-15 Thread Matt Wilkie
I think discussing a shapefile successor, or even perhaps a code sprint, is a very good topic for FOSS4G. This same thread that we're weaving now is/has happened on a number mailing lists and usually generated dozens of responses each time. The interest is clear. From my vantage the germinating

Re: [gdal-dev] ESRI file geodatabase support

2010-06-11 Thread Matt Wilkie
* ESRI conferences to ask about both a public file format specifcation and programming API to the file geodatabase. best regards, matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road

Re: [gdal-dev] ESRI file geodatabase support

2010-06-11 Thread Matt Wilkie
[Chris] While ESRI would ideally like to open the file geodatabase format in a manner similar to what we did for shapefiles when we released ArcView 2, geodatabases are complex and can be easily corrupted outside the ArcGIS environment. Well, that to me says that either ESRI is mis-informing

Re: [gdal-dev] ESRI file geodatabase support

2010-06-09 Thread Matt Wilkie
://www.spatialdbadvisor.com/blog/121/the-shapefile-manifesto/ matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http

Re: [gdal-dev] ESRI file geodatabase support

2010-06-09 Thread Matt Wilkie
If you want to know how to use it, I sent an e-mail to the mailing list earlier http://www.mail-archive.com/gdal-dev@lists.osgeo.org/msg05562.html Hi Ragi, thanks for re-posting this. I missed the earlier announcement. matt wilkie Geomatics

Re: [gdal-dev] Pretty Much Off Topic: Development IDEs

2010-06-02 Thread Matt Wilkie
Perhaps not an IDE as most people think of them, but it is certainly a useful tool with some IDE qualities: Leo Outlining Editor - http://webpages.charter.net/edreamleo/front.html cheers, matt wilkie Geomatics Analyst Information Management

[gdal-dev] difference between -a_nodata and -dstnodata?

2010-06-01 Thread Matt Wilkie
Dear GDAL, What is the difference between gdal_translate's assign nodata and gdalwarp's destination nodata? thanks! -- matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse

[gdal-dev] off-topic: Canadian geospatial data, updating

2010-05-21 Thread Matt Wilkie
of you: are you aware of any data warehouse service which might be coaxed into mirroring this data and making it available by rysnc? thank you for your thoughts, -- matt wilkie Geomatics Analyst Information Management and Technology Yukon Department

Re: [gdal-dev] Will gdalinfo generate the pam .aux.xml files?

2010-05-10 Thread Matt Wilkie
On 10/05/2010 11:40 AM, Chaitanya kumar CH wrote: Check if gdalinfo creates the xml files when used with the -stats option on your images. But be careful with 32bit float rasters. I just filed a bug on gdalinfo -stats not computing min/max properly on these,

Re: [gdal-dev] Installing additional packages for python in OSGeo4W

2010-05-07 Thread Matt Wilkie
and is not as widely tested. cheers, matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca

Re: [gdal-dev] Installing additional packages for python in OSGeo4W

2010-05-06 Thread Matt Wilkie
in Windows registry - http://trac.osgeo.org/osgeo4w/ticket/114 Longer term, I'd like see ipython added to the o4w packages list, but have not had the time to devote to it yet. cheers, matt wilkie Geomatics Analyst Information Management and Technology

Re: [gdal-dev] Reading compressed GZIP files

2009-11-20 Thread Matt Wilkie
As a side note, I’m sure this has come up before, but I couldn’t find a search engine to for the entire e-mail archives. Am I just missing it? Mail archive is nice and speedy, not sure of it's reach: http://www.mail-archive.com/gdal-dev@lists.osgeo.org/maillist.html Nabble goes back to

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-20 Thread Matt Wilkie
no plans to support it. Well I for one will open a request with ESRI tech support to add a driver for it - after I prove to myself that spatial-lite will work satisfactorily in-house of course. cheers, matt wilkie Geomatics Analyst Information Management

Re: [gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-20 Thread Matt Wilkie
\bin\ which you can use as a model for your own to get started. cheers, matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax

Re: [Gdal-dev] GDAL scripting with Python 2.5 (on windows)

2009-10-20 Thread Matt Wilkie
://trac.osgeo.org/osgeo4w/ticket/114 cheers, matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-16 Thread Matt Wilkie
. And thanks for the pouinter. It made interesting reading and likely largely covers the ground this thread might, should it continue. best regards, matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-14 Thread Matt Wilkie
to an intermediate state to transfer to another machine or medium and then import on the other end. Maybe this is more properly a limitation of the readily available tools than the storage format though. best regards, matt wilkie Geomatics Analyst

[gdal-dev] ANN: Apt commandline installer for OSGeo4W now at v0.0-2

2009-10-09 Thread Matt Wilkie
, especially on programming advice! Please use the o4w trac for logging bugs. Enjoy! -- matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-08 Thread Matt Wilkie
I'm by no way a vector expert, but for this kind of stuff I'd go the postgis way, at least for intermediate storage. I've thought of this but have shied away from it because of the overhead of installing postgis etc. just to get started. Time to get over my shyness perhaps :) cheers, matt

Re: [gdal-dev] how to batch rgb2pct

2009-10-08 Thread Matt Wilkie
:\historic_topos\rects\w\%%f v:\historic_topos\8bits\w\%%f ) or interactively from the command line: pushd v:\historic_topos\rects\w\ for %f in (*.tif) do rgb2pct %f ..\..\8bits\w\%f popd More info at http://ss64.com/nt/call.html cheers, matt wilkie

Re: [gdal-dev] Fastest vector format for combining shapefiles

2009-10-07 Thread Matt Wilkie
an idea of what to ask for either. best regards, matt wilkie Geomatics Analyst Information Management and Technology Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http

Re: [Gdal-dev] Compress via NTFS or in-image for performance?

2009-08-25 Thread Matt Wilkie
Thanks for your thoughts Chaitanya. I was hoping someone might have some data, but it looks like I might have to devise some tests and see which route works best in our environment. :) cheers, -matt -- View this message in context:

[Gdal-dev] Compress via NTFS or in-image for performance?

2009-08-21 Thread Matt Wilkie
Dear GDAL, Any thoughts on whether the best read/write performance vs disk space used is achieved through file system compression or in-raster compression? The former would be via Windows NTFS compact and the latter via TIFF LZW or perhaps JP2. thanks, -matt -- View this message in context:

Re: [Gdal-dev] gdal/ogr/proj and NAD83(CSRS)

2009-07-28 Thread Matt Wilkie
In future a person or program using data defined as NAD83(CSRS) will reasonably expect sub-meter datum accuracy, for that is the purpose of the datum. if this is not the case, it should not call itself such. The accuracy of any data is irrelevant to the projection it's in though. I can

Re: [Gdal-dev] gdal/ogr/proj and NAD83(CSRS)

2009-07-24 Thread Matt Wilkie
Is there a difference between NAD83 and NAD83 CSRS ? (the difference between NAD83/GRS80 and WGS84/WGS84 is usually neglectable). I have been operating on the presumption there must be _some_ kind of important difference else they wouldn't have gone through the bother of formulating and

Re: [Gdal-dev] gdal/ogr/proj and NAD83(CSRS)

2009-07-24 Thread Matt Wilkie
I suspect EPSG does not define a NAD83(CSRS) datum because it needs a dynamic reference frame definition, which cannot be approximated decently with a seven parameters transformation, anyway. So it would be not a proper approach. For clarity, EPSG does define a NAD83(CSRS) datum, it's

Re: [gdal-dev] Converting USGSDEM into GTOP30 DEM or DTED

2009-03-13 Thread Matt Wilkie
the case for CDED which was derived from DTED. best regards, matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http

Re: [gdal-dev] Border slivers and JPEG2000 compression

2008-12-18 Thread Matt Wilkie
and white images should compress pretty well. matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http

Re: [gdal-dev] Border slivers and JPEG2000 compression

2008-12-16 Thread Matt Wilkie
compressed airphotos so that color pixels can be treated as transparent when mosaicing. cheers, matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867

Re: [gdal-dev] gdalwarp -te units of source or target srs?

2008-11-20 Thread Matt Wilkie
for the kind upward estimation of my coding ability though! cheers, matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http

[gdal-dev] gdalwarp -te units of source or target srs?

2008-11-19 Thread Matt Wilkie
( 499519.945, 987640.863) (141d 0'34.57W, 63d22'43.99N) thanks, -- matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003

Re: [gdal-dev] gdalwarp -te units of source or target srs?

2008-11-19 Thread Matt Wilkie
the same order? The -te arguments are in the output file coordinate system. Perhaps this could be added to http://www.gdal.org/gdalwarp.html for clarification. thanks again! (I was really pulling my hair out) matt wilkie Geographic Information

[gdal-dev] ogr2ogr: why only inserting the first file?

2008-11-06 Thread Matt Wilkie
, -- matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax http://environmentyukon.gov.yk.ca/geomatics

Re: [gdal-dev] gdal_priv.h not found on ubuntu

2008-10-29 Thread Matt Wilkie
Try: g++ -I/usr/include/gdal hillshade.cpp -lgdal -o hillshade Thank you for the suggestion, still no good though: :~/src/demtools$ g++ -I/usr/include/gdal hillshade.cpp -lgdal -o hillshade /usr/bin/ld: cannot find -lgdal collect2: ld returned 1 exit status :~/src/demtools$ g++

[gdal-dev] gdal_priv.h not found on ubuntu

2008-10-28 Thread Matt Wilkie
Hello Folks, I could use some hand-holding please... :) I'm trying to compile Matt Perry's hillshade [http://www.perrygeo.net/wordpress/?p=7] utility on Ubuntu 8.10 (amd64 if that makes a difference). I'm told hillshade.cpp:24:23: error: gdal_priv.h: No such file or directory. I have installed

Re: [gdal-dev] nodata value assigned via script

2008-10-17 Thread Matt Wilkie
/classGDALRasterBand.html#c6f081d253dee55c372e54cfdd8f05a6 cheers, matt wilkie Geographic Information, Information Management and Technology, Yukon Department of Environment 10 Burns Road * Whitehorse, Yukon * Y1A 4Y9 867-667-8133 Tel * 867-393-7003 Fax

Re: [gdal-dev] gdal_merge and the treatment of nodata value

2008-09-03 Thread Matt Wilkie
these are scanned maps, the edges may not be pure white or black, in which case you may need to pre-process with the nearblack utility: http://www.gdal.org/nearblack.html cheers, matt wilkie Geographic Information, Information Management

Re: [gdal-dev] Amusing use of GDAL API : a GIMP plugin

2008-09-02 Thread Matt Wilkie
digital elevation models, has led me to VIPS (http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS), though as yet I've not had the time to explore the possibility. cheers, matt wilkie Geographic Information, Information Management and Technology

Re: [gdal-dev] About palette/color table expansion

2008-08-06 Thread Matt Wilkie
Thanks Even! This perfectly matches a task I have, and lets me cast half a dozen scripts I've created with the pctrgb workaround into the compost bin. :) matt wilkie Geographic Information, Information Management and Technology, Yukon Department