[gdal-dev] profiles in gdal2tiles.py

2021-09-17 Thread Brent Fraser
n existing tool? Thanks! Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Problem in ogr converting polygon coverages

2017-06-29 Thread Brent Fraser
You're awesome Even! Thanks! Brent From: "Even Rouault" Sent: Thursday, June 29, 2017 2:29 PM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Problem in ogr converting polygon coverages On jeudi 29 juin

[gdal-dev] Problem in ogr converting polygon coverages

2017-06-29 Thread Brent Fraser
11/Coverages/rgc_a11_20090105_CEXPREA.e00 and use "avcimport" to convert it to a coverage avcimport gc_a11_20090105_CEXPREA.e00 ea_20090105 then use the ogrinfo command shown above. -- Best Regards, Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org h

[gdal-dev] PDF and EXTRA_STREAM

2016-02-04 Thread Brent Fraser
the extra in a separate file? -- Best Regards, Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Feature request: gauss and other interpolations in gdalwarp

2013-03-29 Thread Brent Fraser
wavelet compression on scanned topographic maps when downsampling made the text more readable (preserves edges more). I used ECW back then, but I suspect JPEG2000 may do it as well... Best Regards, Brent Fraser On 3/28/2013 5:27 AM, Jan Hartmann wrote: Perhaps I should clarify a bit what I meant

Re: [gdal-dev] Ignore geometry_columns table in VRT

2012-12-31 Thread Brent Fraser
Tyler, So using GeometryField encoding='WKT' field='myWKT'/ in the VRT doesn't work when used with Mapserver? Best Regards, Brent Fraser On 12/31/2012 2:04 PM, Tyler Mitchell wrote: On 2012-12-31, at 12:17 PM, Stephen Woodbridge wrote: Just from code looking, I see

Re: [gdal-dev] Ignore geometry_columns table in VRT

2012-12-31 Thread Brent Fraser
Tyler, Hmm. I did the same thing with spatial data in a non-spatial version of SQL Server (via ODBC), using a VRT within a .map file. Not sure if I had any polygons; maybe just points and lines. Must be a bug Best Regards, Brent Fraser On 12/31/2012 3:59 PM, Tyler Mitchell wrote

Re: [gdal-dev] OGR XYZ - GDAL VRT?

2012-12-20 Thread Brent Fraser
(but it might give you a few ideas). Hopefully I've understood at least some of what you are trying to accomplish. At first I thought you wanted a GDAL VRT that defines a raster, referencing an OGR VRT as the source data and defining a method of producing a grid. Yikes! Best Regards, Brent Fraser

Re: [gdal-dev] OGR XYZ - GDAL VRT?

2012-12-20 Thread Brent Fraser
Hmmm. You need the GDAL-VRT format to have the same data-source flexibility currently in the OGR-VRT. Could be a useful enhancement with the growing interest in storing rasters in a RDBMs... Best Regards, Brent Fraser On 12/20/2012 10:38 AM, Tyler Mitchell wrote: On 2012-12-20, at 7:34 AM

Re: [gdal-dev] creating a shape from another with attributes and values

2012-12-04 Thread Brent Fraser
) != OGRERR_NONE ){ printf( Creation of field failed.\n ); } } Best Regards, Brent Fraser On 12/4/2012 4:53 AM, SIVA RAMA KRISHNA wrote: To All, I am using the following code for creating a shape file from another with the attributes value; i am unable to fetch attribute

Re: [gdal-dev] Orthorectification iN GDAL

2012-10-17 Thread Brent Fraser
As far as I know, GDAL will orthorectify images supplied with RPC data (e.g. Digital Globe's Worldview/Quickbird, GeoEye's Iknonoe, GeoEye1, etc) but not Spot imagery. You could use OSSIM to orthorectify Spot. Best Regards, Brent Fraser On 10/17/2012 5:22 AM, Luis Lisboa wrote: Greetings I

Re: [gdal-dev] Open Source GIS Raster Viewer

2012-10-12 Thread Brent Fraser
Regards, Brent Fraser On 10/12/2012 10:37 AM, Tyler Mitchell wrote: I'd recommend the OSSIM platform which as various additional image processing utilities that you will find useful. If you just need desktop GIS viewing functionality, I suggest QGIS which will read all GDAL image formats fine

