Notes:
Main changes since 1.0.07
(This 1.0.08f release fixes a minor compilation error occurring in the 1.0.08 release.)
* New --box option.
* Optional shapefile creation for --mini_raster_strip command.
* StarSpan now checks that all input datasets have the same projection.
* New GRASS interface (preliminary)
http://starspan.casil.ucdavis.edu/doku/doku.php?id=grass
Changes:
2008-05-07 (1.0.08)
- starspan_create_strip(): Explicitly assigning the geoTransform to the
generated strips. It uses the geoTransform from the first miniraster but
sets the origin point to be (0,0).
In particular, for the --mini_raster_strip command with shapefile creation,
this adjustment makes the generated datasets to match properly.
- Since starspan now checks that the projection of the input datasets be
the same, I converted the polygon shapefile for the current tests to
match the projection of the raster files:
cd tests/data/vector
ogr2ogr -t_srs "+proj=utm +zone=10 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" \
ply/ply.shp starspan_testply.shp
Also converted the other shapefiles for future use.
(cd tests && make) # -> OK
2008-05-01,02
- Refactoring miniraster strip creation to allow duplicate pixel handling:
- MiniRasterObserver: no Traverser as a member any more.
- IntersectionInfo: now includes the traverser.
- MiniRasterStripObserver: setOutVector() and setOutVectorDirectly()
to allow association of output vector either with no ownership or with
ownership.
- MiniRasterStripObserver.create_strip() removed. Instead, this functionality
was moved to new utility starspan_create_strip().
- New starspan_getMiniRasterStripObserver2() and starspan_minirasterstrip2()
to handle the generation of the strip with duplicate_pixel modes.
- TODO: complete preliminary tests.
2008-04-24
- GRASS interface documentation updated in web site:
http://starspan.casil.ucdavis.edu/doku/doku.php?id=grass
- Rasterization process documented in:
http://starspan.casil.ucdavis.edu/doku/doku.php?id=rasterization
--rasterize option still internal for testing purposes.
Also added rasterize command to GRASS interface to facilitate this
testing, although the GDAL GRASS driver cannot create new GRASS rasters;
using ENVI for output rasters for now.
2008-04-22
- Implemented grass interface commands:
report
csv
- Each command is GRASS-configured individually so it is better dispatched
in terms of pertinent options. Also, the command can be dispached from
the GRASS GUI, including selection according to input map: vector or raster.
NOTE: starspan_dup_pixel() was segfaulting with versions geos 2.2.3 and
gdal 1.5.0. Just updated geos to 3.0.0 (on pegasus) and problem fixed.
2008-04-21
- New starspan_grass.cc: preliminaries for providing a GRASS interface.
2008-04-18
- New starspan_rasterize.cc: goal: do some basic comparisons with the
output generated by GRASS' v.to.rast.
2008-04-17
- Code cleanup:
- Removed (not used):
- starspan_csv_dup_pixel.cc
- starspan_db.cc
- starspan_tuct1.cc
- starspan_update_dbf.cc
- function starspan_myErrorHandler()
- Improved comments to some sources
- Moved src/rasterizers/agg_*.h to new dir src/rasterizers/agg/
(agg is used only for line rasterization but other types of
rasterization may eventually be located in src/rasterizers/.)
2008-04-11
- new IntersectionInfo struct to add more information in intersectionFound()
and intersectionEnd() traversal observer interface.
- Shapefile creation for mini_raster_strip now working including for --box
option. Tested as follows (under tests/):
* Mini raster strip with accompanying shapefile and using the –in option:
../starspan2 \
--vector data/vector/starspan_testply.shp \
--raster data/raster/starspan2raster.img \
--mini_raster_strip generated/mrstrip/myoutput_ \
generated/mrstrip/myoutput.shp \
--in \
--separation 10
* Mini raster strip example with accompanying shapefile and using the –box option:
../starspan2 \
--vector data/vector/starspan_testply.shp \
--raster data/raster/starspan2raster.img \
--mini_raster_strip generated/mrstrip_box/box_100_ \
generated/mrstrip_box/box_100_.shp \
--box 100 \
--separation 10
See: http://starspan.casil.ucdavis.edu/doku/doku.php?id=minirasterstrip
2008-04-10
- Some code cleanup:
Removed vector/{Makefile,Vector_shapelib.cc}
- Adding shapefile creation for mini_raster_strip
2008-04-05 (1.0.08)
- tests/Makefile: use zcat for comparison instead of gunzip
(so the .gz, which is on CVS, is preserved).
- Removed FR 200347: --mini_raster_box option
- Added FR 200348: extract a centered box wrt feature's bounding box.
This is implemented with the --box option, which behaves as a variant
of the --buffer operation, so it's handled by traverser.
Only one of --buffer or --box may be specified.
|