![]() |
||||
|
|
||||
[maplab-users] Mapserver + MapLab + PostGISPhilipp Jacob philipp.jacob@geosysnet.deFri, 24 Jan 2003 12:57:10 +0100
|
||||
Hi list,
I have a problem concerning PostGIS support in Mapserver when I edit a
mapfile with MapLab.
I set up a demo map with PostgreSQL/PostGIS data in Mapserver by hand,
and everything works fine.
But when I try to build a mapfile with MapLab problems occur.
1) Trying to preview the map with MapBrowser brings up a blank map in
the ROSA Applet (and a 'broken image'
with html output). No error messages appear.
2) Trying to select a 'Classitem' in the LAYER Section produces the
following error:
"Fatal error: MapServer Error in msPOSTGISLayerOpen():
msPOSTGISLayerOpen called but unimplemented!
in /srv/www/htdocs/maplab/htdocs/common/picker/shape_file_attr.php on
line 127"
The mapfile generated by MapLab:
(which is mainly identical with the 'hand made' mapfile)
MAP
NAME "demo_with_postgis"
STATUS ON
EXTENT 186063 239645 223468 266328
SIZE 700 500
IMAGECOLOR 255 255 255
UNITS METERS
WEB
IMAGEPATH "/srv/www/htdocs/tmp/"
IMAGEURL "/tmp/"
END
LAYER
NAME "wege"
STATUS ON
DATA "the_geom from wege"
TYPE LINE
CONNECTIONTYPE POSTGIS
CONNECTION "user=wwwrun dbname=test host=192.168.17.5 port=5432"
CLASS
NAME "wege"
SYMBOL 0
COLOR 255 0 0
SIZE 1
MINSIZE 1
MAXSIZE 100
END
END
END
Any ideas on how to deal with that?
Tanks in advance
Philipp
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |