Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For each asset layer you will need a LAYER section which should be given the same name as the faults layer but with the suffix 'Assets' and should appear directly BELOW the faults layer in the Layer group's layer list - see screenshot below. The ordering in the .map file is not important.

Logger Tree in StudioImage RemovedImage Added

Code Block
titleExample
LAYER
	NAME faultsAssets
	DEBUG 5
	TYPE POINT
	STATUS OFF
	CONNECTIONTYPE postgis
	CONNECTION "user=iShareData password=password dbname=iShareData host=localhost port=5432"
	DATA "wkb_geometry from (select * from my_assets) as foo using unique ogc_fid using SRID=27700"
	METADATA
		qstring_validation_pattern '.'
	END
	CLASS
		STYLE
		SYMBOL “rectangle”
		OUTLINECOLOR 0 0 0
		COLOR 255 255 255
		WIDTH 2
		SIZE 8
		END
	END
END