Jody,
my custom function is done and working fine !
Thanks
Envoyé à partir d’Outlook<http://aka.ms/weboutlook>
________________________________
De : Olivier Gagnon <mcno...@hotmail.com>
Envoyé : 25 août 2017 13:27
À : Jody Garnett
Cc : GeoServer Users
Objet : RE: [Geoserver-devel] Dynamic Copyright
Hi,
I'd like to create a custom function. I followed the Quickstart on geotools
website and bothj example work but I still have a few questions.
-Will it be easier to create a brand new .jar or I should aim at adding a new
class to an existing one ?
-In a SLD file, to use the pointstacker I use <ogc:Function
name="vec:PointStacker">. Where is the "vec" part defined ? Will I have to
define one for my function ?
Thanks
Envoyé à partir d’Outlook<http://aka.ms/weboutlook>
________________________________
De : Olivier Gagnon <mcno...@hotmail.com>
Envoyé : 24 août 2017 10:15
À : Chris Snider; Jody Garnett
Cc : GeoServer Users
Objet : RE: [Geoserver-devel] Dynamic Copyright
Chris,
thanks for your input. Your SLD will definitely be useful in the future.
For now I need to create one geometry, position it bottom right, and label it
by using the "providerName" attribute of all features returned by the spatial
query.
I'm going for the custom function approach.
I made a copy of an existing class contained in gt-process-feature-17.1.jar and
modified it.
I'm trying to compile it with javac.exe and add it the the .jar but even the
original class file doesn't compile !
I'm more a C# developer so I'm not famililar with all the parts of java.
Is it possible to create a java file, compile it to .class, update the
gt-process-feature-17.1\META-INF\services\org.geotools.process.vector.VectorProcess
file and zip everything into gt-process-feature-17.1.jar ?
Thanks
Envoyé à partir d’Outlook<http://aka.ms/weboutlook>
________________________________
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users