Re: [mapserver-users] Apply style to geojson based on property in geojson data

2017-10-25 Thread Richard Greenwood
Expressions are easy to mess up. To test if "value" is getting thru the drive try using it as a label. That might help you to narrow down the problem. LABELITEM "value" . . . CLASS . . . LABEL . . . END END On Wed, Oct 25, 2017 at 2:08 AM, Tuffa wrote: > Hello Richard! > > >

Re: [mapserver-users] Apply style to geojson based on property in geojson data

2017-10-25 Thread Tuffa
Hello Richard! > I haven't used geojson as a data source, but maybe if you shared a small > example of your map file and the data it would help. Here's some more information mapfile.map (excerpt): LAYER NAME "countries" STATUS OFF TYPE POLYGON CONNECTIONTYPE OGR CONNEC

Re: [mapserver-users] Apply style to geojson based on property in geojson data

2017-10-24 Thread Richard Greenwood
I haven't used geojson as a data source, but maybe if you shared a small example of your map file and the data it would help. On Tue, Oct 24, 2017 at 8:43 AM, Tuffa wrote: > Hello! > > I am rendering a map of African countries from a single geojson file. Each > country is represented as a featu

[mapserver-users] Apply style to geojson based on property in geojson data

2017-10-24 Thread Tuffa
Hello! I am rendering a map of African countries from a single geojson file. Each country is represented as a feature with geometry. I've added a custom value to each feature's properties, that I would like to influence the style selected by MapServer to render the country outline, however I can