Re: [gdal-dev] gdaltransform with gcps from file

2012-06-23 Thread Brent Fraser
Jan, Dunno about using the srcfile parameter in gdaltransform, but while using gdal_translate, I have used the --optfile option and put multiple -gcp commands in it. Perhaps it would work with gdaltransform too... Best Regards, Brent Fraser On 6/23/2012 6:23 AM, Jan Hartmann wrote: Silly

[gdal-dev] image outline polygons with keys

2012-06-09 Thread Brent Fraser
software. GeoKettle may be an answer, but it has a steep learning curve... -- Best Regards, Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] JAXAPalsar 1.0 1.1 extended metadata reading support

2012-06-05 Thread Brent Fraser
Has there been any progress in reading AVNIR2 data? GDAL's ceos driver doesn't support georeferencing... Best Regards, Brent Fraser On 6/27/2011 6:56 AM, Rodolfo Bonnin wrote: Hello Antonio, I'll read the specs regarding JaxaPalser type, out software is reading those and they look well

Re: [gdal-dev] ogr ODBC problem

2012-05-31 Thread Brent Fraser
CLOSE_CONNECTION=DEFER DATA v_MyPoints In my case I was able to use the view's primary key as the FID. Hope this helps... Best Regards, Brent Fraser On 5/31/2012 7:48 AM, steve.tout...@inspq.qc.ca wrote: Thanks Jeff I got now OGR_ODBC: Table ?s???s!.? has no identified FID column

Re: [gdal-dev] RE [Polluriel potentiel] Re: ogr ODBC problem

2012-05-31 Thread Brent Fraser
column? Best Regards, Brent Fraser On 5/31/2012 10:11 AM, steve.tout...@inspq.qc.ca wrote: Thanks Brent for your answer. But view's primary key? I'm missing something here...What do you mean by that? Do you mean a column with a unique id in the view? There is no such column in my view

Re: [gdal-dev] RE [Polluriel potentiel] Re: ogr ODBC problem [SOLVED]

2012-05-31 Thread Brent Fraser
Steve, That's good news. I did run into the spaces problems on Windows (I had a space between the comma and the table name). It caused the connection to fail. Best Regards, Brent Fraser On 5/31/2012 12:14 PM, steve.tout...@inspq.qc.ca wrote: for ogrinfo we were using, as explained

Re: [gdal-dev] how to convert UInt16 Tiff

2012-04-24 Thread Brent Fraser
} } [ -ndv no_data_val ] Input must be either 8-bit or 16-bit. Output is 8-bit. I think the input can be any GDAL supported raster type. Best Regards, Brent Fraser On 4/24/2012 2:53 AM, jr.morre...@enoreth.net wrote: On Tue, 24 Apr 2012 09:38:44 +0200, Even Rouault wrote: thanks for the reply, I did

Re: [gdal-dev] Contrast, Brightness and Gamma

2012-03-20 Thread Brent Fraser
] Input must be either 8-bit or 16-bit. Output is 8-bit. For example: gdal_contrast_stretch -percentile-range 0.02 0.98 input16bit.tif output8bit.tif Best Regards, Brent Fraser On 3/20/2012 9:55 AM, Saâd HESSANE wrote: Hi list, I use gdal_translate to convert 16bits images to 8bits images

Re: [gdal-dev] PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
If you're looking for a geospatial pdf with layers, the Canadian government publishes some of their topographic maps as pdf. Here's a link to one: ftp://ftp2.cits.rncan.gc.ca/pub/cantopo/50k_geopdf/085/b/cantopo_085b14_geopdf.zip Best Regards, Brent Fraser On 3/5/2012 1:29 AM, Jukka

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
I thought the PDF driver was read-only. Does the changeset include the creation of a geospatial pdf? Best Regards, Brent Fraser On 3/5/2012 7:59 AM, Jukka Rahkonen wrote: Brent Fraserbfraserat geoanalytic.com writes: If you're looking for a geospatial pdf with layers, the Canadian

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
Cool. Now if we could get it writing vectors... Best Regards, Brent Fraser On 3/5/2012 8:10 AM, Jukka Rahkonen wrote: Brent Fraserbfraserat geoanalytic.com writes: I thought the PDF driver was read-only. Does the changeset include the creation of a geospatial pdf? Read thread Trouble

