Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Nowadays i'm using Mapscript and C# to generate and display a Mapfile, but in this way i need to create manualy the interface, is there any way to use Mapscript + Openlayers?

share|improve this question
OpenLayers ins Javascript. Why do you want to use it with Mapscript? Is your goal to write C# code that writes Javascript code? – underdark May 26 '11 at 6:39
My goal is to use OpenLayers interface with Mapcript, i want to use the pan, zoom, drag and drog generated by OpenLayer. – Michel Andrade May 30 '11 at 23:26

You do not need mapscript to achieve what you want. Simply use the mapserv cgi to publish the layers as WMS and then consume the WMS services from a OpenLayers-powered web page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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