[mapguide-trac] #172: Bug in Selection polygon from PostGiS
(PostgreSql)
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Jun 11 19:00:50 EDT 2007
#172: Bug in Selection polygon from PostGiS (PostgreSql)
------------------------------------------+---------------------------------
Reporter: maciej.skorczewski at procad.pl | Owner:
Type: defect | Status: new
Priority: high | Milestone:
Component: General | Version: 1.2.0
Severity: major | Resolution:
Keywords: | External_id: 939561
------------------------------------------+---------------------------------
Comment (by ksgeograf):
I modified the GEOS StringTokenizer and now it performs very well.
I have attached the modified file, in case someone want's it.
To use this change, you must also modify io.h, line 69, and add a private
member variable to the StringTokenizer class: string::size_type
pos;
If you want to fix the original problem, you must ensure that your
OGR/GDAL is compiled with GEOS support. (Enable it in nmake.opts). The you
must replace the string tokenizer file with the one attached + add the
line mentioned above.
Then you must either change OGRLayer.c, to not use BBOX shortcut if the
box is rectangular, or modify the polygon that the viewer sends.
Then build GEOS, build GDAL/OGR, build OGR FDO Provider.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/172#comment:9>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list