Re: [gdal-dev] Re: PDF selective layer sample wanted

2012-03-05 Thread Brent Fraser
I need more coffee. Thanks! Best Regards, Brent Fraser On 3/5/2012 8:22 AM, Rahkonen Jukka wrote: Hi, I did mean that with contains vector graphics and zoom in and enjoy. -Jukka- Brent Fraser wrote: Cool. Now if we could get it writing vectors... Best Regards, Brent Fraser On 3/5

[gdal-dev] org2ogr, KML, and srs definition

2012-02-18 Thread Brent Fraser
about source/target SRS issues. It seems counter-intuitive since ogrinfo was able to intreprete the .prj file of the source data, and the only (?) allowable SRS of KML is EPSG:4326. It this a known issue (other than a related http://trac.osgeo.org/gdal/ticket/2271)? -- Best Regards, Brent

Re: [gdal-dev] GeoPDF translation

2011-12-13 Thread Brent Fraser
Michael, GDAL's PDF format page says you can use the GDAL_PDF_DPI config option... Best Regards, Brent Fraser On 12/13/2011 11:58 AM, Smith, Michael wrote: I am trying to convert thehistoric USGS topo maps

Re: [gdal-dev] how to get gis layer information from GeoPDF (e.g. retrieve building polygon coordinates)

2011-12-02 Thread Brent Fraser
I wonder if it would be possible to leverage pstoedit (http://www.pstoedit.net/)? I've used it with Ghostview to extract PDF vectors to DXF (with no georeferencing of course) with varying success. Best Regards, Brent Fraser On 12/2/2011 3:37 PM, Even Rouault wrote: Le vendredi 02 décembre

Re: [gdal-dev] Re: Problem joining a shapefile and MDB

2011-11-18 Thread Brent Fraser
and had to force 32bits connections using 32bits ODBC manager at C:\Windows\SysWOW64\odbcad32.exe Best Regards, Brent Fraser On 11/18/2011 2:00 PM, boesiii wrote: Even, What is the correct procedure to upgrade a MS4W installation? I downloaded release-1310-gdal-1-8-1-mapserver-6-0-1.zip and I

[gdal-dev] 2D KML to 3D KML

2011-09-21 Thread Brent Fraser
Earth -- Best Regards, Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Percent stretch 16 to 8-bit geotiff conversion

2011-09-07 Thread Brent Fraser
Have a look at http://www.gina.alaska.edu/projects/gina-tools/ Best Regards, Brent Fraser On 9/7/2011 2:22 PM, David Shean wrote: Forgive me if this is not the proper forum (no gdal-users list?) or if this question has been answered in the past - I've been using GDAL for a while now

Re: [gdal-dev] adding georeferencing information

2011-09-05 Thread Brent Fraser
with gdal_translate -of VRT, then use a text editor to change the SimpleSource tags to KernelFilteredSource and add the Kernel. You can then create a sharpened tif by using the VRT as input to gdal_translate, os simply open the VRT in Quantum GIS to view the results. Best Regards, Brent

Re: [gdal-dev] Re: Wildfire mapping

2011-08-16 Thread Brent Fraser
would be a lot of work, but it does sound interesting! Best Regards, Brent Fraser On 8/15/2011 10:35 PM, Mark Zaller (AerialFireTech) wrote: Hello, I'm pursuing a project to automatically map wildfires, and am looking for people who could contribute to this. I volunteer as an Air Attack pilot

Re: [gdal-dev] Re: How to use gdalinfo for HDF- Windows

2011-08-10 Thread Brent Fraser
in D it does not work. Any suggestions? 2011/8/9 Brent Fraser bfra...@geoanalytic.com mailto:bfra...@geoanalytic.com Luisa, I use GDAL to access MODIS data in HDF4 on Windows like this: gdalinfo HDF4_EOS:EOS_SWATH:G:\Projects\temp\image3\MOD02HKM.A2011186.1640.005

Re: [gdal-dev] Re: How to use gdalinfo for HDF- Windows

2011-08-09 Thread Brent Fraser
Luisa, I use GDAL to access MODIS data in HDF4 on Windows like this: gdalinfo HDF4_EOS:EOS_SWATH:G:\Projects\temp\image3\MOD02HKM.A2011186.1640.005.NRT.hdf:MODIS_SWATH_Type_L1B:EV_500_RefSB So I'd suggest using double quotes around your path. Best Regards, Brent Fraser On 8/9/2011 8:24

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

2011-06-14 Thread Brent Fraser
(and other files in the VRT)? Best Regards, Brent Fraser On 6/14/2011 1:13 PM, Matt Wilkie wrote: 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

Re: [gdal-dev] Clipping multi-polygons shapefiles with Geometry.Intersection . Any help to fix out my method?

2011-05-31 Thread Brent Fraser
It may help to supply a small test dataset that causes the problem. Best Regards, Brent Fraser On 5/31/2011 1:28 AM, hajer wrote: No idea about this issue?? Thanks for help ! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-dev-Clipping-multi-polygons-shapefiles

[gdal-dev] Re: [mapserver-users] OGRinfo works, but a MapServer test mode=map DOES NOT

2011-05-26 Thread Brent Fraser
Eduardo, What happens when you use ogrinfo to access it via ODBC: ogrinfo ODBC:my_user/my_passwd@my_dsn or if you put the connection in a vrt file and use ogrinfo on it? Best Regards, Brent Fraser On 5/26/2011 4:26 AM, Eduardo Kanegae wrote: Hi all, I´m running Windows Server 2008 R2

Re: [gdal-dev] PDF--JPEG--KML. Confused about association between KML bounding box and PDF's neatline and corner coordinates.

2010-10-20 Thread Brent Fraser
can convince Even to add an option to convert only the mapped area (or mask everything else?) Best Regards, Brent Fraser On 10/20/2010 8:07 AM, Boris Dev wrote: My objective is to make a KML ground overlay with a geospatial PDF map. Using GDAL's translate utility I have converted the PDF

Re: [gdal-dev] PDF--JPEG--KML. Confused about association between KML bounding box and PDF's neatline and corner coordinates.

2010-10-20 Thread Brent Fraser
into the image. Perhaps we can convince Even to add an option to convert only the mapped area (or mask everything else?) Best Regards, Brent Fraser On 10/20/2010 8:07 AM, Boris Dev wrote: My objective is to make a KML ground overlay with a geospatial PDF map. Using GDAL's translate utility I have

Re: [gdal-dev] building with PDF driver on Windows + ?

2010-10-19 Thread Brent Fraser
building of VB6 support (ATL is not included in VC Express Ed. or the SDK) 5. Build GDAL with VC's command line: nmake -f makefile.vc Many thanks to Joaquim and Even for pointing the way... Best Regards, Brent Fraser On 10/17/2010 12:39 PM, Joaquim Luis wrote: On 17-10-2010 19:24, Brent Fraser

[gdal-dev] Testing Geospatial PDF support

2010-10-19 Thread Brent Fraser
! Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] building with PDF driver on Windows + ?

2010-10-17 Thread Brent Fraser
I'm about to embark on compiling Poppler on Windows to get Geospatial PDF support in GDAL. Any recommendations with respect to compiler version, dependencies, CMake options, etc? Thanks! Brent Fraser On 10/14/2010 3:23 PM, Joaquim Luis wrote: Did I mention before that the propeller (sorry

Re: [gdal-dev] building with PDF driver on Windows + ?

2010-10-17 Thread Brent Fraser
Joaquim, Many thanks for the info. I may go the kde-win32 route for now to skip the building of poppler.lib, but I expect that eventually I may need to build it from source, especially for mapserver. Thanks again, Brent Fraser On 10/17/2010 12:11 PM, Joaquim Luis wrote: Brent, From

Re: [gdal-dev] gdaldem color-relief color_text_files

2010-10-15 Thread Brent Fraser
Mark, Here's a color-by-elevation file from VTP (http://vterrain.org/). You'll have to edit it to get it into GDAL's format: Best Regards, Brent Fraser colormap1 blend: 1 relative: 0 size 35 elev -6800.00 color 255 255 255 elev -6400.00 color 20 20 30 elev

Re: [gdal-dev] OGR OVF has no identified FID column

2010-08-20 Thread Brent Fraser
Regards, Brent Fraser David Lowther wrote: D:\Utility\ms4w\tools\gdal-ogrogrinfo test.ovf PointData --debug on ERROR 4: Update access not supported for VRT datasources. OGR_ODBC: EstablishSession(DSN:CLO, userid:un, password:pw) ODBC: SQLConnect(CLO) OGR_ODBC: Table PointData has no identified FID

Re: [gdal-dev] OGR OVF has no identified FID column

2010-08-19 Thread Brent Fraser
datasource `test.ovf' with the following drivers. - ESRI Shapefile David Lowther Coordinate Solutions, Inc. -Original Message- From: Brent Fraser [mailto:bfra...@geoanalytic.com] Sent: Thursday, August 19, 2010 3:15 PM To: David Lowther Cc: gdal-dev@lists.osgeo.org Subject: Re

Re: [gdal-dev] Raster Strategies Examples

2010-08-09 Thread Brent Fraser
, Brent Fraser Edi KARADUMI wrote: I have read many strategies for raster performance, but i still have problems with my case. The posts that i have read explain the strategie, but are not very detailed. Im new to mapserver so i have problems implementing them. My case is: -about 6000 tiles

Re: [gdal-dev] OGR and SpatiaLite

2010-03-12 Thread Brent Fraser
Execellent! Thanks! Brent Yewondwossen Assefa wrote: Brent, MS4W 3 Beta 10's OGR was not build with that -DHAVE_SPATIALITE. Next version would have it (bug refernece: http://bugzilla.maptools.org/show_bug.cgi?id=2167) regards, Brent Fraser wrote: Tamas, I was afraid of that. I'm

[gdal-dev] OGR and SpatiaLite

2010-03-11 Thread Brent Fraser
What would ogrinfo --formats show if GDAL was compiled with HAVE_SPATIALITE set? What would it show if only SQLite (and not SpatiaLite) was compiled in? Thanks! Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org

Re: [gdal-dev] OGR and SpatiaLite

2010-03-11 Thread Brent Fraser
. Best regards, Tamas 2010/3/11 Brent Fraser bfra...@geoanalytic.com What would ogrinfo --formats show if GDAL was compiled with HAVE_SPATIALITE set? What would it show if only SQLite (and not SpatiaLite) was compiled in? Thanks! Brent Fraser

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

2009-09-04 Thread Brent Fraser
Interesting. I downloaded it with Firefox, opened it in Acrobat 9, but it doesn't recognize it as a GeoPDF. Hmmm... Joaquim Luis wrote: Brent Fraser wrote: Since the TerraGo way has been superceded by the Adobe/ISO way (thank goodness!), it makes it easier to identify the reference

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

2009-09-04 Thread Brent Fraser
User error. I had to turn on the Tools - Analysis - Geospatial Location Tool to get the scrolling Lat/Lon. Brent Fraser wrote: Interesting. I downloaded it with Firefox, opened it in Acrobat 9, but it doesn't recognize it as a GeoPDF. Hmmm... Joaquim Luis wrote: Brent Fraser wrote

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

2009-09-03 Thread Brent Fraser
elements (e.g. Frames) necessary for writing the GeoPDF information. But I remain hopeful... Brent Joaquim Luis wrote: Brent Fraser wrote: I see the example calculation of the transformation matrix, and a statement I created a GeoPDF by running the Postscript file through Ghostscript

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

2009-09-03 Thread Brent Fraser
capable of writing the PDF elements (e.g. Frames) necessary for writing the GeoPDF information. But I remain hopeful... Brent Joaquim Luis wrote: Brent Fraser wrote: I see the example calculation of the transformation matrix, and a statement I created a GeoPDF by running the Postscript file

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

2009-09-02 Thread Brent Fraser
I see the example calculation of the transformation matrix, and a statement I created a GeoPDF by running the Postscript file through Ghostscript to create a Postscript file that looks like this But I don't see where the georeferencing is written into PDF to make it a GeoPDF. Is it a

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

2009-08-07 Thread Brent Fraser
/2009-July/062035.html). I'm hoping that as GeoPDF becomes popular some funding can be found to build a GDAL/OGR driver to read it. Best Regards, Brent Fraser keith lewis wrote: Hello people, Is there any talk about developing tools in GDAL/OGR to extract raster or vector data from a GeoPDF

Re: [gdal-dev] OGR and database filter on spatial extent

2009-06-11 Thread Brent Fraser
alta83_v1) called. OGR_ODBC: Table SELECT has no identified FID column. OGR: OGROpen(all_wells.ovf/00C83B60) succeeded as VRT. OGR: GetLayerCount() = 1 OGR_ODBC: Recreating statement. OGR_ODBC: Recreating statement. INFO: Open of `all_wells.ovf' using driver `VRT' successful. Brent Fraser

Re: [gdal-dev] OGR and database filter on spatial extent

2009-06-11 Thread Brent Fraser
mapserver will like a VRT layer def of something like: SrcSQLSELECT * FROM alta83_v1 WHERE BOT_LONG gt; %VIEW_MIN_LONG% AND BOT_LONG lt; %VIEW_MAX_LONG% AND BOT_LAT gt; %VIEW_MIN_LAT% AND BOT_LAT lt; %VIEW_MAX_LAT%/SrcSQL Many thanks! Brent Frank Warmerdam wrote: Brent Fraser wrote: Frank, Brent

Re: [gdal-dev] OGR and database filter on spatial extent

2009-06-09 Thread Brent Fraser
is being called, so I'll have to do some more tracing/debugging to find out why my mapserver performance is so bad with this layer. Thanks! Brent Fraser Frank Warmerdam wrote: Brent Fraser wrote: Hi All, In the case of accessing data in a relational database, does OGR have the ability to pass

Re: [gdal-dev] Too much precision in WKT

2009-06-03 Thread Brent Fraser
Regards, Brent Fraser Peter J Halls wrote: Brent, why would you want to? Maybe you do not appreciate the implications of so doing? The parameters of which you complain define the ellipsoid, the shape and measurements of the Earth, to be used for that projection. Round them and you

Re: [gdal-dev] Too much precision in WKT

2009-06-03 Thread Brent Fraser
Frank, I'm all for that approach. The option should be added to ogrinfo as well since it can dump out WKT when incanted properly (I had started to sed/grep/awk its output, then I found that ogr2ogr -f CSV would dump WKT geometry). Many Thanks, Brent Fraser Frank Warmerdam wrote: Brent

Re: [gdal-dev] Too much precision in WKT

2009-06-03 Thread Brent Fraser
handle most of the practical precision needs. Best Regards, Brent Fraser Even Rouault wrote: Brent, no, there's currently no way to limit the precision. By looking at your example, it seems that the extra figures are significant (but perhaps not for your use case). You'd get 01 or 99

[gdal-dev] Too much precision in WKT

2009-06-02 Thread Brent Fraser
, Is there any way to limit the precision? Thanks! Brent Fraser ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] more commands, less utilities

