Fair enough :) I was actually thinking that if anyone literally did the 
same as me sometime (convert the xml style info into regular code that 
creates the same style) I could probably look at their conversion and 
figure out how to do the road xml conversion pretty quickly.  Don't want 
anyone to do any extra work!

In any case, as I said earlier, I will link to my project at the end and 
hopefully we can extract some examples from that, even if I don't do the 
road styles.  Thanks for your obvious dedication Jody - I'm sure it is 
well appreciated by all.

Gail

Jody Garnett wrote:
> 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
>

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to