GeoServer
  1. GeoServer
  2. GEOS-4062

image pyramid plugin doesn't work

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      GeoServer 2.0.x nightly 15/7/10 with imagepyramid-plugin and restconfig plugin from ext-latest folder

      Linux ian01.geog.psu.edu 2.6.33.6-147.fc13.i686 #1 SMP Tue Jul 6 22:30:55 UTC 2010 i686 i686 i386 GNU/Linux
    • Number of attachments :
      2

      Description

      I installed the nightly build with latest image pyramid and restconfig plugins. I created a pyramid of a tif file (see commands file) following the image pyramid tutorial (http://docs.geoserver.org/stable/en/user/tutorials/imagepyramid/imagepyramid.html) all seems to go fine. I copy this to the data folder in the GeoServer DATA_DIR (/var/geoserver-data/data). When I try to add the pyramid to GeoSever it fails with an error saying

      "This plugin accepts only File, URL and String pointing to a file"

      see http://www.screencast.com/t/NWEyMjIzZ to see the exact steps I followed. GeoServer log file is attached too.

      The GeoTiff is good as I can add it as a GeoTiff layer (http://ian01.geog.psu.edu/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=geovista:hyp_hr_sr_prj&styles=&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers)

      If need be you can download the tiff from http://www.naturalearthdata.com/downloads/10m-raster-data/10m-cross-blend-hypso/ but the same error can be seen with the Blue Marble image from the tutorial.

      1. geoserver.log
        19 kB
        Ian Turton
      2. imagepyramid-commands.txt
        8 kB
        Ian Turton

        Activity

        Hide
        Ian Turton added a comment -

        Might be worth documenting this in the plugin's readme to save others this issue.

        Here's my version (with some of the other Natural Data layers)
        http://ian01.geog.psu.edu/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=geovista:HYP_W_DR,cultural&styles=&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers

        Show
        Ian Turton added a comment - Might be worth documenting this in the plugin's readme to save others this issue. Here's my version (with some of the other Natural Data layers) http://ian01.geog.psu.edu/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=geovista:HYP_W_DR,cultural&styles=&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=application/openlayers
        Hide
        Ian Turton added a comment -

        This is a Tomcat issue not a GeoServer issue

        Show
        Ian Turton added a comment - This is a Tomcat issue not a GeoServer issue
        Hide
        Andrea Aime added a comment -

        Btw, I wanted to open a bug report against Tomcat but to do so I first had to try the latest stable, which is 6.0.28. Again, started gdal_retile.py, created pyramid and... it worked. I guess the bug has been solved in the meantime?

        Show
        Andrea Aime added a comment - Btw, I wanted to open a bug report against Tomcat but to do so I first had to try the latest stable, which is 6.0.28. Again, started gdal_retile.py, created pyramid and... it worked. I guess the bug has been solved in the meantime?
        Hide
        Ian Turton added a comment -

        I'll try that and report back.

        Show
        Ian Turton added a comment - I'll try that and report back.
        Hide
        Arnaud Couturier added a comment -

        Same error here

        ubuntu 10.04, tomcat 6.0.24, java 1.6.20, geoserver 2.0.2, pyramid plugin 2.6.4
        gave all privileges to the pyramid folders.

        GS was able to create folder "0" and move tiles in it, but that's it.

        When I click the "save" button to create the pyramid store, pointing to the pyramid root folder, it shows
        "Could not list layers for this store, an error occurred retrieving them: This plugin accepts only File, URL and String pointing to a file"

        Haven't tried with tomcat 6.0.28 yet.

        Show
        Arnaud Couturier added a comment - Same error here ubuntu 10.04, tomcat 6.0.24, java 1.6.20, geoserver 2.0.2, pyramid plugin 2.6.4 gave all privileges to the pyramid folders. GS was able to create folder "0" and move tiles in it, but that's it. When I click the "save" button to create the pyramid store, pointing to the pyramid root folder, it shows "Could not list layers for this store, an error occurred retrieving them: This plugin accepts only File, URL and String pointing to a file" Haven't tried with tomcat 6.0.28 yet.

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Ian Turton
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: