Following a suggestion from Andrea of some months ago, I started adding the 
possibility of having marks defined as WKT.... but, while adding this behaviour 
to 
the ShapeMarkFactory class, I've found out that the following code:

WKTParser parser= new WKTParser(new 
GeometryBuilder(DefaultGeographicCRS.WGS84));

raises this exception:
2010-04-26 16:18:23,542 DEBUG [org.geotools.rendering] - Exception while 
scanning 
for the appropriate mark factory
org.geotools.factory.FactoryNotFoundException: No factory of kind 
"GeometryFactory" found.
         at 
org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:374)
         at 
org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:143)
         at 
org.geotools.geometry.GeometryFactoryFinder.getGeometryFactory(GeometryFactoryFinder.java:92)
         at 
org.geotools.geometry.GeometryBuilder.getGeometryFactory(GeometryBuilder.java:213)
         at org.geotools.geometry.text.WKTParser.<init>(WKTParser.java:108)

Any clue ?

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------


------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to