Hi Jonathan,
It worked for me also. It is doing as expected. Yes I was having too many
the_geom's. Actually validator should to throw error that too many
geometries (the_geom's) are being inputted. Anyway thanks a lot for your
kind help.
Syed Shadab
On 9 May 2014 17:37, Jonathan Moules <[email protected]>wrote:
> Hi Syed,
> Do you need an offset on an isometric? Offset (for a shadow) is typically
> used as an alternative.
>
> That said, you appear to have one too many the_geom's.
>
> This works for me:
>
> <se:Geometry>
>>
>> <ogc:Function name="isometric">
>> <ogc:Function name="offset">
>> <ogc:PropertyName>the_geom</ogc:PropertyName>
>> <ogc:Literal>200</ogc:Literal>
>>
>> <ogc:Literal>0</ogc:Literal>
>> </ogc:Function>
>> <ogc:Literal>200</ogc:Literal>
>> </ogc:Function>
>> </se:Geometry>
>>
>
> Remember that the Offset is functioning as the_geom for the isometric so
> you don't need it.
>
> Strictly speaking, maybe this is a bug in the validator - should it
> validate given it appears to be wrong?
>
> Regards,
> Jonathan
>
>
>
> On 8 May 2014 12:12, S Shadab <[email protected]> wrote:
>
>> I want to use nested geometric functions in SLD of GeoServer. For example
>> I
>> want to set some offset for certain type of polygons in my data. Then
>> output
>> of the offset geometric function needs to be given as input to another
>> geometric function isometric to give required extrusion. I tried with
>> following code.
>>
>> <Geometry>
>> <ogc:Function name="isometric">
>> <ogc:Function name="offset">
>> <ogc:PropertyName>the_geom</ogc:PropertyName>
>> <ogc:Literal>0</ogc:Literal>
>> <ogc:Literal>7</ogc:Literal>
>> </ogc:Function>
>> <ogc:PropertyName>the_geom</ogc:PropertyName>
>> <ogc:Literal>7</ogc:Literal>
>> </ogc:Function>
>> </Geometry>
>>
>> It gives no validation error but in layer preview, it is throwing the
>> following error:
>>
>> <ServiceException>
>> java.lang.RuntimeException: Unable to find function isometric
>> Unable to find function isometric
>> </ServiceException></ServiceExceptionReport>
>>
>> Is it possible to use nested function? or I am doing something wrong here?
>>
>> Thanks in Advance.
>>
>> Syed Shadab
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/Nested-Geometric-Functions-in-SLD-of-GeoServer-tp5139190.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Is your legacy SCM system holding you back? Join Perforce May 7 to find
>> out:
>> • 3 signs your SCM is hindering your productivity
>> • Requirements for releasing software faster
>> • Expert tips and advice for migrating your SCM now
>> http://p.sf.net/sfu/perforce
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> This transmission is intended for the named addressee(s) only and may
> contain confidential, sensitive or personal information and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this transmission in error please notify
> the sender immediately. All email traffic sent to or from us, including
> without limitation all GCSX traffic, may be subject to recording and/or
> monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users