Once i have the sld file and parsed it, what do i do next, and how, inorder
to display the roads from my .dbf onto my app? 

Any suggestions.



ATI wrote:
> 
> Hi,
>     i apoligise for the confusion, the problem is the code. In one of the
> posts i made ealier on,
> http://n2.nabble.com/displaying-my-road-names-from-dbf-onto-my-shapefile-td3036516.html,
> which had the same goal, aaime said "Write you own SLD, parse it with
> SLDParser and use the Style object 
> generated in your map context" 
> 
> I'm trying to do the last point that she said. But i didn't know what she
> specifically meant by that so that is why i was looking at the geotools
> guide for some inspiration and help which is why i made referrence to the
> geotools link. Because, all i'm trying to do is really to display the road
> names from my .dbf file onto my application. I don't know what the best or
> standard way of doing these things is, but i'm trying to do my best and
> following the guides that are available to me really. I have the sld file,
> i've parsed it using sld parser but what is the next thing i need to do??
> 
> Hope it's a bit clearer this time.
> 
> Cheers
> 
> 
> 
> Ian Turton wrote:
>> 
>> On Fri, Jun 12, 2009 at 11:47 AM, ATI<luong8...@hotmail.com> wrote:
>>>
>>> Does anybody know how i can use the style object to help render the text
>>> from
>>> my .dbf file? because i looked that the tutorial
>>> http://docs.codehaus.org/display/GEOTDOC/06+Style+Layer+Descriptor+Document,
>>> and tried to use it in my app, but i'm not sure if the logic is right.
>>>
>>> Can somebody help please.
>> 
>> It's not clear if you need help with your code or the SLD? If you want
>> a tutorial on SLD try my course at
>> https://www.e-education.psu.edu/geog585/l5_p4.html or check the
>> geoserver site as Mike was writing a cookbook on SLD.
>> 
>> If it's code then I'm less able to help, but it may be you are looking
>> at the concept wrong. You are not in fact trying to render text from a
>> dbf file but are trying to render a string attribute from your
>> features. That may help.
>> 
>> Ian
>> -- 
>> 
>> Ian Turton
>> http://www.geotools.org
>> http://pennspace.blogspot.com/
>> 
>> ------------------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables unlimited
>> royalty-free distribution of the report engine for externally facing 
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> Geotools-gt2-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Using-Style-in-conjunction-with-my-.SLD-file-tp3061498p3071989.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to