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 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 cannot see
> how it is possible to configure the layer so that MapServer uses the new
> 'value' property as the input for the style expressions that I have
> created...
>
> Doing the same job, using a database as the datasource is easy!  I simply
> craft a SQL 'select' statement for the mapfile's Layer 'DATA' to retrieve
> the desired value and it becomes available to MapServer using the
> '[value_name]' syntax in style expressions.
>
> This same approach does not appear to work for GeoJSON.  MapServer states
> that the extent of support for the 'DATA' is driver-dependant, which is
> fair
> enough; examination of the geoJson driver doc in the GDAL doc's does not
> help me though.
>
> Can anyone help?
>
> Regards
> Chris
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-
> f4226646.html
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users




-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] [TCMUG] Nice turnout at the most recent Twin Cities OSGeo Chapeter (TCMUG) Meeting last night.

2017-10-24 Thread Dan Little
All the same to me.

On Oct 24, 2017 13:43, "Basques, Bob (CI-StPaul)" <
bob.basq...@ci.stpaul.mn.us> wrote:

> All,
>
> I’ve gotten a request to move the Meeting to Wednesday Nov. 29th.  Most
> everyone ok with that?
>
> I’l make this official at the end of the day if I don’t hear anything to
> the contrary.
>
> bobb
>
>
> On Oct 24, 2017, at 9:38 AM, Basques, Bob (CI-StPaul) <
> bob.basq...@ci.stpaul.mn.us> wrote:
>
> All,
>
> We had a nice turnout at the last Twin Cities OSGeo Chapter (TCMUG)
> meeting.  See here
> 
> .
>
> Based on discussion at the last meeting, the next meeting is tentatively
> scheduled for Nov. 30th, @ Barrel Theory Beer Company
>  in downtown Saint Paul @4:30
>
> Directions
> 
> .
>
> Let me know how this works for everyone.  The date is somewhat flexible,
> but the Thanksgiving holiday week is just before this date and a couple of
> the group will be out of town the week before that.
>
>
> bobb
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
>
> "Sometimes a scream is better than a thesis." - Ralph Waldo Emerson
>
>
>
>
> ___
> Tcmug mailing list
> tc...@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/tcmug
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Nice turnout at the most recent Twin Cities OSGeo Chapeter (TCMUG) Meeting last night.

2017-10-24 Thread Basques, Bob (CI-StPaul)
All,

I’ve gotten a request to move the Meeting to Wednesday Nov. 29th.  Most 
everyone ok with that?

I’l make this official at the end of the day if I don’t hear anything to the 
contrary.

bobb


On Oct 24, 2017, at 9:38 AM, Basques, Bob (CI-StPaul) 
> wrote:

All,

We had a nice turnout at the last Twin Cities OSGeo Chapter (TCMUG) meeting.  
See 
here.

Based on discussion at the last meeting, the next meeting is tentatively 
scheduled for Nov. 30th, @ Barrel Theory Beer 
Company in downtown Saint Paul @4:30

Directions.

Let me know how this works for everyone.  The date is somewhat flexible, but 
the Thanksgiving holiday week is just before this date and a couple of the 
group will be out of town the week before that.


bobb


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users



"Sometimes a scream is better than a thesis."
- Ralph Waldo Emerson



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[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 cannot see
how it is possible to configure the layer so that MapServer uses the new
'value' property as the input for the style expressions that I have
created...

Doing the same job, using a database as the datasource is easy!  I simply
craft a SQL 'select' statement for the mapfile's Layer 'DATA' to retrieve
the desired value and it becomes available to MapServer using the
'[value_name]' syntax in style expressions.  

This same approach does not appear to work for GeoJSON.  MapServer states
that the extent of support for the 'DATA' is driver-dependant, which is fair
enough; examination of the geoJson driver doc in the GDAL doc's does not
help me though.  

Can anyone help?  

Regards
Chris



--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Nice turnout at the most recent Twin Cities OSGeo Chapeter (TCMUG) Meeting last night.

2017-10-24 Thread Basques, Bob (CI-StPaul)
All,

We had a nice turnout at the last Twin Cities OSGeo Chapter (TCMUG) meeting.  
See 
here.

Based on discussion at the last meeting, the next meeting is tentatively 
scheduled for Nov. 30th, @ Barrel Theory Beer 
Company in downtown Saint Paul @4:30

Directions.

Let me know how this works for everyone.  The date is somewhat flexible, but 
the Thanksgiving holiday week is just before this date and a couple of the 
group will be out of town the week before that.


bobb


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users