From: Cameron S. <csh...@bi...> - 2003-04-24 20:15:42
|
Ian has written a bit on styling in the design guide at:=20 http://geotools.org/gt2docs/design.html#sld You probably also want to look at=20 geotools2/geotools-src/j2se-demos/src/org/geotools/demos/MapViewer.java This is a simple Frame which displays a sample map. It doesn't use a=20 shapefile yet, but you should be able to get a rough idea of what is need= ed=20 by looking at the code. Feel free to ask more questions if you want. On Friday 25 Apr 2003 3:40 am, Philip Oliver-Paull wrote: > Hi, > > I'm completely new to geotools. I need to upgrade an application that > has been using GT1 to GT2. Basically, all I need to do at the moment i= s > create a JFrame that displays a map from a shapefile. I could probably > figure everything else out from there. My problem, I think, is all thi= s > stuff about styling. How do I set the styling of a map when I know ver= y > little (if anything) about the features in the shapefile? I'd be very > appreciative of any help you can give me. --=20 Cameron Shorter http://shorter.net/cameron Open Source Developer http://mapbuilder.sourceforge.net http://geotools.sourceforge.net Senior Software Engineer http://www.adi-limited.com/ |