[gdal-dev] Split apart MULTI* problem

2011-04-25 Thread William Kyngesburye
I can't get ogr2ogr to split MULTI* shapefiles to non-multi features. I'm sure I've done this in the past (it's been a while). ie, the Natural Earth shapefiles, coastline file - has a mix of LINESTRING and MULTILINESTRING. I run: ogr2ogr . 50m_coastline.shp -nln 50m_coastline-l -nlt LINESTRIN

[gdal-dev] How to sample raster data at unstructured points?

2011-04-25 Thread Jed Brown
I have a bunch of unstructured points, typically quadrature nodes of an unstructured mesh, and I want to sample a raster field at those points. I have plenty of spatial locality, but not any specific regular structure. Maybe I'm missing something, but I don't see an API for this direction. There i

Re: [gdal-dev] Polygonize via Python on Windows

2011-04-25 Thread Even Rouault
Le lundi 25 avril 2011 21:17:48, Jay Jennings a écrit : If you have VS2008, I tunk you need to upgrade your Python version to Python 2.6. Because when building Python native modules, you must use a version of Visual Studio compatible with the version that was used to build the Python interprete

[gdal-dev] Polygonize via Python on Windows

2011-04-25 Thread Jay Jennings
Thanks Elijah, that thread does look promising. But it involves using gdal_polygonize.py, which is giving me trouble (we haven't tried GDAL/Python options before). Initial attempt at gdal_polygonize.py gives the error "ImportError: No module named gdal". After researching the archives, I foun