Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Wmt georesource is not rendered. Why??



>We did switch which EPSG database we use in uDig since uDig 1.2.1.  Do you see any warning like that when running uDig 1.2.1?
>
>I also note that that "EPSGL9009l3" code for "google projection" now has an official EPSG number you could use instead.
>
>See the warning about "EPSG:900913 is not in the database, now it is created manually"
>
>
>
>--
>Jody Garnett

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

[.........]






Back to the top