WMS and 21892 srs namespace
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Mon Nov 22 14:59:14 PST 2004
>
>
> I configure my map with 21892 epsg code accordingly with epsg
> codes file (Bogota 1975 / Colombia Bogota zone) . WMS server
> response is:
>
> msWMSLoadGetMapParams(): Unsupporte SRS namespace (only EPSG
> and AUTO currently supported).
>
> MapServer version 4.2.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP OUTPUT=PDF SUPPORTS=PROJ SUPPORTS=FREETYPE
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR
> INPUT=GDAL INPUT=SHAPEFILE
>
> MapFile:
>
> METADATA
> wms_extent "940000.00000000
> 1120000.00000000
> 1211820.35394300 1400000.00000000"
> wms_abstract "** Gix Generated MapFile"
> wms_encoding "ISO-8859-1"
> wms_opaque "1"
> wms_accesscontraints "none"
> wms_addresstype ""
> wms_address ""
> wms_city ""
> wms_stateorprovince ""
> wms_postcode ""
> wms_country ""
> wms_contactelectronicmailaddress ""
> wms_contactfacsimiletelephone ""
> wms_contactperson ""
> wms_contactorganization ""
> wms_contactposition ""
> wms_contactvoicetelephone ""
> wms_feature_info_mime_type "NONE"
> wms_fees "none"
> # wms_group_title ""
> wms_keywordlist "Prueba"
> wms_title "Prueba"
> wms_timeformat "YYYY-MM-DDTHH,
> YYYY-MM-DDTHH:MM,
> YYYY-MM-DD HH:MM:SS"
> wms_onlineresource
> "http://localhost/cgi-bin/mapserv?map=/mapas/Prueba.map&"
> wms_srs "21892"
> wfs_onlineresource
> "http://localhost/cgi-bin/mapserv?map=/mapas/Prueba.map&"
> END
>
All "wms_srs" values must have the "EPSG" or "AUTO" prefix, i.e.:
"wms_srs" "EPSG:21892"
Cheers
..Tom
More information about the MapServer-users
mailing list