I am applying a symbol to a point on ellipse. For this i used the startPoint
function, but my ellipse's coordinates start from the right side on the
curve so it wrongly places the symbol at the right side.
I found numPoints and pointN functions which I thought of using for this by
getting no. of points on ellipse from numPoints and using pointN to place
the symbol at 3/4* numPoints.
This is just logic which I am not sure if could be applied. Please help if
someone knows how to write this in SLD , please suggest or some other way of
achieving this through other functions.
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.
I am applying a symbol to a point on ellipse. For this i used the startPoint
function, but my ellipse’s coordinates start from the right side on the
curve so it wrongly places the symbol at the right side.
I found numPoints and pointN functions which I thought of using for this by
getting no. of points on ellipse from numPoints and using pointN to place
the symbol at 3/4* numPoints.
This is just logic which I am not sure if could be applied. Please help if
someone knows how to write this in SLD , please suggest or some other way of
achieving this through other functions.
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems
I wan't to place a symbol on the boundary of the ellipse at the top.
In my question I had pointed two filter functions (numPoints and pointN)
which I guess could be useful but I don't know how to use them. I could find
any documentation on their usage.
If someone has idea about how in SLD we use a filter function (numPoints)
which returns a value(n) and then performing an arithmetic operation on that
return value (3/4*n), please suggest.
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.
I wan’t to place a symbol on the boundary of the ellipse at the top.
In my question I had pointed two filter functions (numPoints and pointN)
which I guess could be useful but I don’t know how to use them. I could find
any documentation on their usage.
If someone has idea about how in SLD we use a filter function (numPoints)
which returns a value(n) and then performing an arithmetic operation on that
return value (3/4*n), please suggest.
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft
I changed the geometry, so that I can use the startPoint() function :).
Anyways thanks for the info.
I was curious how this thing could be achieved in SLD structure. Afterall
its an XML structure with name value pairs, so understanding passing a value
to a filter function, like in this case startPoint() where the_geom is
passed and it applied some style at the start point of geometry, is easy.
But couldn't understand how do we read the return value from a function like
numPoint() and do some thing with it.
Hi Shariq,
I guess that means it works.
Could you share the relevant XML section with the list, others may benefit.
I know I had the exact same problem as you (figuring out the structuring) when I first wanted to use one of these some time ago.
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.
I changed the geometry, so that I can use the startPoint() function :).
Anyways thanks for the info.
I was curious how this thing could be achieved in SLD structure. Afterall
its an XML structure with name value pairs, so understanding passing a value
to a filter function, like in this case startPoint() where the_geom is
passed and it applied some style at the start point of geometry, is easy.
But couldn’t understand how do we read the return value from a function like
numPoint() and do some thing with it.
Sent from the GeoServer - User mailing list archive at Nabble.com.
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft
I meant since I could not find the solution I did a workaround by changing
the geometry and using a different function(startPoint()).
I tried just now your solution, but it returned with :
<ServiceExceptionReport version="1.1.1">
<ServiceException>
java.lang.RuntimeException: Unable to find function numPoints Unable to find
function numPoints
</ServiceException>
</ServiceExceptionReport>
It gave the same for round(), so I removed it from SLD.
Will search for the error, but am busy with other things in the project.