[postgis] Mapserver
Alexys Herleym Rodríguez Avellaneda
alexyshr at yahoo.com
Tue Feb 12 19:08:07 PST 2002
Thanks Paul for your answer
I have the next questions for all:
¿The postgis support can be with "ms_3.5.tar.gz? or ¿I need install the version CVS call "nightly.tar.gz"?
When set up the version ms_3.5.tar.gz, I pass the option "-- with postgis" and the program send the next message "Postgis support yes"
Please help me
Thanks
Alexys H.
----- Original Message -----
From: Alexys Herleym Rodríguez Avellaneda
To: postgis at yahoogroups.com
Cc: alexyshr at hotmail.com
Sent: Monday, February 11, 2002 4:08 PM
Subject: [postgis] Mapserver
Hi list,
I install:
postgresql7.1.2.tar,gz
Postgis 0.6.1.tar.gz
ms_3.5.tar.gz,
itasca3.5.tar.gz.
Over redhat 7.2,
with those options for mapserver:
jpeg-read-header yes
FT_init_freeType yes
zlibversion yes
png-init-io yes
gdimagegif yes
gdimagepng yes
gdimagejpeg yes
gdimagwbmp yes
gdimagstringFT yes
gdimagestring16 yes
gdimagegifptr yes
pdf no
tiffopen yes
eppl7 including
proj 4 not request
esri sde not request
mpatrol not request
ogr not request
postgis yes (pg_config)
ignoremissingdata yes
php/mapscript not configured
I load the shapefiles of itasca in postgres with "shp2pgsql" --> it is ok!
but send the next error message when run the demo "itasca" in the navegator web.
ERROR:
msPOSTGISLayerOpen(): Query error. msPOSTGISLayerOpen called but unimplemented!
¿What is the problem?
¿I need set up the version CVS of mapserver call "nightly.tar.gz"? or
¿What need for work with the version CVS of mapserer?
¿postgis run over "ms_3.5.tar.gz"?
Thanks for all and ask someone's forgiveness for my English.
Alexys H Rodríguez
Ingeniero Civil
Bucaramanga - Colombia
P.D. It is the demo.map:
---------------
---------------
#
# Start of map file
NAME DEMO
STATUS ON
SIZE 600 600
EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897
UNITS METERS
SHAPEPATH "/var/www/html/data/"
IMAGECOLOR 255 255 255
IMAGETYPE JPG
WEB
HEADER demo_header.html
TEMPLATE demo.html
FOOTER demo_footer.html
MINSCALE 1000
MAXSCALE 1550000
IMAGEPATH "/var/www/html/tmp/"
IMAGEURL "/tmp/"
METADATA
WMS_TITLE "UMN MapServer Itasca Demo"
WMS_ABSTRACT "This is the UMN MapServer demonstration application for Itasca County located in north central Minnesota."
WMS_ACCESSCONSTRAINTS none
WMS_ONLINERESOURCE "http://127.0.0.1/demo_init.html"
WMS_SRS "EPSG:26915"
END
END
QUERYMAP
SIZE 200 200
STATUS ON
STYLE HILITE
COLOR 255 0 0
END
#
# Start of reference map
#
REFERENCE
IMAGE graphics/reference.png
EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127
SIZE 120 120
STATUS ON
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
END
#
# Start of legend
#
LEGEND
KEYSIZE 18 12
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
STATUS ON
END
#
# Start of scalebar
#
SCALEBAR
IMAGECOLOR 255 255 255
LABEL
COLOR 255 255 255
SIZE tiny
END
STYLE 1
SIZE 80 2
COLOR 255 255 255
UNITS MILES
INTERVALS 1
TRANSPARENT TRUE
STATUS TRUE
END
#
# Start of symbol definitions (we're only using a few)
#
SYMBOL
NAME 'circle'
TYPE ELLIPSE
POINTS 1 1 END
FILLED TRUE
END
#
# Start of layer definitions
#
LAYER
CONNECTIONTYPE postgis
NAME lakespy2
CONNECTION "user=postgres password=Angel6489 dbname=test host=192.1.1.60"
TYPE POLYGON
STATUS OFF
#DATA lakespy2
DATA "the_geom from lakespy2"
CLASS
NAME 'Lakes & Rivers'
TEMPLATE "lakespy2.html"
COLOR 49 117 185
END
HEADER "lakespy2_header.html"
FOOTER "lakespy2_footer.html"
TOLERANCE 3
DUMP TRUE # allow GML export
METADATA
WMS_TITLE "Lakes and Rivers"
WMS_ABSTRACT "DLG lake and river polygons for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlglkpy2.html for more information."
WMS_SRS "EPSG:26915"
END
END # lakes
END # Map File
-----------------------------
---------------------------
Yahoo! Groups Sponsor
ADVERTISEMENT
To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20020212/2b8d4cc7/attachment.html>
More information about the postgis-users
mailing list