RE: [gdal-dev] netCDF to Shapefile

2011-03-17 Thread Manuel Rainer
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

RE: [gdal-dev] netCDF to Shapefile

2011-03-16 Thread Manuel Rainer
to know what is the more efficient method for caching the data. Thanks for your support Mike! Date: Wed, 16 Mar 2011 16:21:23 +1100 Subject: Re: [gdal-dev] netCDF to Shapefile From: mdsum...@gmail.com To: manuelrai...@hotmail.com CC: gdal-dev@lists.osgeo.org Hi Manuel, I think you

Re: [gdal-dev] netCDF to Shapefile

2011-03-16 Thread Paolo Corti
On Wed, Mar 16, 2011 at 3:51 AM, Manuel Rainer manuelrai...@hotmail.com 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

Re: [gdal-dev] netCDF to Shapefile

2011-03-16 Thread Andreas Forø Tollefsen
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

[gdal-dev] netCDF to Shapefile

2011-03-15 Thread Manuel Rainer
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 ASCII file, ...) before writing a Shapefile or can the shp

Re: [gdal-dev] netCDF to Shapefile

2011-03-15 Thread Chaitanya kumar CH
Manuel, Shapefile is for vector formats alone. Try a raster format to convert the netCDF data. As for the performance, you don't need to cache anything. But it may help to tweak the GDAL_CACHEMAX setting. http://trac.osgeo.org/gdal/wiki/FAQRaster#Howtoimprovegdalwarpperfomance On Wed, Mar 16,

RE: [gdal-dev] netCDF to Shapefile

2011-03-15 Thread Manuel Rainer
Thanks for your help, it has to be a Shapefile because we do some further processing (symbology, map creation...). The netCDF file contains hydrodynamics point data. Best regards Manuel Date: Wed, 16 Mar 2011 09:32:16 +0530 Subject: Re: [gdal-dev] netCDF to Shapefile From: chaitanya

Re: [gdal-dev] netCDF to Shapefile

2011-03-15 Thread Michael Sumner
because we do some further processing (symbology, map creation...). The netCDF file contains hydrodynamics point data. Best regards Manuel Date: Wed, 16 Mar 2011 09:32:16 +0530 Subject: Re: [gdal-dev] netCDF to Shapefile From: chaitanya...@gmail.com