]> git.pld-linux.org Git - packages/geos.git/blame - geos-swig.patch
- python 2.5 for egg-info
[packages/geos.git] / geos-swig.patch
CommitLineData
57d0d0ad
JB
1--- geos/swig/python/python.i.orig 1970-01-01 01:00:00.000000000 +0100
2+++ geos/swig/python/python.i 2006-05-28 23:19:23.272220250 +0200
3@@ -0,0 +1,3 @@
8fe8b560 4+%template(vector_GeometryP) std::vector<geos::Geometry *>;
5+%template(vector_LineStringP) std::vector<geos::LineString *>;
6+%template(vector_PolygonP) std::vector<geos::Polygon *>;
57d0d0ad
JB
7--- geos-2.2.2/swig/geos.i.orig 2006-04-04 11:50:17.000000000 +0200
8+++ geos-2.2.2/swig/geos.i 2006-05-28 23:30:37.130333750 +0200
9@@ -202,12 +202,14 @@
10 geos::MultiPoint, geos::MultiLineString,
11 geos::MultiPolygon, geos::GeometryCollection);
12
13+/*
14 %newobject geos::Geometry::fromHEX;
15 %factory(geos::Geometry * geos::Geometry::fromHEX, geos::Point,
16 geos::LinearRing, geos::LineString,
17 geos::Polygon,
18 geos::MultiPoint, geos::MultiLineString,
19 geos::MultiPolygon, geos::GeometryCollection);
20+*/
21
22 /* ================= Operators ============== */
23 /* Ignore these for now - if we don't SWIG will create
24@@ -316,10 +318,11 @@
25 std::stringstream in(wkt);
26 return geos_Geometry_reader().read(in);
27 }
28-
29+/*
30 static Geometry* fromHEX(std::string hex)
31 {
32 std::stringstream in(hex);
33 return geos_Geometry_reader().readHEX(in);
34 }
35+*/
36 };
This page took 0.078556 seconds and 4 git commands to generate.