Re: [gdal-dev] ubuntu installation issue: free(): invalid pointer, Aborted (core dumped)

2021-05-08 Thread Bryan Keith
nst 2 PROJ versions libproj.so.15 and libproj.so.19. Make sure your libspatialite and libgeotiff versions are from the ubuntugis PPA, so they link gainst libproj.so.19 and no .so.15 Le 08/05/2021 à 16:42, Bryan Keith a écrit : Yes, I'm using the ubuntugis ppa with 3.2.1+dfsg-1~focal0 but

Re: [gdal-dev] ubuntu installation issue: free(): invalid pointer, Aborted (core dumped)

2021-05-08 Thread Bryan Keith
09 bytes in 4,443 blocks ==9770==   total heap usage: 8,799 allocs, 4,391 frees, 1,649,539 bytes allocated ==9770== ==9770== LEAK SUMMARY: ==9770==    definitely lost: 2,583 bytes in 41 blocks ==9770==    indirectly lost: 39,830 bytes in 735 blocks ==9770==  possibly lost: 0 bytes in 0 block

[gdal-dev] ubuntu installation issue: free(): invalid pointer, Aborted (core dumped)

2021-05-08 Thread Bryan Keith
Hello, I am trying to install GDAL on Ubuntu.  When I check the installation, I get this: ogrinfo --version GDAL 3.2.1, released 2020/12/29 free(): invalid pointer Aborted (core dumped) Hmmm, what to do? I installed like this: sudo apt-get install gdal-bin My Python installations look like

Re: [gdal-dev] skipping date type detection of GeoJSON properties

2020-01-08 Thread Keith Jenkins
und like the option controls how the output is written. Keith ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] skipping date type detection of GeoJSON properties

2020-01-08 Thread Keith Jenkins
Wow, that was fast! This looks great. Many thanks, Keith On Tue, Jan 7, 2020 at 4:35 PM Even Rouault wrote: > > > ... ogr2ogr converts the identifiers to "3000\/02\/31" and "2000\/01\/01". > > > > Is there any way to preserve the original formattin

[gdal-dev] skipping date type detection of GeoJSON properties

2020-01-07 Thread Keith Jenkins
{ "type": "Feature", "properties": { "identifier": "2000-01-01", "name":"b" }, "geometry": { "type": "Point", "coordinates": [ 2, 1 ]

[gdal-dev] Re: calling gdalinfo from python

2010-10-01 Thread keith
Thanks Even! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/calling-gdalinfo-from-python-tp5592721p5592796.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org ht

[gdal-dev] calling gdalinfo from python

2010-10-01 Thread keith
I'm just learning python and have imported gdalinfo.py, but I'm not sure how to call it. Is it gdalinfo.main('myimage.img') It's just giving me back the usage. The image file exists in the current working directory. Thanks for any help! Using Python 2.6. -- View this message in context: http:/

Re: [gdal-dev] ogr: linestring2d to linestring3d?

2010-07-02 Thread Bryan Keith
Sure. Sent in a separate e-mail since I doubt gdal-dev takes attachments. If you improve it (it certainly could be cleaned up and made more robust), send me the improvements please. Bryan > Bryan, > > Perhaps you could share that script with us. > > On Fri, Jul 2, 2010 at 5:40

Re: [gdal-dev] ogr: linestring2d to linestring3d?

2010-07-02 Thread Bryan Keith
Oh, even better. I found my old code. Thanks for listening while I answer my own questions. Bryan now happy camper, improving notes on local wiki... > Haha, I asked the same thing 3.5 years ago: > > http://www.osgeo.org/pipermail/gdal-dev/2007-January/011546.html > > and apparently I wrote a sc

Re: [gdal-dev] ogr: linestring2d to linestring3d?

2010-07-02 Thread Bryan Keith
Haha, I asked the same thing 3.5 years ago: http://www.osgeo.org/pipermail/gdal-dev/2007-January/011546.html and apparently I wrote a script which I'm unable to find at this point. Anyone have anything handy? Bryan > Hello, > > I have a linestring shapefile with an elevation attribute. Is the

[gdal-dev] ogr: linestring2d to linestring3d?

2010-07-02 Thread Bryan Keith
Hello, I have a linestring shapefile with an elevation attribute. Is there a way using ogr2ogr (or some other command line tool) to write out a linestring3d shapefile which transfers the values of that attribute to the z value of each point in the line? Bryan ___

[gdal-dev] Is a way to just get the minimum bounding polygon of just the image.

2010-06-09 Thread keith lewis
id sampled pixels outside are nulls. extract_vertices You may need to install OSSIM to get the command-line tools. http://download.osgeo.org/ossim/ Keith ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Unable to set GDAL_merge NODATA or calculate statistics

2010-04-01 Thread Olsen, Keith
with GDAL (c++). Thanks, --Keith Olsen ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] extract vector/raster data from GeoPDF

2009-08-07 Thread keith lewis
that contain geospatial data. I'm sure someone will eventually release a tool. Keith ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] convert lines to polygons (2nd post)

2009-06-25 Thread Bryan Keith
Hello, I'm posting this a second time because I see that by replying to an older gdal-dev message, my first message was put in that thread by some e-mail clients that sort threaded messages. Sorry for the repeat. I'm using BuildPolygonFromEdges in ogr in an attempt to take some lines and convert

[gdal-dev] convert lines to polygons

2009-06-24 Thread Bryan Keith
Hello, I'm using BuildPolygonFromEdges in ogr in an attempt to take some lines and convert them to polygons. For a number of my sets of lines BuildPolygonFromEdges fails. I think this is because the lines aren't closed. Is there a way to put a tolerance into BuildPolygonFromEdges so that nodes

Re: [gdal-dev] Python Scripts

2009-06-05 Thread Bryan Keith
kss, That's in the gdal-dev branch (I don't really know my way around the doe repository). I use both Windows and Linux, and as I recall, it was easier for me to get it running in Windows using the OSGeo4W installer then to rebuild on Linux. I know that's not much info, but maybe it's helpful.