2009-04-24 Thread Brent Fraser
How about gdaldem2image for a name? A little long, but less confusion over what it actually does... Matt Wilkie wrote: Upon reflection, I think we should congregate these utilities into a single utility -- gdaldem (I'm totally flexible on the name -- and have each be a separate operation

Re: [gdal-dev] Splitting and projecting a large .sid image

2009-03-19 Thread Brent Fraser
with the extents from step 2 to extract the output tile pixels from its corresponding vrt. Convoluted yes, but very scalable. And no Null pixels in the output tiles. Brent Fraser GeoAnalytic Inc. Stephen Woodbridge wrote: Hi all, This is my annual wake-up got to do something with rasters and forgot

Re: [gdal-dev] Splitting and projecting a large .sid image

2009-03-19 Thread Brent Fraser
5 Use gdal_translate with the extents from step 2 to extract the output tile pixels from its corresponding vrt. H, where do you reproject the raster images? I thought you had to use gdalwarp for that. Or is that step 6? Oops. Yep, use gdalwarp (I was looking at my DEM processing

Re: [gdal-dev] Transparency using gdalbuildvrt

2009-03-13 Thread Brent Fraser
DataType=Int16 BlockXSize=1201 BlockYSize=1201/ SrcRect xOff=0 yOff=0 xSize=1201 ySize=1201/ DstRect xOff=2400 yOff=2400 xSize=1201 ySize=1201/ NODATA-32767/NODATA /ComplexSource : - Best Regards, Brent Fraser Jason Beverage wrote: Hi all, I've been playing

Re: [gdal-dev] Re: [Fwd: Re: Warping an already georeferenced image with control points

2009-02-13 Thread Brent Fraser
be possible to add the complete geolocation information for that image too: bounds, pixel dimensions and geotranformation matrix, else the projection information doesn't make sense. Have I made my intention a bit clearer now? Jan Brent Fraser wrote: Jan, I think what you want gdalwarp

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-19 Thread Brent Fraser
Hi, I performed the OpenJump procedure. But, I still get: Macintosh-4:starspan_tests gregederer$ starspan2 --progress --RID none --vector afadmn2n.shp --fid 3 --raster rfe_2006_04_pct.tif --stats results.txt avg --out-prefix bar --out-type table Number of features: 550 starspan_csv:

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-19 Thread Brent Fraser
Is the FID supposed to be in the .dbf file that accompanies the .shp file? I have examined this file, and I don't see an FID column (column names are in the first row). In particular, since starspan2 reports an FID of 0 for Zemmour, Mauritania, I would expect to see a column with the

Re: [gdal-dev] resampling artifacts

2008-11-10 Thread Brent Fraser
Brent Fraser, vous avez écrit : Has anyone experienced resampling artifacts using gdalwarp? I'm using v1.5.2, and with lanczos or cubicspline resampling, I get a vertical line and a horizontal line of seemingly random pixels about 6 pixels wide running through the center of the output image

Re: [gdal-dev] resampling artifacts

2008-11-07 Thread Brent Fraser
Thanks Even, I'll try the 1.6.0 beta. Even Rouault wrote: Brent, Have you tried with GDAL 1.6.0 beta ? Much work has been done in that area and those artifacts should have disappeared and people. See http://trac.osgeo.org/gdal/ticket/2627 Le Friday 07 November 2008 00:08:51 Brent Fraser

[gdal-dev] resampling artifacts

2008-11-06 Thread Brent Fraser
tif image from 12.5 meters to 200 meters. The other resampling methods result in an ok output image. I've attached a png to illustrate the effect. I thought I'd ask before filing a bug report... Thanks! Brent Fraser inline: 20080731_400m_cs.png___

Re: [Gdal-dev] OGR: DXF driver

2008-10-15 Thread Brent Fraser
a minimalist DXF reader in VTP (VTP\TerrainSDK\vtdata\DxfParser.cpp). Likely a little too c++ for GDAL/OGR to be used as-is, but might be a useful supplement to the doc you've gathered (and the licensing is as libre as it gets). Brent Fraser ___ gdal-dev

Re: [gdal-dev] copy GCPs from .xml to GTiff

2008-09-24 Thread Brent Fraser
Shawn, I had a similar need some time ago. I hacked gdalinfo to output only the GCPs in a GDAL-friendly format (one -GCP Pixel Line X Y per line) and redirected the results to a text file of command-line options: my_gdalinfo file1.tif file1_gcps.opt Then attached them to my other

[gdal-dev] Status of RFC 4: Geolocation Arrays especially Envisat wrt GCPs

2008-09-22 Thread Brent Fraser
; every 165 pixels except the last interval which is 195 pixels). If gdalwarp would use this semi-regular array to triangulate the pixel locations, that would be great, otherwise I'll have to use something else... Thanks! Brent Fraser ___ gdal-dev mailing

Re: [gdal-dev] inflateCopy required?

2008-09-05 Thread Brent Fraser
Frank Warmerdam wrote: Brent Fraser wrote: I just did a checkout and build of GDAL, and got the following: Creating library gdal_i.lib and object gdal_i.exp cpl_vsil_gzip.obj : error LNK2019: unresolved external symbol _inflateCopy referenced in function public: class VSIGZipHandle

Re: [gdal-dev] Topological Union?

2008-08-29 Thread Brent Fraser
libraries out there. There's a nice summary at http://www.complex-a5.ru/polyboolean/comp.html, but I haven't tried any of those yet. Good Luck! Brent Fraser Mateusz Loskot wrote: Craig Miller wrote: Thanks Mateusz. That's exactly what I was thinking of doing if someone hasn't put it together

[gdal-dev] Disabiling Geos messages via OGR

2008-08-15 Thread Brent Fraser
I'm using OGR's Geos functions (e.g. OGRGeometry::IsValid) to process some polygons. Geos spits out messages to console (stderr?) like Warning 1: Self-intersection at or near point Is there a way to disable these messages via OGR? Thanks! Brent Fraser