Re: [gdal-dev] ogr2og / forcing a +-180 system

2013-11-19 Thread Robb K. Wright
Perfect! The double project fits my needs exactly. Robb On 11/18/13 7:49 PM, Even Rouault wrote: Le lundi 18 novembre 2013 20:29:07, Robb K. Wright a écrit : I haven't been able to get either -wrapdateline or -datelineoffset to alter the coords. As far as I can figure out

Re: [gdal-dev] ogr2og / forcing a +-180 system

2013-11-18 Thread Robb K. Wright
metries that cross the dateline will be handled ideally (they aren't split as one might hope), but if you don't have them then the rest of the geometries should be wrapped. I see there is even now a -datelineoffset switch if someone needed 0 to 360. Best regards, Frank On Mon

[gdal-dev] ogr2og / forcing a +-180 system

2013-11-18 Thread Robb K. Wright
I need to use ogr2ogr (or any other command line) to convert a shapefile with longitudes spanning from -220 to -60, forcing it into a +-180 scheme, so the -220 coordinate would come out as +140 and the -60 stays as -60. I don't need to worry about the polys that actually cross the 180 line.

[gdal-dev] Creating .ovr files with gdalwarp/lanczos

2013-05-06 Thread Robb K. Wright
For my data/data type (8-bit indexed images), the lanczos resampling method provides by far the best visual look for overviews – but gdaladdo doesn’t support this type. Does anybody have a way to use gdalwarp to create .ovr files? Robb ___ gdal-de

[gdal-dev] gdal_translate with the -epo flag

2013-01-03 Thread Robb K. Wright
I'm interested in trying out the -epo flag with gdal_translate, but it doesn't seem to exist within the current Windows binaries from the gisinternals site though the web docs (http://www.gdal.org/gdal_translate.html) have it listed Usage: gdal_translate [--help-general] [-ot {Byte/In

[gdal-dev] Problem with gdalsrsinfo on some NOAA bsb/kap files

2012-11-09 Thread Robb K. Wright
I'm trying to use gdalsrsinfo (1.9) to extract out WKT-formatted info from NOAA's BSB/KAP files. It works on many - but has problems with others - and I can't find a pattern. I'm not sure if it is a problem with the BSB driver or with gdalsrsinfo, but I'm leaning toward gdalsrsinfo as the p

[gdal-dev] Using OGR to modify shapefile field values

2012-06-29 Thread Robb K. Wright
1) I am looking for a way to use ogr command-line utilities to modify the contents of fields within a shapefile. It isn’t a problem to modify one step at a time/put in a loop where each change creates a new output – that is manageable – but I’m missing the SQL statement to say “if FIELDX=’abc