Tag Info

Hot answers tagged

7

Here is another way that you can do it. This way involves using one layer with expressions in each class. It is a little more 'expensive' to do it this way because it involves logical expressions, but you may never notice the difference unless you hit really high-load situations. Each class has a two-part expression. Both parts of the expression need to ...


7

You should in your case have two layers, one for wood and one for water. You can have two layers using the same shapefile.. Then you canchoose what layers to visualize directly in the request by the LAYERS parameter. The classes only represent different parts of the data (e.g. how data in that layers should be rendered).


5

Use OUTLINECOLOR Example STYLE # solid fill COLOR 255 0 0 END STYLE # thick outline (could use a circle symbol with size too) OUTLINECOLOR 0 0 0 WIDTH 3 ANTIALIAS TRUE END How do I have a polygon that has both a fill and an outline with a width? http://mapserver.org/faq.html


4

If you really, really need them all in one layer, you can used Named Styles to achieve this. See here for more details. Peter's suggestion of multiple layers is in many ways a much simpler approach, however.


2

Judging from the last few lines of output: checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking ...


2

It works in a similar way than tileindex with geotiffs. Actually I would recommend to test first with a geotiff tileindex and couple of images so that you know that everything else despite ECW is configured correctly. If changing to ECW breaks something you know where to start searching the reason for the issue. It can be that the GDAL of your Mapserver does ...


1

you can use PRIORITY in LABEL: For LABEL (http://mapserver.org/es/mapfile/label.html): PRIORITY [integer]|[item_name]|[attribute] The priority parameter takes an integer value between 1 (lowest) and 10 (highest). The default value is 1. It is also possible to bind the priority to an attribute (item_name) using square brackets around the ...


1

Mapserver needs the explained below to work correctly with SQL Server 2008. This is the code from MapServer. FLT_MAX is const and FLT_MAX=3.40282e+038 /* Get the layer extent as specified in the mapfile or a largest area */ /* covering all features */ int msMSSQL2008LayerGetExtent(layerObj *layer, rectObj *extent) { if(layer->debug) { ...


1

"Intersect" is mainly a typo in the OGC Filter encoding standard 1.0 that is also used in WFS 1.0.0. A message thread about this is at https://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg04231.html Especially this part from the answer by Andrea Aime: The Filter specification 1.0 states: <xsd:element name="Intersects" ...


1

Here's a solution that doesn't require Mapserver at all. Though, i'd rather find out how to do this in Mapserver because this solution seems hackish. Mapserver renders Pixmap symbols based on the image center point as mentioned above. If the marker center-point is not where we want it, then we just need to change it. Take your marker PNG and open it in ...


1

How are you trying to retrieve the data? I get a similar result when I set the resultModel as "om:Observation" but get results when I set it to "om:Measurement"


1

As far as pre-built 64 bit Windows binaries support is concerned, the answer is to either fetch binaries from http://vbkto.dyndns.org/sdk/ and roll your own or pay Jeff McKenna at http://www.gatewaygeomatics.com/ for his 64 bit MS4W build.



Only top voted, non community-wiki answers of a minimum length are eligible