Skip to main content

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

I have not used the WMT plugin myself; do you have an example service we can set with (the one you describe runs on localhost)
It would be good to gather up your email as a bug report; and see if we can find a public service to test against.

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

On Tuesday, 12 June 2012 at 8:47 PM, George Schole wrote:

Hello all,

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 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 te 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
[BasicWMTRender.render] Scale: 3.572181633149704E8
[BasicWMTRender.render] Scale: 3.572181633149704E8
[BasicWMTRender.render] Scale: 3.572181633149704E8
[OSMTile.getTileFromCoordinate] 18/234940/101706 lon: 142.6415091924573 lat: 37.358490807542694
[OSMTile.getTileFromCoordinate] 18/234940/160437 lon: 142.6415091924573 lat: -37.358490807542694
[WMTSource.addTileToList] Was not in cache: Mapnik_2_1_0
[OSMTile.getTileFromCoordinate] 2/3/2 lon: 142.6415091924573 lat: -37.358490807542694
[OSMTile.getTileFromCoordinate] 2/0/2 lon: -142.6415091924573 lat: -37.358490807542694
[OSMTile.getTileFromCoordinate] 2/0/1 lon: -142.6415091924573 lat: 37.358490807542694
[WMTSource.cutExtentIntoTiles] Adding right neighbour: Mapnik_2_1_0
!ENTRY net.refractions.udig.catalog.internal.wmt 4 0 2012-06-11 19:05:19.175

!ENTRY net.refractions.udig.catalog.internal.wmt 4 0 2012-06-11 19:05:19.176

Please give me a few tips on how I might solve this problem. I really want to use an osm map in my little project. I would use the older udig sdk but I can't seem to render a postgis layer using the older sdk :)). It works in the new one. I think it has something to do with the fact I have postgis 2.0 installed.

PS @andrea antonello: I see that you have been working on the wmt plugin lately.
Please tell me you encountred these rendering problems. :)

Thanks


_______________________________________________
User-friendly Desktop Internet GIS (uDig)


Back to the top