{
  "id": 28641,
  "title": "Reassigning values to raster",
  "url": "/competitions/dstl-satellite-imagery-feature-detection/discussion/28641",
  "author_name": "TimbabweSz",
  "post_date": "2017-02-09T20:57:33.570000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Quick question.\nI have a byte raster with nineteen categories {1..19}.\nIs there a simple way to assign a set of specified floating point values {0.001...1.30}\nto the categories and output a flt-pt GeoTIFF?</p>\n\n<p>I didn't see a way in GDAL.  Do Pandas, Fiona, GeoRas or any of the\nother standard python packages offer a simple solution?</p>\n\n<p>Tim</p>",
  "messages": [
    {
      "id": 160837,
      "postDate": "2017-02-09T20:57:33.570Z",
      "content": "<p>Quick question.\nI have a byte raster with nineteen categories {1..19}.\nIs there a simple way to assign a set of specified floating point values {0.001...1.30}\nto the categories and output a flt-pt GeoTIFF?</p>\n\n<p>I didn't see a way in GDAL.  Do Pandas, Fiona, GeoRas or any of the\nother standard python packages offer a simple solution?</p>\n\n<p>Tim</p>",
      "rawMarkdown": "Quick question.\nI have a byte raster with nineteen categories {1..19}.\nIs there a simple way to assign a set of specified floating point values {0.001...1.30}\nto the categories and output a flt-pt GeoTIFF?\n\nI didn't see a way in GDAL.  Do Pandas, Fiona, GeoRas or any of the\nother standard python packages offer a simple solution?\n\nTim"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "160837": "Quick question.\nI have a byte raster with nineteen categories {1..19}.\nIs there a simple way to assign a set of specified floating point values {0.001...1.30}\nto the categories and output a flt-pt GeoTIFF?\n\nI didn't see a way in GDAL.  Do Pandas, Fiona, GeoRas or any of the\nother standard python packages offer a simple solution?\n\nTim"
  }
}