Re: [gdal-dev] Spatialite tables with multiple geometry columns

2012-08-03 Thread Even Rouault
Andrea created http://trac.osgeo.org/gdal/ticket/4768 and I've just committed the code in trunk to add that support. I've tested it with a tiny sample just made for the unit test. No reason it should not work with more complex DBs, but testing appreciated. ___

[gdal-dev] spatial join using python ogr or shapely

2012-08-03 Thread Giuseppe Amatulli
HI, I would like to make a spatial join of two shp using python ogr or shapely Is this possible? I do not have a common Item in the dbf so i can not make a table-join, i have to do a spatial one. I did not find any examples on the net. so started try: from osgeo import ogr import sys

[gdal-dev] Ogr remove multiples Polygones of a Multipolygone

2012-08-03 Thread Benjamin
Hi, I want to remove polygones who have a "little" area from a Mulipolygone. My multipolygone may be verry complex. I have write : [code] // geom OGRGEOMETRY of type wkbGeometryType.wkbMultiPolygone // surfaceMin is an int for (int i = 0; i < geom.GetGeometryCount(); i++) { // If we have re

Re: [gdal-dev] ogr2ogr - M-values?

2012-08-03 Thread Even Rouault
Selon Markus Persson : > Hello! > > I have tried using ogr2ogr to get Oracle data to a .shp-file, this seems to > work nice most of the times but not on my point objects. The .shp-file get X, > Y and Z-values, but no M. And when I try to load this into DotSpatial so does > it say that the .shp-fil

[gdal-dev] ogr2ogr - M-values?

2012-08-03 Thread Markus Persson
Hello! I have tried using ogr2ogr to get Oracle data to a .shp-file, this seems to work nice most of the times but not on my point objects. The .shp-file get X, Y and Z-values, but no M. And when I try to load this into DotSpatial so does it say that the .shp-file is wrong. I tried another tool

Re: [gdal-dev] GDAL / Java bindings : Undefined symbol CPLLoggingErrorHandler in libgdaljni.so

2012-08-03 Thread Mathieu Coudert
Thanks Even, I tried to export /usr/local/lib as well in my LD_LIBRARY_PATH but without success... For instance, I did : $ java -Djava.library.path=`pwd`:/usr/local/lib -classpath `pwd`/gdal.jar:`pwd`:`pwd`/build/apps gdalinfo $ java -Djava.library.path=`pwd`:/usr/local/lib/libgdal.so -classpath `

Re: [gdal-dev] Any plans for a GDAL WMTS driver?

2012-08-03 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > Le samedi 07 juillet 2012 08:45:33, Jukka Rahkonen a écrit : > > Hi, > > > > National Land Survey of Finland has opened an experimental WMTS service. > > GetCapabolities is found from > > http://karttatiili.fi/dataset/taustakarttasarja/ capabilities/wmt

Re: [gdal-dev] GDAL / Java bindings : Undefined symbol CPLLoggingErrorHandler in libgdaljni.so

2012-08-03 Thread Even Rouault
Selon Mathieu Coudert : Your LD_LIBRARY_PATH should also include the path to libgdal.so ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] GDAL / Java bindings : Undefined symbol CPLLoggingErrorHandler in libgdaljni.so

2012-08-03 Thread Mathieu Coudert
Hi, Running GDAL with Java binding I am facing an issue with an undefined symbol: CPLLoggingErrorHandler in libgdaljni.so. First I compiled GDAL 1.9.1 with Java support. Then I followed the Java building instructions on Unix [1]. Everything seems to be correct, my ant build is successful. However

Re: [gdal-dev] generating multipolygon from polygons

2012-08-03 Thread neojp
Thanks Franks, That was a newbie mistake. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/generating-multipolygon-from-polygons-tp4992794p4992895.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mail

Re: [gdal-dev] Spatialite tables with multiple geometry columns

2012-08-03 Thread Even Rouault
Selon Jukka Rahkonen : Multi geometry support per table isn't really supported for now. For the PG driver, we expose layer names as "table_name(geometry_column_name)". I think the same convention could be used for sqlite. In your example, it would be "multigeom(geom1)" and "multigeom(geom2)". The

[gdal-dev] Spatialite tables with multiple geometry columns

2012-08-03 Thread Jukka Rahkonen
Hi, A Mapserver user was trying to use a Spatialite db which had tables with multiple geometry columns and I got interested in having a little try because sometimes it could be handy to have both the polygons and their centroids readily available from the same table. However, it looks that curren