Okay I have reached the end of the line for this issue.
I can step through the code and watch GeoTiffReader produce a GridCoverage; and eventually graphics is called to render the following "finalImage" - PlanarImage[minX=0 minY=0 width=772 height=386 tileGridXOffset=0 tileGridYOffset=0 tileWidth=512 tileHeight=512 sampleModel=java.awt.image.PixelInterleavedSampleModel@3070002 colorModel=ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@1cdbfbe transparency = 1 has alpha = false isAlphaPre = false]
So I am really stuck on this one.
One thing I did not expect was some of our code in GridCoverageReaderRenderer - I really wanted this renderer to send the grid coverage down into GeoTools so it could perform an efficient job of things. instead I found it was creating a GridCoverage half way through ...
GridCoverage2D coverage = (GridCoverage2D) reader.read(group.values().toArray(new ParameterValue[0]));
Which was not what I expected.
I would like to consider generating a normal GeoTools MapContext to render the GridCoverage and see if a difference is made; Andrea has done some optimisations in GeoServer to recognise when the screen is completely contained inside the bounds of the image and I can see some of his methods are available to "resample" quickly.
Jody
On 11/01/2011, at 8:31 AM, Jody Garnett wrote: Could be JPL server has changed; I also have one patch to review here:
Jody
On 11/01/2011, at 1:49 AM, andrea antonello wrote: Sorry for the delay (was abroad and will be from tomorrow again). Testing now on linux 64bits. JPL WMS gives me this nice thing (no idea what that means though): ----------------------------- net.refractions.udig.project.render.RenderException: This server no longer provides full WMS services! at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.wrapException(BasicWMSRenderer2.java:957) at net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2$3.run(BasicWMSRenderer2.java:471) Caused by: org.geotools.ows.ServiceException: This server no longer provides full WMS services! ----------------------------- Instead both the bluemarble.tif (the 128MB one) and the clouds.jpg work like a charm from my eclipse launched udig. Could it be that the imageio-ext install is messed up for those that can't see it? Ciao Andrea On Mon, Jan 10, 2011 at 4:33 PM, John E. Conlon < jconlon@xxxxxxxxxxxx> wrote: Reported an issue regarding this bug.
http://jira.codehaus.org/browse/UDIG-1741
thanks,
John
Jody Garnett wrote:
I was able to reproduce it on unbuntu; jpeg worked okay however.
Well this is new (sigh)... John could I ask you to report this as a jira
issue so we can track the problem.
Next up we need to check if a developer is working on a linux machine and
can debug the issue for us.
Mark or Moovida do you have a linux build environment going at the moment?
Jody
On 06/01/2011, at 3:06 AM, John E. Conlon wrote:
Hi Jody,
Yes, I thought so myself and that is why I attempted to load the tif from
the download. Neither the live server nor the tif worked in my Ubuntu. I
did however run a Windows based uDig on the same machine (inside an Oracle
Virtual box running Windows XP Pro) and it displayed just fine. Appears to
be a Linux/Ubuntu issue?
thanks,
John
Jody Garnett wrote:
The nasa server? It is very often offline or busy; try again another
time. I recommend the DM Solutions server used in walkthrough 1?
Jody
On 05/01/2011, at 8:22 PM, Mauricio Pazos wrote:
On Monday 03 January 2011 11:05:22 pm John E. Conlon wrote:
Just downloaded and installed uDig 1.2.0 for Linux x_86 on my Ubuntu
9.10.
While doing the Walkthrough+1 I encountered problems with *9. Import
Directly to Catalog Step* 6-7 where I could not render the JPL
Bluemarble. I tried it from the Web Map Server and to as the
downloaded
tif file but neither would render.
What is the best way to troubleshoot this?
thanks,
John Conlon
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
<mailto:udig-users@xxxxxxxxxxxxxxxxxxxxx>
http://lists.refractions.net/mailman/listinfo/udig-users
I can confirm the fail for 1.2.0. Additionally I have tried the trunk.
* 1.2.0 test* I have get a "java.io.FileNotFoundException"
net.refractions.udig.project.render.RenderException:
http://wms.jpl.nasa.gov/exception_1_1_1.dtd%20
at
net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.wrapException(BasicWMSRenderer2.java:955)
at
net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2$3.run(BasicWMSRenderer2.java:467)
Caused by: java.io.FileNotFoundException:
http://wms.jpl.nasa.gov/exception_1_1_1.dtd%20
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
at
org.geotools.data.ows.ServiceExceptionParser.parse(ServiceExceptionParser.java:53)
at org.geotools.data.ows.Response.parseException(Response.java:76)
at org.geotools.data.ows.Response.<init>(Response.java:51)
at
org.geotools.data.wms.response.GetMapResponse.<init>(GetMapResponse.java:42)
at
org.geotools.data.wms.WMS1_0_0$GetMapRequest.createResponse(WMS1_0_0.java:288)
at
org.geotools.data.ows.AbstractOpenWebService.internalIssueRequest(AbstractOpenWebService.java:427)
at
org.geotools.data.wms.WebMapServer.issueRequest(WebMapServer.java:408)
at
net.refractions.udig.catalog.internal.wms.WMSServiceImpl$CustomWMS.issueRequest(WMSServiceImpl.java:384)
at
net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2$3.run(BasicWMSRenderer2.java:464)
* trunk test *
I have repeated the test using the trunk (1.2.1). In this case I have
get the following message in the console
" ...
!ENTRY net.refractions.udig.catalog.internal.wms 4 0 2011-01-05
11:05:06.468
!MESSAGE GetMap:
>>>>>>> - PlanarImage[minX=0 minY=0 width=772 height=386 tileGridXOffset=0
>>>>>>>> tileGridYOffset=0 tileWidth=512 tileHeight=512
>>>>>>>> sampleModel=java.awt.image.PixelInterleavedSampleModel@3070002
>>>>>>>> colorModel=ColorModel: #pixelBits = 24 numComponents = 3 color space =
>>>>>>>> java.awt.color.ICC_ColorSpace@1cdbfbe transparency = 1 has alpha = false
>>>>>>>> isAlphaPre = false]
>>>>>>>> So I am really stuck on this one.
>>>>>>>> One thing I did not expect was some of our code
>>>>>>>> in GridCoverageReaderRenderer - I really wanted this renderer to send the
>>>>>>>> grid coverage down into GeoTools so it could perform an efficient job of
>>>>>>>> things. instead I found it was creating a GridCoverage half way through ...
>>>>>>>> GridCoverage2D coverage = (GridCoverage2D)
>>>>>>>> reader.read(group.values().toArray(new ParameterValue[0]));
>>>>>>>> Which was not what I expected.
>>>>>>>> I would like to consider generating a normal GeoTools MapContext to render
>>>>>>>> the GridCoverage and see if a difference is made; Andrea has done some
>>>>>>>> optimisations in GeoServer to recognise when the screen is completely
>>>>>>>> contained inside the bounds of the image and I can see some of his methods
>>>>>>>> are available to "resample" quickly.
>>>>>>>> Jody
>>>>>>>> On 11/01/2011, at 8:31 AM, Jody Garnett wrote:
>>>>>>>>
>>>>>>>> Could be JPL server has changed; I also have one patch to review here:
>>>>>>>> - http://jira.codehaus.org/browse/GEOT-3361
>>>>>>>> Jody
>>>>>>>> On 11/01/2011, at 1:49 AM, andrea antonello wrote:
>>>>>>>>
>>>>>>>> Sorry for the delay (was abroad and will be from tomorrow again).
>>>>>>>> Testing now on linux 64bits.
>>>>>>>>
>>>>>>>> JPL WMS gives me this nice thing (no idea what that means though):
>>>>>>>> -----------------------------
>>>>>>>> net.refractions.udig.project.render.RenderException:
>>>>>>>> This server no longer provides full WMS services!
>>>>>>>>
>>>>>>>> at
>>>>>>>> net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.wrapException(BasicWMSRenderer2.java:957)
>>>>>>>> at
>>>>>>>> net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2$3.run(BasicWMSRenderer2.java:471)
>>>>>>>> Caused by: org.geotools.ows.ServiceException:
>>>>>>>> This server no longer provides full WMS services!
>>>>>>>> -----------------------------
>>>>>>>>
>>>>>>>>
>>>>>>>> Instead both the bluemarble.tif (the 128MB one) and the clouds.jpg
>>>>>>>> work like a charm from my eclipse launched udig.
>>>>>>>>
>>>>>>>> Could it be that the imageio-ext install is messed up for those that
>>>>>>>> can't see it?
>>>>>>>>
>>>>>>>> Ciao
>>>>>>>> Andrea
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jan 10, 2011 at 4:33 PM, John E. Conlon
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Reported an issue regarding this bug.
>>>>>>>>
>>>>>>>> http://jira.codehaus.org/browse/UDIG-1741
>>>>>>>>
>>>>>>>> thanks,
>>>>>>>>
>>>>>>>> John
>>>>>>>>
>>>>>>>> Jody Garnett wrote:
>>>>>>>>
>>>>>>>> I was able to reproduce it on unbuntu; jpeg worked okay however.
>>>>>>>>
>>>>>>>> Well this is new (sigh)... John could I ask you to report this as a jira
>>>>>>>>
>>>>>>>> issue so we can track the problem.
>>>>>>>>
>>>>>>>> Next up we need to check if a developer is working on a linux machine and
>>>>>>>>
>>>>>>>> can debug the issue for us.
>>>>>>>>
>>>>>>>> Mark or Moovida do you have a linux build environment going at the moment?
>>>>>>>>
>>>>>>>> Jody
>>>>>>>>
>>>>>>>> On 06/01/2011, at 3:06 AM, John E. Conlon wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi Jody,
>>>>>>>>
>>>>>>>> Yes, I thought so myself and that is why I attempted to load the tif from
>>>>>>>>
>>>>>>>> the download. Neither the live server nor the tif worked in my Ubuntu. I
>>>>>>>>
>>>>>>>> did however run a Windows based uDig on the same machine (inside an Oracle
>>>>>>>>
>>>>>>>> Virtual box running Windows XP Pro) and it displayed just fine. Appears to
>>>>>>>>
>>>>>>>> be a Linux/Ubuntu issue?
>>>>>>>>
>>>>>>>> thanks,
>>>>>>>>
>>>>>>>> John
>>>>>>>>
>>>>>>>>
>>>>>>>> Jody Garnett wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> The nasa server? It is very often offline or busy; try again another
>>>>>>>>
>>>>>>>> time. I recommend the DM Solutions server used in walkthrough 1?
>>>>>>>>
>>>>>>>> Jody
>>>>>>>>
>>>>>>>> On 05/01/2011, at 8:22 PM, Mauricio Pazos wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Monday 03 January 2011 11:05:22 pm John E. Conlon wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> Just downloaded and installed uDig 1.2.0 for Linux x_86 on my Ubuntu
>>>>>>>>
>>>>>>>> 9.10.
>>>>>>>>
>>>>>>>> While doing the Walkthrough+1 I encountered problems with *9. Import
>>>>>>>>
>>>>>>>> Directly to Catalog Step* 6-7 where I could not render the JPL
>>>>>>>>
>>>>>>>> Bluemarble. I tried it from the Web Map Server and to as the
>>>>>>>>
>>>>>>>> downloaded
>>>>>>>>
>>>>>>>> tif file but neither would render.
>>>>>>>>
>>>>>>>> What is the best way to troubleshoot this?
>>>>>>>>
>>>>>>>> thanks,
>>>>>>>>
>>>>>>>> John Conlon
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>>
>>>>>>>> udig-users mailing list
>>>>>>>>
>>>>>>>> udig-users@xxxxxxxxxxxxxxxxxxxxx
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-users
>>>>>>>>
>>>>>>>>
>>>>>>>> I can confirm the fail for 1.2.0. Additionally I have tried the trunk.
>>>>>>>>
>>>>>>>> * 1.2.0 test* I have get a "java.io.FileNotFoundException"
>>>>>>>>
>>>>>>>> net.refractions.udig.project.render.RenderException:
>>>>>>>>
>>>>>>>> http://wms.jpl.nasa.gov/exception_1_1_1.dtd%20
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2.wrapException(BasicWMSRenderer2.java:955)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2$3.run(BasicWMSRenderer2.java:467)
>>>>>>>>
>>>>>>>> Caused by: java.io.FileNotFoundException:
>>>>>>>>
>>>>>>>> http://wms.jpl.nasa.gov/exception_1_1_1.dtd%20
>>>>>>>>
>>>>>>>> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
>>>>>>>>
>>>>>>>> Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
>>>>>>>>
>>>>>>>> Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown
>>>>>>>>
>>>>>>>> Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown
>>>>>>>>
>>>>>>>> Source)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
>>>>>>>>
>>>>>>>> Source)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>>>>>>>>
>>>>>>>> Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>>>>>>>>
>>>>>>>> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
>>>>>>>>
>>>>>>>> Source)
>>>>>>>>
>>>>>>>> at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
>>>>>>>>
>>>>>>>> at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> org.geotools.data.ows.ServiceExceptionParser.parse(ServiceExceptionParser.java:53)
>>>>>>>>
>>>>>>>> at org.geotools.data.ows.Response.parseException(Response.java:76)
>>>>>>>>
>>>>>>>> at org.geotools.data.ows.Response.(Response.java:51)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> org.geotools.data.wms.response.GetMapResponse.(GetMapResponse.java:42)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> org.geotools.data.wms.WMS1_0_0$GetMapRequest.createResponse(WMS1_0_0.java:288)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> org.geotools.data.ows.AbstractOpenWebService.internalIssueRequest(AbstractOpenWebService.java:427)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> org.geotools.data.wms.WebMapServer.issueRequest(WebMapServer.java:408)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> net.refractions.udig.catalog.internal.wms.WMSServiceImpl$CustomWMS.issueRequest(WMSServiceImpl.java:384)
>>>>>>>>
>>>>>>>> at
>>>>>>>>
>>>>>>>> net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2$3.run(BasicWMSRenderer2.java:464)
>>>>>>>>
>>>>>>>> * trunk test *
>>>>>>>>
>>>>>>>> I have repeated the test using the trunk (1.2.1). In this case I have
>>>>>>>>
>>>>>>>> get the following message in the console
>>>>>>>>
>>>>>>>> " ...
>>>>>>>>
>>>>>>>> !ENTRY net.refractions.udig.catalog.internal.wms 4 0 2011-01-05
>>>>>>>>
>>>>>>>> 11:05:06.468
>>>>>>>>
>>>>>>>> !MESSAGE GetMap:
>>>>>>>>
>>>>>>>> http://wms.jpl.nasa.gov/wms.cgi?SERVICE=WMS&LAYERS=modis&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&HEIGHT=256&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=-180.0,-90.0,180.0,90.0&WIDTH=512&STYLES=default&SRS=EPSG:4326&VERSION=1.1.1
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> !ENTRY net.refractions.udig.project 2 0
>>>>>>>>
>>>>>>>> net.refractions.udig.project.render.RenderException: This server no longer
>>>>>>>>
>>>>>>>> provides full WMS services!
>>>>>>>>
>>>>>>>> ..."
>>>>>>>>
>>>>>>>> It Looks like udig and this wms are not compatible. If that is right
>>>>>>>>
>>>>>>>> udig should provide an message error in the UI.
>>>>>>>>
>>>>>>>> cheers
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Mauricio Pazos
>>>>>>>>
>>>>>>>> www.axios.es
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>>
>>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>>>
>>>>>>>> http://udig.refractions.net
>>>>>>>>
>>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>>
>>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>>>
>>>>>>>> http://udig.refractions.net
>>>>>>>>
>>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>>> http://udig.refractions.net
>>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>>> http://udig.refractions.net
>>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>>>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>> http://udig.refractions.net
>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>
>>>>>> _______________________________________________
>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>> http://udig.refractions.net
>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>
>>>>> _______________________________________________
>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>> http://udig.refractions.net
>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>
>>>> _______________________________________________
>>>> User-friendly Desktop Internet GIS (uDig)
>>>> http://udig.refractions.net
>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>
>>> _______________________________________________
>>> User-friendly Desktop Internet GIS (uDig)
>>> http://udig.refractions.net
>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
|