Opened 14 years ago
Closed 13 years ago
#3456 closed defect (wontfix)
configure option --with-kml should require --with-ogr or --with-geos
Reported by: | hopfgartner | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Output-KML | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
I've compiled mapserver SVN snapshot as of today (2010-05-20):
Platform: Ubuntu 10.04, 64 bit ./configure --with-proj --with-postgis --with-cairo --with-kml --with-xml2-config=/usr/bin/xml2-config
If I try to produce a map with shp2img , points are missing. If I enable debugging:
shp2img -m points.map -all_debug 9 > test.kml
I get the following message:
[Fri May 21 16:32:57 2010].338337 msShapeToWKT(): General error message. WKT support is not available, please compile MapServer with GEOS or OGR support.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing this since It is not really a kml issue but more a build issue. Peter if this is really an issue, we can reopen it and assign it to the postgis component.
I believe this is related to code in mappostgis.c (msPostGISReadShape) when in debug mode (layer->debug > 2), the shape read is transformed into wkt and dumped for debugging purposes. You might either want to run this with a debug <=2, change the code in postgis, or build with geos)