Hi Jody, The thing is that i havent been able to even display the shape file on JMapPane yet. since NetBeans cant find org.geotools.gui.swing.JMapPane i couldnt find the required dependency for using JMapPane?
Jody Garnett-2 wrote: > > Hi Irfan: > JMapPane can display vector and raster data; I am not sure what the > rastersymbolizer you will need to configure to display raster data looks > like. Have you tried with a simple world+image file? What does a default > raster symbolizer display for you? > > It looks like your pom.xml file is okay; you are depending on a demo > program > however: > - <dependency> > > <groupId>org.geotools.demo</groupId> > <artifactId>gt-mappane-use</artifactId> > <version>2.5-SNAPSHOT</version> > </dependency> > > > This demo may include mappane module as a dependency? And thus you may > be working - but I am not sure. The demo programs are available for > you to base your application on. Have you tried the demo programs > covered in the user guide? It looks like your sample app is based on > the one for showing a shapefile; you will need to modify it (to > produce a raster symbolizer) in order to display an image. > > Jody > > On Thu, Feb 26, 2009 at 5:34 PM, Muhammad Irfan <ir...@igis.edu.pk> wrote: > >> Hi Joddy, >> >> Sorry to write to directly but I tried to find some solution of my simple >> problem on nabble but all in vain. >> >> The thing is that I just want to know which map viewer (JMapPane or >> MapPane >> or any other which I don’t know) should we use to display vector and/or >> raster data… I don’t seem to find the right dependencies for my JMapPane >> in >> POM.xml. I am attaching my code as well as POM. Kindly help me out. I am >> stuck at the moment and I want to do a lot with GeoTools. >> >> I am using geotools 2.5.2 with netbeas 6.5 and maven 2. >> >> >> >> >> >> Irfan Muhammad >> >> Lecturer NUST-IGIS >> >> F10-1 Islamabad >> >> >> >> +92519267241-4 Ext 224 >> >> +923464448939 >> >> >> > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > 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/Re%3A-Need-Help-in-using-JMapPane-tp2388157p2388279.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users