]> git.pld-linux.org Git - packages/geos.git/blob - geos-swig.patch
This commit was manufactured by cvs2git to create branch 'AC-branch'.
[packages/geos.git] / geos-swig.patch
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 @@
4 +%template(vector_GeometryP) std::vector<geos::Geometry *>;
5 +%template(vector_LineStringP) std::vector<geos::LineString *>;
6 +%template(vector_PolygonP) std::vector<geos::Polygon *>;
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.068145 seconds and 3 git commands to generate.