geoblacklight / geoblacklight-schema

DEPRECATED: (See GeoBlacklight repo) A metadata schema for GIS resource discovery used by GeoBlacklight
http://github.com/geoblacklight/geoblacklight
Other
15 stars 4 forks source link

Add support for ASCIIGRID #65

Closed drh-stanford closed 9 years ago

drh-stanford commented 9 years ago

iso2mods.xsl should support fileFormat = ASCIIGRID

AAIGrid -- Arc/Info ASCII Grid

This format is the ASCII interchange format for Arc/Info Grid, and takes the form of an ASCII file, plus sometimes an associated .prj file. It is normally produced with the Arc/Info ASCIIGRID command.

@kimdurante what would the ISO metadata record have when the format is an Arc/Info ASCII Grid?

See https://github.com/geoblacklight/geoblacklight-schema/blob/master/lib/xslt/iso2mods.xsl#L54

drh-stanford commented 9 years ago

See 40f99b1 for a suggestion

kimdurante commented 9 years ago

The suggestion looks ok. However, ArcCatalog auto-generates the value 'Raster Dataset' for all raster formats. I will have to add a piece to the workflow that replaces this automated entry with a free text term. I have begun replacing these with GeoTIFF in cases where it's a GeoTIFF, but many legacy metadata will contain 'Raster Dataset.' If you want to use this tmethod, I will have to update the IBCAO records to contain there values.

We could also explore the option of using the file extension, .tif, .asc, .shp to determine formats.

kimdurante commented 9 years ago

I have updated the format name to 'Arc/Info ASCII Grid' for these 2 layers: yg482by7309 nq605vh1767

The xsl change you suggested should work for these. Going forward I will have to use a post-processing routine on the ArcGIS XML to map the formats to this field, or do it manually. As I mentioned, they all auto-generate as .Raster Dataset.'

We have 2 other new raster types in the pipeline .img and .ecw, so I will need to update those metadata before you accession them. I can do this today. I am thinking:

.img = ERDAS IMAGINE image file format .ecw = Enhanced Compressed Wavelet

We can add these to the iso2mods.xsl if that works...

kimdurante commented 9 years ago

4a1c33819462626ebfd14bcbb948bc72cdb79400

I submitted a PR for this xsl - which should map the new MIME types as well as output the PURL for digitized maps (in cases where there is a georeferenced object)

On Wed, Aug 12, 2015 at 10:57 AM, Darren Hardy notifications@github.com wrote:

See 40f99b1 https://github.com/geoblacklight/geoblacklight-schema/commit/40f99b1b656aec2c47c19ce19f44362bae247b19 for a suggestion

— Reply to this email directly or view it on GitHub https://github.com/geoblacklight/geoblacklight-schema/issues/65#issuecomment-130391302 .

mejackreed commented 9 years ago

Off topic... but at some point does it make sense to move some of this to GeoCombine? Or is too Stanford specific?

kimdurante commented 9 years ago

I am okay with moving this to GeoCombine. I am not sure if any others are currently working with ISO2MODS transforms. There are some parts of the xsl that might be SUL-specific but we could notate those if it helps...

On Mon, Aug 17, 2015 at 11:50 AM, Jack Reed notifications@github.com wrote:

Off topic... but at some point does it make sense to move some of this to GeoCombine? Or is too Stanford specific?

— Reply to this email directly or view it on GitHub https://github.com/geoblacklight/geoblacklight-schema/issues/65#issuecomment-131925263 .

drh-stanford commented 9 years ago

The repo's original purpose was for the Solr schema and the OGP ingest scripties. But I think now the geoblacklight-schema repo should be deprecated and its parts split up into GeoCombine and gis-robot-suite. Maybe leaving only schema validation and the OGP ingest scripties. I'd like to migrate the gazatteer code into its own gem, or maybe GeoCombine.

mejackreed commented 9 years ago

:+1:

drh-stanford commented 9 years ago

this issue is no longer valid for this repo