Hi Bruno,

2014-04-30 18:16 GMT+02:00 Bruno M. Fonseca <[email protected]>:

> We want to develop a solution that uses the ImageMap extension provided by
> Geoserver. We’ve made some tests and we’ve found that this extension does
> not takes in account labels collision detection.
>

You are right, that's not supported, but in general TextSymbolizer is only
used to extract the label to be bound to the imagemap areas.
Would you mean using labels collision to drive areas rendering, or
something different? Can you try to explain your use case?



> We would like also to have the option to define the type of polygon to use
> with points, circle or rectangle. Is there anyone with experience using
> these module that can help us to achieve what we want or  anything on the
> roadmap to do it?
>

I am the original author, so definitely I can help you. Currently the
module has no roadmap because there is no funding to work on it, so I think
you have two options:
 - I can help you to understand how to do this change by yourself (it
should not be particularly difficult)
 - You can ask to one of the companies giving commercial support to
GeoServer to do that for you

For the circle/rectangle rendering of points, you should look at the
PointWriter class inside the HTMLImageMapWriter (here:
https://github.com/geoserver/geoserver/blob/79c756c2ccf4a2c2ec051cefba393854df95a3c5/src/extension/imagemap/src/main/java/org/vfny/geoserver/wms/responses/map/htmlimagemap/HTMLImageMapWriter.java).
I think you need to change the getShape method to return a different shape
based on the current mark and also the writeGeometry method.

If you need commercial support you can look here:
http://geoserver.org/display/GEOS/Commercial+Support

Regards,
Mauro



-- 
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; 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

Reply via email to