1. ccaih
  2. Untitled project
  3. ccav
  4. Issues
Issue #74 resolved

Map API support for tile indexes of raster layers for time series

Anonymous created an issue

Map is not rendering .shp tiles, nor accepting a time parameter.

Example: http://codepad.org/KGvzpZCp

Comments (9)

  1. James Mills

    Example Request:

    http://localhost:9000/api/Map?service=WMS&request=GetMap&version=1.1.1&layers=models:RCP3PD/csiro-mk30/bioclim_11.shp&styles=&format=image/png&transparent=true&height=256&width=256&time=2015&zIndex=500&SLD_BODY=%3CStyledLayerDescriptor%20version%3D%221.1.0%22%20xsi%3AschemaLocation%3D%22http%3A%2F%2Fwww.opengis.net%2Fsldhttp%3A%2F%2Fschemas.opengis.net%2Fsld%2F1.1.0%2FStyledLayerDescriptor.xsd%22xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Fsld%22%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22xmlns%3Ase%3D%22http%3A%2F%2Fwww.opengis.net%2Fse%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%3E%3CNamedLayer%3E%3Cse%3AName%3Emodels%3ARCP3PD%2Fcsiro-mk30%2F2015%2Fbioclim_11.tif%3C%2Fse%3AName%3E%3CUserStyle%3E%3Cse%3AName%3Exxx%3C%2Fse%3AName%3E%3Cse%3AFeatureTypeStyle%3E%3Cse%3ARule%3E%3Cse%3ARasterSymbolizer%3E%3Cse%3AOpacity%3E0.7%3C%2Fse%3AOpacity%3E%3Cse%3AColorMap%3E%3Cse%3ACategorize%20fallbackValue%3D%22%23185F8C%22%3E%3Cse%3ALookupValue%3ERasterdata%3C%2Fse%3ALookupValue%3E%3Cse%3AValue%3E%231e219b%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-10%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%231c269d%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-9%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%231a2b9f%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-8%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%231730a2%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-7%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%231337a5%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-6%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230f40a8%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-5%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230b48ac%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-4%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230850b0%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-3%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230559b4%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-2%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230262b9%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E-1%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23006bbe%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E0%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230075c5%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E1%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230080ce%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E2%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23008dd9%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E3%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%230099e5%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E4%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2300a6f1%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E5%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2300b1fa%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E5%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2300beff%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E6%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2300c8ff%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E7%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2300d0ff%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E8%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2300d8ff%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E9%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2310def1%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E10%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2327dedc%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E11%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2342dec2%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E12%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%2360dea4%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E13%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%237cde87%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E14%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%239fde63%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E15%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23bdde44%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E16%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23d8de28%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E17%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23efde11%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E18%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ffde00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E19%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ffd400%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E20%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ffc500%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E21%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ffb400%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E22%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ffa100%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E23%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ff8e00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E24%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ff7800%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E25%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ff6600%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E26%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ff5200%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E27%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ff4200%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E28%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ff3600%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E29%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23f72e00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E30%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23ea2700%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E31%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23dc2200%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E32%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23cc1f00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E33%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23bb1d00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E34%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23aa1c00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E35%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23991b00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E36%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%238c1b00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E37%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%238b1b00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E38%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%237f1a00%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E39%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23771900%3C%2Fse%3AValue%3E%3Cse%3AThreshold%3E40%3C%2Fse%3AThreshold%3E%3Cse%3AValue%3E%23691600%3C%2Fse%3AValue%3E%3C%2Fse%3ACategorize%3E%3C%2Fse%3AColorMap%3E%3C%2Fse%3ARasterSymbolizer%3E%3C%2Fse%3ARule%3E%3C%2Fse%3AFeatureTypeStyle%3E%3C%2FUserStyle%3E%3C%2FNamedLayer%3E%3C%2FStyledLayerDescriptor%3E&srs=EPSG:3857&bbox=10018754.171394622,-2504688.542848654,12523442.714243276,0

    Error that occurs:

    <ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd">
      <ServiceException>
      msDrawMap(): Image handling error. Failed to draw layer named 'models:RCP3PD/csiro-mk30/bioclim_11.shp'.
    msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file '/Volumes/data/5km/models/RCP3PD/csiro-mk30/bioclim_11.shp' for layer 'models:RCP3PD/csiro-mk30/bioclim_11.shp'.
      </ServiceException>
    </ServiceExceptionReport>
    
  2. James Mills
    • changed milestone to 0.0.8

    Moving back to 0.0.8 milestone as I managed to implement backend support for this rather easily in the end. UI support shouldn't be that hard to accomplish.

  3. Log in to comment