Hi Mr. Hudson,

We are not currently working on the WMS-C tile caching. It is possible it has some bugs as it was developed as a first step and version. And the tile preloading can definitely put a large strain on uDig and your system since it is literally sending thousands of requests and writing them to disk (in queued groups of course) but it doesn't surprise me that it could crash. If you see areas for improvements please feel free do to so.

Graham


Jody Garnett wrote:
Hi Mr Hudson:

Sounds like you have your first couple of bugs to report; Graham Davis was the developer working on this stuff and he may or may not be aware of the problem. While you wait to hear from him perhaps you can look into where the problem occurs and make a patch?

Jody

On Thu, Jan 8, 2009 at 7:36 AM, John Hudson <[email protected] <mailto:[email protected]>> wrote:

    Hello everyone,

    I'm starting a custom build that will require features from the
    trunk, particularly WMS-C, the custom build involves mostly two
    fronts:

    1.       Disk caching TileCache

    2.       Exporting the disk cache MapInfo .TAB files.

    Is anyone currently working on WMS-C?  Jody mentioned in an email
    last month that we (LISAsoft) might have be getting some work on
    this, I guess that's my queue to say "we get the work, YAY!"… so
    looking at uDig, this is where I'm at:

    After building uDig from the trunk, there is a few issues I would
    like to fix:

                    testing with:

http://wmsc1.terrapages.net/getpngmap?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities&tiled=true
    
<http://wmsc1.terrapages.net/getpngmap?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities&tiled=true>

http://labs.metacarta.com/wms-c/Basic.py?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities&tiled=true
    
<http://labs.metacarta.com/wms-c/Basic.py?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities&tiled=true>

    ·         Upon restarting uDig, (most times) wms-c layers are not
    rendered and causes a NPE here:

    _java.lang.NullPointerException_

          at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)

          at java.lang.Double.parseDouble(Unknown Source)

          at
    
net.refractions.udig.catalog.wmsc.server.TiledWebMapServer.<init>(_TiledWebMapServer.java:93_)

          at
    
net.refractions.udig.catalog.internal.wmsc.WMSCServiceImpl.getWMSC(_WMSCServiceImpl.java:187_)

          at
    
net.refractions.udig.catalog.internal.wmsc.WMSCServiceImpl.members(_WMSCServiceImpl.java:105_)

          at
    
net.refractions.udig.catalog.internal.CatalogImpl.getChildById(_CatalogImpl.java:537_)

    at
    
net.refractions.udig.catalog.internal.CatalogImpl.find(_CatalogImpl.java:292_)

    ·         In Window à Preferences à WMS-C Tiles: Disk Cache
    Location is ignored when preloading cache (win32), it is instead
    just downloaded to "c:/tilecache"

    ·         uDig crash's when preloading WMS-C layers, (NPE in
    TileImageReadWriter.writeTile) (disk not full)

    Possible issues / functionality to be implemented:

    ·         On Disk Cache doesn't populate

    Once these are fixed I will need to add:

    ·         Cache expiry rules (as an extension to the current
    options in WMS-C Tiles)

    ·         Export plugin to export to MapInfo .TAB files

    Cheers,

    Johnathon Hudson
    Software Engineer

    LISAsoft Pty Ltd

    [email protected] <mailto:[email protected]>
    Level 1, 30 Currie Street
    Adelaide SA 5000 AUSTRALIA
    Ph: +61 8 8425 8050
    Fax: +61 8 8425 8099
    Mobile: +61 402 300 415
    Website: www.lisasoft.com <http://www.lisasoft.com/>


    ------------------------------------------------------------------------
    The contents of this email are confidential and may be subject to
    legal or professional privilege and copyright. No representation
    is made that this email is free of viruses or other defects. If
    you have received this communication in error, you may not copy or
    distribute any part of it or otherwise disclose its contents to
    anyone. Please advise the sender of your incorrect receipt of this
    correspondence.

    _______________________________________________
    User-friendly Desktop Internet GIS (uDig)
    http://udig.refractions.net
    http://lists.refractions.net/mailman/listinfo/udig-devel




--
Graham Davis
Refractions Research Inc.
[email protected]

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to