[gdal-dev] Rasterize a shapefile as mask

2014-03-31 Thread shawn gong
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 find is UTM based, which I tried and sort of worked. But the

Re: [gdal-dev] Syncing two rasters together...

2014-03-31 Thread Kurtis Nelson
We've done quite a bit of time series stacking of Landsat data for change detection using the method you are testing. We determine the output frame of either the minimum bounding box of all the input scenes (gdalinfo each scene, save corner coordinates, compute bounding box) or we have also

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

2014-03-31 Thread Etienne Tourigny
Hi all, I have a few suggestions for gdal 2.0, based on my personal experience in learning to use, enhance and maintain gdal/ogr code. - replace cpl/csl/string/xml code with a mainstream, modern cross-platform toolkit such as QT, boost, etc. While cpl/csl classes are robust and do the job, they

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

2014-03-31 Thread Even Rouault
Hi Etienne, Thanks for your ideas. Hi all, I have a few suggestions for gdal 2.0, based on my personal experience in learning to use, enhance and maintain gdal/ogr code. - replace cpl/csl/string/xml code with a mainstream, modern cross-platform toolkit such as QT, boost, etc. QT is

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

2014-03-31 Thread Mateusz Łoskot
On 31 March 2014 20:17, Etienne Tourigny etourigny@gmail.com wrote: I have a few suggestions for gdal 2.0, based on my personal experience in learning to use, enhance and maintain gdal/ogr code. - replace cpl/csl/string/xml code with a mainstream, modern cross-platform toolkit such as

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

2014-03-31 Thread Dmitriy Baryshnikov
Hi, I think the JSON format is good for metadata storing and representation. JSON support to store string, digits, bool, dates, etc. Write such data and read such data from files. But need good library or set of classes to work with it in memory representation. For example I like wxJSON - it

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

2014-03-31 Thread Mateusz Łoskot
On 31 March 2014 21:37, Dmitriy Baryshnikov bishop@gmail.com wrote: Hi, I think the JSON format is good for metadata storing and representation. JSON support to store string, digits, bool, dates, etc. IMO it's great idea. It consist only 3 files (json reader, json writer and json

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

2014-03-31 Thread Dmitriy Baryshnikov
Hi Mateus, That's really what I'm talking about. Good example, but need some testing. Best regards, Dmitry 31.03.2014 23:44, Mateusz Łoskot пишет: On 31 March 2014 21:37, Dmitriy Baryshnikov bishop@gmail.com wrote: Hi, I think the JSON format is good for metadata storing and

[gdal-dev] ogrinfo 1.10 with oracle view is failing

2014-03-31 Thread Rémy GOURRAT
Hi, I do an ogrinfo on oracle view. Ogrinfo return ora-04043 object don't exist i do the same command on the native table with success. So i check the metadata in user_sdo_geom_metadata, it's same metadata for the view and the table. I recompile the view to have exactly same fields, same

Re: [gdal-dev] ogrinfo 1.10 with oracle view is failing

2014-03-31 Thread Ivan Lucena
Hi Rémy, If you inserted table_name and column_name in uppercase into the user_sdo_geom_metadata it should works. You should be able to run ogrinfo oci:user/pwd@db and see that after the ORA-04043 error the view will be listed as a layer anyway. Try also ogrinfo oci:user/pwd@db view name. And

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 shawngong.g...@gmail.com 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

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

2014-03-31 Thread David Strip
On 3/31/2014 1:03 PM, Even Rouault wrote: Hi Etienne, Thanks for your ideas. Hi all, I have a few suggestions for gdal 2.0, based on my personal experience in learning to use, enhance and maintain gdal/ogr code. - replace cpl/csl/string/xml code with a mainstream, modern cross-platform

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

2014-03-31 Thread Even Rouault
Le mardi 01 avril 2014 00:18:11, David Strip a écrit : On 3/31/2014 1:03 PM, Even Rouault wrote: Hi Etienne, Thanks for your ideas. Hi all, I have a few suggestions for gdal 2.0, based on my personal experience in learning to use, enhance and maintain gdal/ogr code. -