I'm encountering a very frustrating
problem. I am trying to render a mapnik layer using eclipse 3.7.2
with udig sdk 1.3.1. Using eclipse 3.6.1 with udg sdk 1.2.1 and
executing the exact same code the mapnik layer renders correctly .
So
map.sendCommandASync(new
AddLayersCommand(theres));
w
returns different results in what seems to be virtually identical
cases; by the way “theres” has the following content ( in both
run cases) :
[WMTGeoResource(wmt://localhost/wmt/net.refractions.udig.catalog.internal.wmt.wmtsource.OSMMapnikSource#blank)]
Some
other observations:
1.
in
the non-rendering(1.3.1 )case the console output is
!MESSAGE
Unable to parse version from about.mappings file. Defaulting to a
blank string.
log4j:WARN
No appenders could be found for logger (org.geotools.factory).
log4j:WARN
Please initialize the log4j system properly.
[WMTService.createService]
wmt://localhost/wmt/net.refractions.udig.catalog.internal.wmt.wmtsource.OSMMapnikSource
Application
Started: 3746
[WMTSource]
EPSG:900913 is not in the database, now it is created manually
[WMTService.createService]
wmt://localhost/wmt/net.refractions.udig.catalog.internal.wmt.wmtsource.OSMMapnikSource
in
the rendering case the console output is something like:
[WMTSource]
EPSG:900913 is not in the database, now it is created manually
[WMTService.createService]
wmt://localhost/wmt/net.refractions.udig.catalog.internal.wmt.wmtsource.OSMMapnikSource
[BasicWMTRender.render]
is called
[BasicWMTRender.render]
is called
[BasicWMTRender.render]
is called
[BasicWMTRender.render]
is called
[BasicWMTRender.render]
Scale: 3.572181633149704E8
[.........]