0

I'm using MapManager to create the file .map but I can't understand how mapserver opens this file, I try to see the folder of pmapper where there is the demo file. I put the my .map file there and then, I changed the path of mapserver but it is not the right way.

10

1 Answer 1

0

MapServer can find/access the map file (or files) though a number of mechanisms, such as the global configuration file for version 8, and/or in a web server configuration file, and/or you can call it as part of the request like (using your configuration example):

http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\apps\pmapper\pmapper_demodata\prova.map&

This is the URL to which a client appends appropriate request parameters. So for example if you've allowed a WMS, the following request would give an XML response.

http://localhost/cgi-bin/mapserv.exe?map=C:\ms4w\apps\pmapper\pmapper_demodata\prova.map&service=WMS&request=GetCapabilities&

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.