I have a map-file for UMN, that displays a layer of vectors, each geometry with different colors depending on their attributes. That works fine. I also want to add borders around each geometry. That's no problem, but on the view showing the complete area, the borders dominate the image, because each geometry has only a few pixels. So I want to show the borders only at an specified zoom-level. I can disable or enable the whole layer depending on the zoom, but I don't know how to realize this only for the borders.
How can I display borders for geometries with UMN-Mapserver only when zoomed in a lot?
338 views Asked by Mnementh At
1
There are 1 answers
Related Questions in GEOMETRY
- WorldToScreen function
- Intersection of Cartesian Box and Polygon in 3D
- find point in inside polygon ..with mysql
- How do I find the line segments formed by the meeting of two sides of two polygons?
- How to create a pareto distribution prediction function?
- How to estimate the memory size of a binary voxelized geometry?
- Spacing out overlapping rectangles: how to translate pseudocode?
- Sympy manipulation of wedge products
- how to create a sector and check if some point is in it's area?
- Get third control point quadratic Bezier curve for parabola with given fucus and directrix, Lua
- CGSRegionRef: How is an arbitrary region represented as union of rects?
- Distribution of n number of equi-distant point in polygon
- Selecting suitable triangles to intersect with a line
- How to distribute n number of points into a svg polygon javascript
- How to offset a shaply polygon without chnaging corner shape
Related Questions in BORDER
- How do I add visual border, from image, that is flexible and scalable?
- set some custom csss styles in Leadpages
- I have some picture box and I don't want my main character to touch it like to stop moving
- How to prevent overflowing border creating a horizontal scroll bar?
- Node border width control in Netgraph
- create a consistent border with CSS border-image
- Remove specific border inside a table
- is there a way to make the hover function fill space follow border lines below its block element
- Why does adding a border to a parent div change its size to contain the margin of its children but not when it doesn't have border?
- Border-Top on only second nav ul li
- decorative two-colored border (css)
- Hi, I am not able to see the CSS effect on the web browse to HTML file using Visual code. I can run HTML file in chrome and can see login page
- SWT button has border by default
- Having trouble applying border images
- Border radius to create curved div
Related Questions in ZOOMING
- Why is the zoom feature of my game in pygame not working?
- OpenLayers: Zoom level cropping VectorTile layer - how to fix?
- mapView.fitToBounds() method from highcharts not working
- Zoom Web SDK - "Invalid apiKey/sdkKey and/or signature"
- React zooming and dragging image
- Using SciPy ndimage.zoom on an array with nan values
- Removing blurred mathematical expressions into a PDF file and make it vectorized when zooming
- UIScrollView is unexpectedly initially zoomed in in UIViewControllerRepresentable
- Zooming into defs in force-directed graphs
- Layout breaks on zoom in with "cmd +" but not with zoom in with mousepad
- Image not being dragged correctly when zoomed in
- Prevent shiny reactivity to re-render a plot when zooming the screen
- d3 zoomable circle packaging broken zoom
- App with Imageview scale in Android Studio emulator Small Device breaks without error
- Resolving Coordinate Misalignment in Zoomable PictureBox
Related Questions in MAPSERVER
- Can't run Python's mapscript because of a missing DLL
- Publishing PostGIS-Raster Using Mapserver
- MapServer dynamic rotation
- Apache on windows service on port 80 becomes unavailable when a reverse proxy is activated
- How to avoid MapServer error when remote layer returns empty response
- How to use a WFS DescribeFeatureType request with group name instead of layer name in MapServer
- how to generate partly transparent images of hillshade for MapServer
- MapServer OGC API Setup
- how to remove edges from MapCache seeding process of MapServer heatmap
- MapServer (WMS) OAPIF connection - disable schema establishing
- MapServer: Hide the Map parameter .map Path
- function force_2d(geometry) does not exist
- Cannot access MapServer when using Let's Encrypt HTTPS on Apache2
- Query by distance in ArcGIS rest service to check if a point is within a buffer of a feature
- How to apply buffer in MapServer WMS query?
Related Questions in UMN
- How to display raster layer in umn mapserver clearly
- UnsatisfiedLinkError and NoClassDefFoundError : Running Java Mapscript on Ubuntu 11.10
- Why does UMN-Mapserver shows an ERDAS Image-File (.img) as white shape?
- Is the map-Parameter of the UMN-mapserver conform to the OGC WMS-specification?
- How to reproject map with a cascading UMN-mapserver?
- How can I display borders for geometries with UMN-Mapserver only when zoomed in a lot?
- How do you get transparent background in a layer with UMN mapserver?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can do that in at least two ways.
First, you can define two layers, one with the borders and one without the borders. Then you can use MINSCALEDENOM and MAXSCALEDENOM to display either the first or the second, based on zoom level.
Or, you can define one layer with the colored geometries, without borders, to be displayed at all zoomlevels. Then you should define a layer which consists of only the borders, to be displayed on top of the first but only at specified zoomlevel (again using MINSCALE and MAXSCALE). This layer uses the same data of the regular layer, but it must be of type POLYGON but without the COLOR keyword (only the OUTLINECOLOR should be specified). This way only the border of the polygon would be displayed and, if you display this on top of the other, you can create the effect of borders.
For a detailed description of the keywords, http://www.mapserver.org/mapfile/layer.html