[Mapbender-users] GetCapabilities-REQUEST

Sylvia Preuß sylvia_preuss at web.de
Sat Sep 4 09:16:41 EDT 2010


Hallo Lars,

folgend meine mapdatei. MAP stand bereits unter der auskommentierten Anfrage in der 1. Zeile. Habe es jetzt ganz nach oben gestellt. Gleiche Fehlermeldung: 
msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile.
???
Gruß Sylvia

MAP #http://localhost/cgi-bin/mapserv.exe?map=c:/umn/germany_pg.map&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities NAME "germany_postgreSQL"STATUS ONEXTENT 2886610 5230448 4285190 6130010 #5.88 46.6213 15 55.7187UNITS METERS SYMBOLSET "c:/umn/symbols/symbols_germany.sym"FONTSET "c:/umn/fonts/fonts.fnt" PROJECTION"init=epsg:31466"ENDCONFIG "MS_ERRORFILE" "c:/umn/umn_tmp/ms_error.txt"DEBUG 2 WEB IMAGEPATH 'c:/umn/umn_tmp/'IMAGEURL 'http://localhost/umn_tmp/' METADATA"WMS_ACCESSCONSTRAINTS" "none""WMS_SRS" "epsg:31467 epsg:31466 epsg:4326" "WMS_ONLINERESOURCE" "[http://localhost/cgi-bin/mapserv.exe?map=c:/umn/germany_pg.map]" "WMS_TITLE" "Germany PostgreSQL PostGIS""WMS_FEATURE_INFO_MIME_TYPE" "text/html""WMS_ABSTRACT" "germany_postgreSQL""WMS_ENCODING" "UTF-8" "ows_keywordlist" "Germany,Deutschland,WMS,Schulung,Demo""ows_fees" "none""ows_accessconstraints" "none""ows_addresstype" "postal""ows_stateorprovince" "NRW""ows_postcode" "53121""ows_country" "Germany""ows_schemas_location" "[http://schemas.opengeospatial.net/]" ENDEND OUTPUTFORMATNAME pngDRIVER "GD/PNG"MIMETYPE "image/png"EXTENSION PNGIMAGEMODE PC256 TRANSPARENT ON END QUERYMAPSIZE 200 200 STATUS ON STYLE HILITE COLOR 255 0 0 END #------------------------ LAYERNAME "Bundeslaender"STATUS ONTYPE MULTIPOLYGONCONNECTIONTYPE POSTGIS CONNECTION "user=postgres dbname=germany_umn host=localhost password=postgres"#DATA "the_geom from bundeslaender"DATA "the_geom from countries_pl" METADATA"WMS_SRS" "epsg:31466""WMS_TITLE" "Bundeslaender""WMS_FEATURE_INFO_MIME_TYPE" "text/html" END PROJECTION"init=epsg:31466" END MINSCALEDENOM 0MAXSCALEDENOM 900000000 UNITS METERSSIZEUNITS PIXELSTOLERANCE 10 TOLERANCEUNITS PIXELS CLASSNAME "Bundeslaender"STYLE#SYMBOL "circle" COLOR 0 100 255OUTLINECOLOR 100 0 255 SIZE 20 ENDENDEND

-----Ursprüngliche Nachricht-----
Von: Lars Lingner  
Gesendet: 04.09.2010 14:38:51
An: mapbender_users at lists.osgeo.org
Betreff: Re: [Mapbender-users] GetCapabilities-REQUEST

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Am 04.09.2010 14:09, schrieb Sylvia Preuß:
>> Hallo Lars,
>> 
>> habe die Angaben wie folgt geändert:
>> mapfile:
>> "WMS_ONLINERESOURCE" "http://localhost/cgi-bin/mapserv.exe?map=c:/umn/germany_pg.map"
>> im Browser: 
>> http://localhost/cgi-bin/mapserv.exe?map=c:/umn/germany_pg.map&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities
>> 
>> Fehlermeldung im IE:
>> msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile.
>> 
>
>Der Fehler weißt darauf hin, dass zu Beginn eines jeden Mapfiles das
>Schlüsselwort MAP stehen muss.
>
>Ähnliche Beschränkungen gibt es für die Symbolset-Datei und Templates.
>Siehe auch [1]
>
>Lars
>
>
>[1]
>http://mapserver.org/development/rfc/ms-rfc-56.html#enforce-the-requirement-for-the-map-and-symbolset-keywords
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.10 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
>iEYEARECAAYFAkyCPdcACgkQ0GRF77ebR/mfLgCfbp6bR08cHHL1QsODdwiDQAus
>UssAoNRRHnMPzcCx5CIgA8xGsh4kesz3
>=x8jg
>-----END PGP SIGNATURE-----
>_______________________________________________
>Mapbender_users mailing list
>Mapbender_users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapbender_users
___________________________________________________________
WEB.DE DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für 
nur 19,99 €/mtl.!* http://web.de/DSL-Doppel-Flatrate/


More information about the Mapbender_users mailing list