27-12-2010, 15:44
Witam. Niestety nie znam się na WEBGISie ani na htmlu, a przebrnięcie mapservera jak na razie okazuje się ponad moje siły. Mam problem z otworzeniem mapy zapisanej przez wtyczkę MapserverExport. Po zakończeniu zapisywania mapy pojawia się komunikat:
Starting
Wrote map section
Wrote projection section
Wrote output format section
Wrote legend section
Wrote web section
Wrote map layers
Map file completed for C:/projektmapserv.qgs
Map file saved as C:/projektmapserv.map
> If this mapfile is accessible by your mapserver, you
should be able to see the capabilities by firing this url:
http://localhost/cgi-bin/mapserv.exe?MAP=C:/projektmapserv.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
> if this mapfile is accessible by your mapserver, you
should be able to see a map by firing this url:
http://localhost/cgi-bin/mapserv.exe?MAP=C:/projektmapserv.map&LAYERS=ALL&MODE=MAP
Sprawdzając mapę zgodnie z podanymi adresami pojawił się komunikat:
loadSymbolSet(): Unable to access file. (./symbols/symbols.txt)
Po usunięciu ścieżki do symboli (zgodnie z zaleceniem z innego tematu)w pliku i przeładowaniu strony pojawia się komunikat:
msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile.
Niezależnie od tego czy początek pliku wygląda tak jak go wtyczka stworzyła czyli:
# Map file created from QGIS project file C:/projektmapserv.qgs
# Edit this file to customize for your map interface
# (Created with PyQgis MapServer Export plugin)
MAP
NAME "QGIS-MAP"
# Map image size
SIZE 512 256
UNITS meters
EXTENT -2.638468 -0.582631 -0.088234 1.106715
FONTSET './fonts/fonts.txt'
SYMBOLSET '.'
PROJECTION
Czy po usunięciu początku:
MAP
NAME "QGIS-MAP"
# Map image size
SIZE 512 256
UNITS meters
EXTENT -2.638468 -0.582631 -0.088234 1.106715
FONTSET './fonts/fonts.txt'
SYMBOLSET '.'
PROJECTION
Czy ktoś wie co może być nie tak?
Starting
Wrote map section
Wrote projection section
Wrote output format section
Wrote legend section
Wrote web section
Wrote map layers
Map file completed for C:/projektmapserv.qgs
Map file saved as C:/projektmapserv.map
> If this mapfile is accessible by your mapserver, you
should be able to see the capabilities by firing this url:
http://localhost/cgi-bin/mapserv.exe?MAP=C:/projektmapserv.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
> if this mapfile is accessible by your mapserver, you
should be able to see a map by firing this url:
http://localhost/cgi-bin/mapserv.exe?MAP=C:/projektmapserv.map&LAYERS=ALL&MODE=MAP
Sprawdzając mapę zgodnie z podanymi adresami pojawił się komunikat:
loadSymbolSet(): Unable to access file. (./symbols/symbols.txt)
Po usunięciu ścieżki do symboli (zgodnie z zaleceniem z innego tematu)w pliku i przeładowaniu strony pojawia się komunikat:
msLoadMap(): Unknown identifier. First token must be MAP, this doesn't look like a mapfile.
Niezależnie od tego czy początek pliku wygląda tak jak go wtyczka stworzyła czyli:
# Map file created from QGIS project file C:/projektmapserv.qgs
# Edit this file to customize for your map interface
# (Created with PyQgis MapServer Export plugin)
MAP
NAME "QGIS-MAP"
# Map image size
SIZE 512 256
UNITS meters
EXTENT -2.638468 -0.582631 -0.088234 1.106715
FONTSET './fonts/fonts.txt'
SYMBOLSET '.'
PROJECTION
Czy po usunięciu początku:
MAP
NAME "QGIS-MAP"
# Map image size
SIZE 512 256
UNITS meters
EXTENT -2.638468 -0.582631 -0.088234 1.106715
FONTSET './fonts/fonts.txt'
SYMBOLSET '.'
PROJECTION
Czy ktoś wie co może być nie tak?