Hello Sayyed, Have a look at the tutorials on the GeoTools web site if you haven't already done so. The Quickstart tutorial shows you how to display a shapefile:
http://docs.geotools.org/latest/userguide/tutorial/quickstart/index.html To have labels displayed for features you need to learn about map styles. This tutorial will get you started: http://docs.geotools.org/latest/userguide/tutorial/map/style.html Once you have the basic idea of defining styles, the GeoServer web site has some excellent examples of how to define styles for point, line and polygon features: http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/index.html Hope this helps, Michael On 20 May 2011 21:13, sayyed ghazali <[email protected]> wrote: > hello dear, i need a code to display feauture of shape file while viewing > the shapefile... > e.g if a file is containing paths then while displaying display its name on > the viewer also... > plz help me....... > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
