The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
142 views

MapServer Mapfile: One layer, disable the label but not the point for first two zoom levels

This map is not using OpenLayers, just MapServer with a mapfile. There is a layer that displays both the point and the label. Looking through the documentation, I'm not entirely sure what the best ...
0
votes
1answer
104 views

Mapfile SYMBOLSCALEDENOM and SIZEUNITS (miles) 200: Keep SIZEUNITS while circles change size based on zoom

I've been trying to understand how to keep the SIZEUNITS at 200 while the circles appropriately adjust based on zoom level. Thought I had this working properly but turns out I did not. You can see ...
0
votes
0answers
23 views

mapserver tolerance in mapfile or template

I set tolerance in a layer of my mapfile. It works fine : LAYER NAME emprise STATUS on TYPE POLYGON CONNECTIONTYPE POSTGIS CONNECTION "host=10.1.18.18 dbname=InrapTours user=PostGIS ...
0
votes
0answers
45 views

How to build mapfile symbology with dynamic value inside the symbol?

Is it possible to build mapfile point symbology style such that dynamic text (in my case a number) can be shown inside the symbol as in the attached images. , Regards, Shiva
0
votes
0answers
46 views

Converting shapefile to map file

I'm trying to convert a shape file to a map for using it along with mapforge . I tried to do this by converting .shp to osm using JOSM.And I use osmosis with mapwriter plug in from mapforge to convert ...
0
votes
0answers
64 views

Pyshp + Mapserver: How to add label at specified coordinate?

EDIT: solved, went for the solution as described below I have a set of polygons defined in a xml file. I create a shapefile with Pyshp. This works fine. But now i want to add labels to the ...
0
votes
0answers
65 views

MapServer 6.2: Using REPEATDISTANCE and BUFFER/PRIORITY accordingly: US Interstate Icons/Symbols

I have a map focused on the United States displaying US Interstates. The goal: to make the US interstate symbols look nice and consistent throughout the map. The three attributes I think are the ...
0
votes
0answers
170 views

How to add a legend for mapfile (Raster Data)

What I would like to do is shown in the figure below. How can I add this color ramp legend in a mapfile which will also be linked to a raster. I don't know how to get it working while drawing a figure ...
0
votes
0answers
140 views

MapServer Mapfile: Scalebar not displaying correct distances?

Scalebar: SCALEBAR LABEL COLOR 0 0 0 SIZE SMALL END STYLE 0 SIZE 180 8 POSITION lc COLOR 0 0 0 UNITS MILES INTERVALS 2 TRANSPARENT TRUE STATUS EMBED END I didn't even ...
0
votes
0answers
172 views

MapServer with OpenLayers: Map is Pink, Trouble Displaying Layer Correctly

Having trouble using a mapfile with an html/js file(openlayers) together. Have a working example but can't seem to replicate it. Can also view the gist of the 2 files here The piece of code in ...
0
votes
0answers
89 views

What do we have to set in mapfile´s data parameter for SOS?

We are trying to run the MapServer SOS example at this link. However, we don´t know how to configure the data parameter in the mapfile. What do we have to set in mapfile´s data parameter? We need to ...