[mapserver-users] Proj 4.4.5 Error : no options found in 'ini t'
Morin, Annie
amorin at NRCan.gc.ca
Fri Jan 25 12:57:56 PST 2002
Hi, I inserted an example i made yesterday,
what I think is your problem is highlighted in red.
you should have a projection block as per layer and a general one
for the map which uses the epsg code.
Hope it will help
Annie
NAME test.map
EXTENT -73 50 -71 52
SIZE 350 350
SYMBOLSET "d:\www\commun\mapserver_util\markerset.sym"
#
# Start of web interface definition
#
WEB
TEMPLATE "d:\www\moosemon\module_map\NADM.html"
IMAGEPATH "d:\www\temp\"
IMAGEURL "/temp/"
METADATA
"wms_title" "Carte du Projet MooseMountain"
"wms_onlineresource"
"http://the_hostname/cgi-bin/mp35/mapserv_35?map=bronica.map"
"wms_srs" "EPSG:4269 EPSG:4326"
END
END #WEB
PROJECTION
"init=epsg:4269"
END
LAYER
NAME "BAS1860:cubestor"
METADATA
"wms_title" "Carte de fond"
"wms_srs" "EPSG:42304 EPSG:4269 EPSG:4326"
"wms_latlonboundingbox" "-73 50 -71 52"
"wms_connectiontimeout" "60"
END
TYPE RASTER
STATUS DEFAULT
CONNECTIONTYPE WMS
CONNECTION
"http://theotherhostname/cgi-bin/cubeserv/cubeserv.cgi?REQUEST=map&WMTVER=1.
1.0&SRS=EPSG:4269&BBOX=-73,50,-71,52&LAYERS=BAS1860:cubestor&FORMAT=image/gi
f&TRANSPARENT=TRUE&WIDTH=350&HEIGHT=350"
PROJECTION
"proj=longlat"
"ellps=GRS80"
"unit=dd"
END
END
LAYER
NAME "5"
METADATA
"wms_title" "Focale 40 mm"
"wms_srs" "EPSG:4269"
"wms_abstract" ""
END
TYPE LINE
STATUS DEFAULT
DATA 'd:\www\moosemon\data\maps\shp_lgn\40mm'
CLASS
NAME 'Focale 40mm'
COLOR 255 0 0
OUTLINECOLOR 0 0 0
END # CLASS
PROJECTION
"proj=utm"
"ellps=GRS80"
"zone=18"
"unit=m"
END #PROJECTION
END # LAYER
END
> ----------
> De : PARVILLERS[SMTP:hugues at parvillers.com]
> Date : 25 janvier, 2002 15:33
> A : mapserver-users at lists.gis.umn.edu
> Objet : [mapserver-users] Proj 4.4.5 Error : no options found in
> 'init'
>
>
>
> Has anybody a public working example with WMS_CLIENT and PROJ please ?
>
> Tks
> Hugues
>
>
More information about the MapServer-users
mailing list