Ticket #2378 (closed enhancement: fixed)

Opened 2 months ago

Last modified 2 months ago

GDAL driver for FARSITE LCP format

Reported by: ctoney Assigned to: rouault
Priority: normal Milestone: 1.6.0
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: farsite lcp driver
Cc:

Description

FARSITE v. 4 landscape file (LCP) is a multi-band raster format used by wildland fire behavior and fire effect simulation models such as FARSITE, FLAMMAP, and FBAT (www.fire.org). More information on the LCP format is provided in the attached format description document. The driver source and a test LCP file are also attached. This driver can be contributed under the terms of an MIT License. Thanks for considering it as an addition to the GDAL drivers set.

Chris

Attachments

LCP_format_description.html (18.3 kB) - added by ctoney on 05/15/08 21:35:43.
LCP format description
lcpdataset.cpp (23.7 kB) - added by ctoney on 05/15/08 21:36:33.
test_USGS_LFNM_Alb83.lcp (44.6 kB) - added by ctoney on 05/15/08 21:37:29.
LCP test file
test_FARSITE_UTM12.LCP (56.1 kB) - added by ctoney on 05/15/08 21:47:43.
LCP test file

Change History

05/15/08 21:35:43 changed by ctoney

  • attachment LCP_format_description.html added.

LCP format description

05/15/08 21:36:33 changed by ctoney

  • attachment lcpdataset.cpp added.

05/15/08 21:37:29 changed by ctoney

  • attachment test_USGS_LFNM_Alb83.lcp added.

LCP test file

05/15/08 21:47:43 changed by ctoney

  • attachment test_FARSITE_UTM12.LCP added.

LCP test file

05/16/08 13:57:24 changed by mloskot

  • status changed from new to assigned.
  • owner changed from warmerdam to mloskot.

05/16/08 14:00:09 changed by rouault

Mateusz,

a quick glance at the code shows that the main issue will be with endianness. I guess that Intel-order is assumed in the code.

05/16/08 14:11:49 changed by mloskot

Even,

Thanks for pointing that.

I've been in contact with Chris off-list guiding him how to submit the diver. I'm going to review it, but not today (actually, I've not got really back to work still).

If you like to work on it, feel free to take over the ticket (please, reassign). Anyway, ATM I'm not able to discuss internals of LCP driver before I jump to the code.

05/16/08 14:15:33 changed by rouault

  • keywords set to farsite lcp driver.
  • status changed from assigned to new.
  • component changed from default to GDAL_Raster.
  • owner changed from mloskot to rouault.
  • milestone set to 1.6.0.

I'm going to try to integrate that.

05/16/08 14:17:08 changed by mloskot

Even,

You don't have to :-) but if you like, thank you very much!

05/16/08 14:26:08 changed by ctoney

Even, Mateusz-

Yes, I thought that could be an issue. Intel order is assumed. I can work on it if you like, but feel free to take it on if you prefer. I would need to study some sample code to see how to handle the byte-swapping. Thanks!

05/16/08 15:52:13 changed by rouault

Chris,

I've commited the driver in trunk in r14473. I've dealt with the endianness issue. Are the 2 attached files appropriate for including in the GDAL autotest suite (from the licence point of view) ?

05/16/08 16:47:05 changed by ctoney

Even,

Thanks very much! The two attached files are appropriate for including from the license point of view.

05/16/08 17:14:55 changed by rouault

Autotest commited with the 2 examples files in r14480

05/16/08 18:21:24 changed by rouault

  • status changed from new to closed.
  • resolution set to fixed.

Closing : autotest runs fine on all the buildbot slaves