Tag Info

New answers tagged

0

In your solution you mix geometries and predicates of ogr and Shapely With Shapely only (intersection(), intersects()) from shapely.geometry import Point, LineString, mapping geom1 = LineString([(0, 0), (0, 1)]) geom2 = LineString([(1, 1), (-1,-1)]) intersection = geom1.intersection(geom2) # geo_interface -> GeoJSON mapping(intersection) {'type': ...


3

Numbers in any programming language does not have "absolute" precision. As they must be represented as bits in the computer hardware its precision is limited. Anyway review this links, because maybe they can help you: http://comments.gmane.org/gmane.comp.gis.gdal.devel/19331 http://lists.osgeo.org/pipermail/gdal-dev/2011-August/029793.html


1

GDAL supports two SQL dialects: the default OGR dialect and an alternative SQLite (Spatialite) dialect. Both dialect support selecting geometries by geometry type. Ogrinfo tool is recommended for experiments because by using it the possible troubles with writing the result out can be avoided. If output from ogrinfo is good then the reading side is OK too. ...


0

I had the same problem, and then tried building gdal 1.11.1, that seemed to find the library nicely. I'm not sure if it may be checking for version as well as path, or which version of GDAL starts working with libkml trunk as of 2014-11-09.


1

If you look inside http://trac.osgeo.org/gdal/browser/branches/1.11/gdal/ogr/ogrsf_frmts/mitab/mitab_spatialref.cpp you see: { 6277, 79, "OSGB_1936", 9, 375, -111, 431, 0, 0, 0, 0, 0}, The shift values were replaced in GDAL some time ago, but obviously not in the mitab driver. Keep in mind that EPSG:27700 in the original EPSG definition does not obey any ...


0

I clearly didn't use it at the moment but following the GDAL official Travis build configuration file should help you sort out the issue. Just for info, this configuration file is for testing GDAL code on Ubuntu. Trying on my computer only GDAL with kml integration, it works after below operations when testing with official example: wget ...



Top 50 recent answers are included