[MS4W-Users] Problem using a feature attribute from an OGR file
lars.schylberg at blixtmail.se
lars.schylberg at blixtmail.se
Fri Mar 17 10:43:08 EDT 2017
Hi Allan,
I can just confirm what Jeff said. I ran an experiment just with the US data and it worked fine.
An other detail that You talked about yesterday. The OGR is smart, it applies the update files automaticly.
Turn on: CONFIG "CPL_DEBUG" "ON" - GDAL/OGR debugging
Look in the log files and You can see that all update files are used.
Have fun / Lars Schylberg
Here is my full mapfile - but still on a debian machine. I use local font and epsg files.
MAP
NAME S57CHART
SIZE 1200 1000
UNITS dd
EXTENT -98.15 17.738333 -76.083333 33.633333
CONFIG "MS_ERRORFILE" "/tmp/DEBUG.log"
DEBUG 5
CONFIG "CPL_DEBUG" "ON"
CONFIG "ON_MISSING_DATA" "LOG"
PROJECTION
'init=epsg:4326'
END
IMAGETYPE png
FONTSET './fonts/fontset.lst'
OUTPUTFORMAT
NAME 'AGG'
DRIVER AGG/PNG
IMAGEMODE RGB
END
CONFIG "PROJ_LIB" './epsg/'
SHAPEPATH "./"
WEB
IMAGEPATH '/tmp/ms_tmp/'
IMAGEURL '/ms_tmp/'
METADATA
"ows_enable_request" "*"
END
END
LAYER
NAME "DEPCNT_US1GC09M"
TYPE LINE
STATUS ON
CONNECTIONTYPE OGR
CONNECTION "./ENC_ROOT/US1GC09M/US1GC09M.000"
DATA DEPCNT
PROCESSING "NATIVE_FILTER=PRIM=2" # Select only linestrings
CLASS
STYLE
WIDTH 0.91
COLOR 0 0 255
END #style
LABEL
COLOR "#070707"
TYPE TRUETYPE
FONT sc
SIZE 8
POSITION CC
PARTIALS FALSE
MINDISTANCE 50
ANGLE FOLLOW
TEXT (round([VALDCO], 0.1))
END
END # class
END # layer DEPCNT_US1GC09M
END # map
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/mailman/private/ms4w-users/attachments/20170317/b296dfb4/attachment.html>
More information about the MS4W-Users
mailing list