From: Jody G. <jga...@re...> - 2007-12-17 00:29:52
|
I understand completely; I also am against a deadline .. so here is the deal; I will look up the links (if they exist) and you can send email about what worked and did not work for you. :-) Here is the link to how to parse an xml file: - http://docs.codehaus.org/display/GEOTDOC/06+Style+Layer+Descriptor+Document Also note that the wiki pages are not the best place to hunt down code examples in a hurry (they only cover a small amount of the library). ;Grab the source code and look in the test cases for how to do things. Rendering is the final section of the core library I need to document; and I got tired and busy before getting into the good parts. So based on your feedback thus far: - link to the geoserver xml examples of "good" styles - may it obvious that a parser exists to parse these things I see how I arrived at this problem; I documented Style and Style Layer Descriptor (the xml file format) on different pages so it may of been easy to skip over the relationship between the two. Cheers, Jody As an example I am changing the > Jody Garnett wrote: >> The user guide has some links to geoserver tutorials on this kind of >> content. The tutorials include XML examples which you >> can parse into a geotools style. > > Ah ok - I had seen the road example but saw the xml and assumed that > it wasn't quite applicable. Still going to have to figure out how to > code the style based on the xml - so maybe if anyone has an example of > an xml file parsed into a style, please do share ;) Sorry for being > somewhat "helpless", it would just save so much time that I need for > other parts of the project (if I get to the style at all). > > Gail |