I've been going through the GeoTools tutorials to learn the APIs.  I have the
StyleLab tutorial working and a simple program that converts a shapefile to
KML format.  The problem that I'm running into is that I cannot figure out
how to push the Style into the KML and back.  I'm very new at this but this
is what I think is going on:

1. Shapefiles store style for each feature. 
2. KML stores the styles at the beginning of the document and then
references them in the feature sections.

I don't know where to even begin on this.  Is there an API that handles it
automatically or do I need to manually parse the styles myself depending on
which format I'm trying to output?  Is there a *simple* tutorial that shows
how to do this?  I've Googled everything that I can think of to try finding
a simple example but have had no luck.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-handle-styles-on-shapefile-kml-conversions-with-GeoTools-tp5046398.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to