Closed kimdurante closed 8 months ago
how can we tell whether there is a feature catalog? right now i'm using arcgis_to_iso19110.xsl
to transform from the .xml
to a -iso19110.xml
file and it's outputing XML -- i would expect the output to be empty if it didn't have a feature catalog. in that case, we could remove the file if it were empty.
ISO19110 XML should only be generated when there is feature catalog information in the record. These are usually only present in vector data, and can be determined from a few XML elements in the ArcGIS metadata: eainfo OR contInfo/FetCatDesc
Raster datasets do not have feature catalogs and should not have an 19110 XML record
Ok, so we have to check the ArcGIS XML to determine if there's a feature catalog? Right now, we don't parse the ArcGIS XML directly I don't think.
Parsing the metadata would probably be the easiest way, based on the presence of one or more elements. Or, the data itself could be parsed (contains '.dbf' file) but i'm not sure how reliable that would be.
@kimdurante and @thatbudakguy will work on this together & see where we're at on it.
whoever picks this up should work with Kim on it.
https://github.com/OpenGeoMetadata/edu.stanford.purl/tree/742d0ae6f4871acec84b4360e44b7bac8b3f4894/vj/873/xk/9564