This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAP | |
# | |
# Lars Schylberg - 2016-11-13 | |
# Tests for hatch patterns and other area patterns in Mapserver | |
# | |
# Run tests with: shp2img -m polygon-examples-hatch.map -o polygon-examples-hatch.png -map_debug 5 | |
# | |
NAME Polygon-examples-hatch | |
STATUS ON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAP | |
# | |
# Lars Schylberg - 2017-10-12 | |
# Test with polygon border decorations with native symbol in Mapserver | |
# | |
# Run tests with: shp2img -m polygon_border_with_marker.map -o polygon_border_with_marker.png | |
# | |
SIZE 800 500 | |
IMAGETYPE png24 | |
EXTENT -10 0 60 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAP | |
# | |
# Some examples with color specified with negative values | |
# Lars Schylberg - 2016-11-03 | |
# | |
# shp2img -m polygon-fill-rgb.map -o polygon-fill-rgb.png | |
# | |
NAME "polygon-fill-rgb" | |
STATUS ON | |
SIZE 800 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# import_raster_retile_v3.sh | |
# | |
# Convert and rewrite tif files with specified compression | |
# remove nodata parts. | |
# Create tile index for the new data set | |
# | |
# Lars Schylberg, Saab AB | |
# Date: 2019-01-30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# roadsigns_proc_fk.sh | |
# | |
# Preprocess road data with extra attributes for road shields plancement | |
# | |
# Author: Lars Schylberg, Saab AB | |
# Date: 2019-06-03 | |
# MIT License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAYER | |
MAXSCALEDENOM 131072 | |
MINSCALEDENOM 65536 | |
NAME 'Roads_shields_13' | |
TYPE LINE | |
# CONNECTIONTYPE: ogr | |
# CONNECTION: "fk/fk_vl_riks.sqlite" | |
# PROCESSING: "CLOSE_CONNECTION=DEFER" | |
DATA "fk/fk_vl_riks3" | |
GROUP "roads" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAYER { | |
13-19 { | |
NAME: 'Roads_shields' | |
TYPE: LINE | |
## CONNECTIONTYPE: ogr | |
## CONNECTION: "fk/fk_vl_riks.sqlite" | |
## PROCESSING: "CLOSE_CONNECTION=DEFER" | |
DATA: "fk/fk_vl_riks3" | |
GROUP: "roads" | |
@SE_layerconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAYER { | |
13-19 { | |
NAME: 'Roads_shields' | |
TYPE: LINE | |
DATA: "fk/vl_riks_rs_13-19" | |
GROUP: "roads" | |
@SE_layerconfig | |
METADATA {{ | |
"ows_group_title" "roads" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAYER | |
MAXSCALEDENOM 131072 | |
MINSCALEDENOM 65536 | |
NAME 'Roads_shields_13' | |
TYPE LINE | |
DATA "fk/vl_riks_rs_13-19" | |
GROUP "roads" | |
PROJECTION | |
"init=epsg:32633" | |
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
## showing usage of shp2tile, to create smaller shape files and tile index files for usage in Mapserver | |
# | |
## ............. | |
# Split large shapefiles with shp2tile into quad structure | |
# Select shape files greater than 20 MB | |
if [ ! -d ${FULL_DIR_FINAL}/tindex ] ; then | |
echo "mkdir ${FULL_DIR_FINAL}/tindex" |
OlderNewer