RE: [gdal-dev] Local coordinate system and proj4

2009-05-20 Thread Bryan Keith
pro > though > so take my advice with a grain of salt. > > Martin > > -Original Message- > From: gdal-dev-boun...@lists.osgeo.org > [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Bryan Keith > Sent: Wednesday, May 20, 2009 2:11 PM > To: gdal-dev@lists.osgeo.

[gdal-dev] Local coordinate system and proj4

2009-05-20 Thread Bryan Keith
Hello, I've been sent an ESRI coordinate system file (.prj) that looks like this: PROJCS["Unknown",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Local"],PARAMETER["False_Easting",68396.

[gdal-dev] gdal_fillnodata does not write out nodata value to metadata

2009-04-01 Thread Bryan Keith
When I run gdal_fillnodata, it fills some of my nodata spaces and doesn't fill others because I specify -md. However, the output file doesn't have the nodata value written out in the metadata. Is this the expected behaviour? See more details below. Bryan >gdalinfo -mm dem_nd.tif Driver: GTiff/

Re: [gdal-dev] saving numpy array as ascii raster

2009-03-05 Thread Bryan Keith
> Hi, > Thanks for your quick reply. > When I edit my code function to be: > def WriteRaster (dst_filename, raster): > > format = "AAIGrid" > driver = gdal.GetDriverByName( format ) > dst_ds = driver.Create( dst_filename, 71, 73,\ > 1,gdal.GDT_Float32,options=[

Re: [gdal-dev] saving numpy array as ascii raster

2009-03-05 Thread Bryan Keith
> Hello Again, > def WriteRaster (dst_filename, raster): > > format = "GTiff" Oz, You're creating a geotiff. Try: format = "AAIGrid" > driver = gdal.GetDriverByName( format ) > dst_ds = driver.Create( dst_filename, 71, 73,\ >1,gdal.GDT_Float32,options=["

Re: [gdal-dev] how to find gdal_fillnodata

2009-03-04 Thread Bryan Keith
Hello, See below. I'm sending this again since I still don't have the issue resolved. Bryan >> Bryan Keith wrote: >>> Hello, >>> >>> I combined two DEM datasets with gdal_merge, and there's a broken strip >>> of >>> nodata betwe

Re: [gdal-dev] how to find gdal_fillnodata

2009-02-17 Thread Bryan Keith
> Bryan Keith wrote: >> Hello, >> >> I combined two DEM datasets with gdal_merge, and there's a broken strip >> of >> nodata between the two. What gdal utility can I use to fix this? I >> found >> references to gdal_fillnodata on the web, but

[gdal-dev] how to find gdal_fillnodata

2009-01-28 Thread Bryan Keith
Hello, I combined two DEM datasets with gdal_merge, and there's a broken strip of nodata between the two. What gdal utility can I use to fix this? I found references to gdal_fillnodata on the web, but I don't have it. I installed FWTools 2.2.8 on windows, but that doesn't seem to include gdal_f

Re: [gdal-dev] query raster values by xy-location

2008-09-29 Thread Bryan Keith
Attached is some python code you can use to return the value at a cell given an xy. It does not interpolate. I have a different function for that if that's what you want. Bryan > Hi, > > 2008/9/26 <[EMAIL PROTECTED]> > >> >> I have an ESRI ascii raster and would like to get the raster values at