thank you guys, a lot of useful information!
finally, I'm tryin' what works best in my case.
cheers
manuel
Date: Wed, 16 Mar 2011 12:05:18 +0100
Subject: Re: [gdal-dev] netCDF to Shapefile
From: andrea...@gmail.com
To: pco...@gmail.com
CC: manuelrai...@hotmail.com; gdal-dev@lists.osgeo.org
Armin,
Cascaded Union works pretty much like Union except that it is optimized to
work on more than two geometries.
Both OGR and PostGIS uses the GEOS library to perform this.
Read this blog entry by Paul Ramsey:
http://blog.cleverelephant.ca/2009/01/must-faster-unions-in-postgis-14.html
On Wed,
Natasha,
After you install the GDAL and GDAL-Oracle packages, you can access the
command line applications in the OSGeo4W Shell command window.
http://trac.osgeo.org/osgeo4w/#QuickStartforOSGeo4WUsers
You can find the info on connecting to Oracle Spatial in the GDAL website.
For vector data acces
thanks for the hints. So a sort of Union operation seems to be necessary. I
need to check how fast that is with OGR on larger shapefiles (I want to store
in PostGIS just the footprint, not the full geometry collection). The Convex
Hull could be a good alternative to a simplified boundary.
i
On Wed, Mar 16, 2011 at 5:12 PM, Monica Buescu
wrote:
> I pretend to reproject a known JRC product called GLOBCOVER to UTM WGS84
> (zone for France) using gdalwarp keeping spatial resolution (300m) and
> null_values. Can anyone give me a suggestion on how to reproject it using
> gdal?
Try:
gdalw
Greetings
I pretend to reproject a known JRC product called GLOBCOVER to UTM WGS84
(zone for France) using gdalwarp keeping spatial resolution (300m) and
null_values. Can anyone give me a suggestion on how to reproject it using
gdal?
Bellow is the gdalinfo information
Driver: GTiff/GeoTIFF
Files:
Alexander,
Not sure if it meets you situation, but there is a command line utility
with similar functionality, gdallocationinfo,
http://gdal.org/gdallocationinfo.html
HTH, Eli
>>> On 3/16/2011 at 1:21 PM, in message
<20110316222128.b943f4e3.alexander.b...@gmail.com>, Alexander Bruy
wrot
Alexander Bruy wrote:
>
> Here is simplified code
>
> // iterate over image row by row
> for ( int row = 0; row < ySize; ++row )
> {
> // read one row from each band and store it in list
> for ( int b = 0; b < bandCount; ++b )
> {
> float *scanline;
> scanline = (float *) CPLMalloc( s
Hi all
I work on raster processing application (developed with C++ and Qt).
For reading rasters we use GDAL and it's C++ API.
For one task we need to get pixel values from all raster bands. For
this I get all GDALRasterBands and store them in list. Then in loop
read image row by row and store row
Hello all,
Question - is there some reason why gdal_translate needs to show a format
listing when invoked on the command line with no arguments? On my system
this outputs 61 lines which is nearly a maximized shell on my 24" monitor.
Wouldn't requiring the --formats flag be more consistent with o
On 11-03-14 12:50 PM, Michal Migurski wrote:
Hello,
I'm having some difficulties understanding how to get GDAL to generate
images with usable alpha channels. I have 3-channel RGB input JPEG image,
delivered to GDAL as a VRT with a projection and ground control points,
which I'm warping to an out
Hi all,
I'm looking at pickling ogr geometry. I took the following code from
the gdal autotests to try it out:
geom_wkt = 'MULTIPOLYGON( ((0 0,1 1,1 0,0 0)),((0 0,10 0, 10 10, 0
10),(1 1,1 2,2 2,2 1)) )'
geom = ogr.CreateGeometryFromWkt(geom_wkt)
p = pickle.dumps(geom)
g = pickle.loads(p)
if not
I have done this but not to a shapefile direct, but into a postgis database.
Use for loops to loop through the temporal dimension, then the lon and lat
as sub loops.
Then you create an insert string to input each line of data into the sql
database.
In our NetCDF we have 720x360 observations spatial
Chaitanya
thanks for the hints. So a sort of Union operation seems to be necessary. I
need to check how fast that is with OGR on larger shapefiles (I want to store
in PostGIS just the footprint, not the full geometry collection). The
ConvexHull could be a good alternative to a simplified bounda
On Wed, Mar 16, 2011 at 3:51 AM, Manuel Rainer wrote:
> Hi,
>
> I would like to convert certain time slices (records) out of a netCDF file
> to a Shapefile.
> The netCDF file has 7> GB, so what is the best proceed to get an appropriate
> performance?
> I mean, should the data be cached (e.g. in an
Ok, here are more details:
I am using Python (2.6) together with netCDF4, numpy and gdal/ogr.
So far, I am able to read the dimensions, attributes and variables.
I have to choose records depending on certain time slices and export these
records together with their dimensions into a shapefile.
16 matches
Mail list logo