Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] WMS-C Caching / MapInfo .TAB export

My own 2 cents here; if possible see if you can work with gdavis's existing work. The extra round of QA would do a lot of good. Graham if needful I can also do code reviews in order to keep the pace up.

Jody

On Wed, Jan 28, 2009 at 2:38 PM, John Hudson <John.Hudson@xxxxxxxxxxxx> wrote:
Hey Graham,

I have been looking at extending the WMSCTileUtils class to do several new things which I need for my project:

* Cache a bounded region
* Cache multiple TileSets (at once)

Can I go ahead and implement these changes in WMSCTileUtils, or should I extend my own utils class to do the new magic?

Looking through your code, it looks as if it would be relatively straight forward to achieve these features, and keep existing functionality. Have you got any suggestions?

While I'm at it I'll look at the Java Heap Space issue the preloading cache is having.

Cheers,

John


-----Original Message-----
From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Graham Davis
Sent: Friday, January 09, 2009 3:10 AM
To: Jody Garnett
Cc: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] WMS-C Caching / MapInfo .TAB export

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 <John.Hudson@xxxxxxxxxxxx
> <mailto:John.Hudson@xxxxxxxxxxxx>> 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
>
>     john.hudson@xxxxxxxxxxxx <mailto:john.hudson@xxxxxxxxxxxx>
>     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.
gdavis@xxxxxxxxxxxxxxx

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

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


Back to the top