Hi,
I was trying to run the spearfish postgis example from the geotools tutorials.
I think it is a bit old and there are some errors which I think that
can be solved by replacing a few code lines. The errors are the
following:
SpearfishPostGIS.java:18: cannot find symbol
symbol : class StyledMapPane
location: package org.geotools.gui.swing
import org.geotools.gui.swing.StyledMapPane;
^
SpearfishPostGIS.java:21: package org.geotools.renderer.j2d does not exist
import org.geotools.renderer.j2d.RenderedMapScale;
^
SpearfishPostGIS.java:105: cannot find symbol
symbol : class StyledMapPane
location: class org.geotools.demos.gui.SpearfishPostGIS
StyledMapPane mapPane = new StyledMapPane();
^
SpearfishPostGIS.java:105: cannot find symbol
symbol : class StyledMapPane
location: class org.geotools.demos.gui.SpearfishPostGIS
StyledMapPane mapPane = new StyledMapPane();
^
SpearfishPostGIS.java:107: cannot find symbol
symbol : class RenderedMapScale
location: class org.geotools.demos.gui.SpearfishPostGIS
mapPane.getRenderer().addLayer(new RenderedMapScale());
Can someone point me how to do this with the current version of geotools?
Thanks in advance
Rui Lopes
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users