Re: [mapguide-users] stylizing adjoined surfaces

2014-03-17 Thread torrini
I copied your proposal, but this is what I get:
http://osgeo-org.1560.x6.nabble.com/file/n5129356/usagecontrol_parametric.png 

Now the parcels are no longer surfaces. You can select each line-part. It's
definitely not what I want.
Is there another possibility?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/stylizing-adjoined-surfaces-tp5129043p5129356.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] FDO Expression Filter on current date

2014-03-17 Thread Gabriele Monfardini
Hi all,

I was wondering if it is feasible to have a filter that stylize a layer
comparing a column value against current year.
The aim is not to have to modify the stylization each year.

From the documentation I suspect this is not possible or at least
undocumented.
In details I'm using OGRProvider and Mapguide 2.5.2

Any advice?

Best regards,

Gabriele Monfardini
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] FDO Expression Filter on current date

2014-03-17 Thread Berg, James
What kind of values are in in your column? Are they actual timestamps like in a 
DateTime field, or are they strings with just years like “2005”, “2007”, etc? 
This will effect what kinds of functions you’ll need to use to convert the data.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] FDO Expression Filter on current date

2014-03-17 Thread Gabriele Monfardini
Hi James,



 What kind of values are in in your column? Are they actual timestamps like
 in a DateTime field, or are they strings with just years like “2005”,
 “2007”, etc? This will effect what kinds of functions you’ll need to use to
 convert the data.



column type is under my full control, actually is a string with the year
but I can transform it in Date.

However my question is about FDO function to evaluate current year, such as
CurrentDate() or something like that.
And as bonus point, also which is the function to extract the year from a
date.

Regards,

Gabriele Monfardini
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] FDO Expression Filter on current date

2014-03-17 Thread Jackie Ng
You probably need a combination of CurrentDate() and Extract(), sadly neither
of which is supported by the OGR provider.

I think the OGR provider really needs full FDO Expression Engine support,
even if this degrades performance because we're not using natively supported
expression functions.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/FDO-Expression-Filter-on-current-date-tp5129402p5129578.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users