Re: [gdal-dev] help compiling hdf5 option on linux

2010-03-19 Thread John Cartwright
Thanks for suggestions Antonio and Vincent. Unfortunately, neither --with-hdf5=/usr/local/contrib/hdf5-1.8.4/lib nor --with-hdf5=/usr/local/contrib/hdf5-1.8.4/include,/usr/local/contrib/hdf5-1.8.4/lib made any difference. --john On 03/18/2010 01:57 AM, Antonio Valentino wrote: > Hi John

[gdal-dev] Re: ogr2ogr SHAPE to MIDMIF

2010-03-19 Thread Jukka Rahkonen
Zoltan Szecsei geograph.co.za> writes: > Note that Mapinfo files don't support list field types. > > Also, I get the default TAB format - where do I put the FORMAT=MIF > statement in? Hi, I can't say anything about your main problem, but this is easy: http://gdal.org/ogr/drv_mitab.html "Dat

[gdal-dev] ogr2ogr SHAPE to MIDMIF

2010-03-19 Thread Zoltan Szecsei
Hi, I've got some shapefiles that came out of Oracle via GeoMedia, and I need to convert them to MIDMIF. (they are LatLong) $ ogr2ogr -a_srs WGS84 -f "MapInfo File" midmif/2822/ shape/2822/TRAN_ROADS.shp ERROR 1: IMapInfoFile::CreateField() called with unsupported field type 9. Note that Map

Re: [gdal-dev] how to use osm files

2010-03-19 Thread Frederik Ramm
Hi, Christoph Dohmen wrote: I trying to find out a way to deal with osm files using ogr. Am I right that there is no direct support? What format would you like to convert OSM into? There are ready converted shape files out in the web to download but there is only one describing attribute set

Re: [gdal-dev] how to use osm files

2010-03-19 Thread Ralf Suhr
Hi Christoph, use osm2pgsql and create your own custom shapefiles. All attributes from osm can be used by editing the default.style from osm2pgsql. Gr Ralf Am Freitag 19 März 2010 15:13:29 schrieb Christoph Dohmen: > Hi list, > > I trying to find out a way to deal with osm files using ogr. >

[gdal-dev] how to use osm files

2010-03-19 Thread Christoph Dohmen
Hi list, I trying to find out a way to deal with osm files using ogr. Am I right that there is no direct support? There are ready converted shape files out in the web to download but there is only one describing attribute set. So this is also not really usable :-( Last try was using the osm2shp ut

[gdal-dev] print throw a SyntaxError with Python 2.6

2010-03-19 Thread Gilles Bassière
Hi, I got the following error with gdal_retile.py (fresh GDAL 1.7.1 install on an Ubuntu jaunty box): > File "/home/gba/Apps/usr/bin/gdal_retile.py", line 273 > print("Building internal Index for %d tile(s) ..." % len(inputTiles), > end=' ') >

Re: [gdal-dev] Area of hourglass shaped polygon

2010-03-19 Thread Peter J Halls
Whilst I agree with Chris that the 'winding' method for calculating polygon areas would need tweaking to work with a shape like this, the 'complementary areas' method or the triangulation method would. See Stephen Wise, GIS Basics, London: Taylor & Francis (2002) pp61-64 or Joseph O'Rourke, Com