Tag Info

New answers tagged

1

Found one on GitHub : MapserverSyntaxHighlighting It adds a user defined language in N++ (check this, if you want to create your own). Just put the two files given here : userDefineLang.xml -> %appdata%\Notepad++ mapfile.xml -> %programfiles(x86)%\Notepad++\plugins\APIs You may need to restart N++ or reopen the mapfile.


0

That should not cause any problem. The windows server where you run Mapserver runs the Oracle client library. I assume that it comes from Oracle 11.2. Oracle client libraries and servers are compatible across versions, both upwards and downwards - except for very old versions. In other words you don't need to upgrade the Oracle client on your Mapserver ...


0

Kaarel´s answer should be marked as the correct answer. You need to call the loadFeatures function from the AJAX call. I created three jsfiddle to demonstrate ol 3.5.0 calls via AJAX for ol.format.GeoJSON (JSON and JSONP) as well as ol.format.WFS. WFS http://jsfiddle.net/goldrydigital/9d3jzpna/ JSON http://jsfiddle.net/goldrydigital/ucspgvx0/ JSONP ...


0

You can use a framework on top of Mapserver to enable WMS/OWS authentication. Here is a list obtained from a post to the mapserver-users mailing list. Mapbender - been around a long long time and has a wonderful amount of OWS functionality Geoprisma secureOWS GeoShield If you ever decide to use Geoserver, take a look at the AuthKey module.


0

Try below sample (tested). It's possible I missed to remove some parameters not required. You should be able to correct your own issue in the mapfile. A sample.map file MAP NAME "MAPSERVER QUICKSTART" EXTENT -137 29 -53 88 UNITS DD SHAPEPATH "/tmp/" SIZE 800 600 SYMBOLSET "symbols.txt" IMAGETYPE PNG24 PROJECTION "init=epsg:4326" END ...


0

The solution is described here http://osgeo-org.1560.x6.nabble.com/How-to-use-filter-encoding-in-MapServer-in-a-WFS-query-td5205424.html. It seems that is an old problem with int considered as string and the solution is really to use PropertyIsLike operator instead of the PropertyIsEqual but be careful about the sintax .... Here you're a couple examples ...



Top 50 recent answers are included