04-17-2017 11:45 AM
I am trying to load several JPEG files into the Apollo catalog that have no georeference points. Based on the tutorial on loading business data, it would seem that if I could generate a .gim file, it would load along with the JPEG and provide a reference point. At least it did that with the fire hydrants.
I have attached a .gim file called image1.jpg.gim that is alone in a directory with image1.jpg. When I try to crawl the directory, nothing happens. I suspect (hope) that the problem is that there's a syntax problem in the .gim file. I've also tried changing the jpg references in the .gim to txt and the JPEG to txt, and it still doesn't load. [Please note that because this board doesn't like files with extensions .jpg.gim, I've called it .gif. However, what I tried to load is .jpg.gim]
Can anybody tell me  why the combined image1.jpg and image1.jpg.gim won't load and  what I have to do to the .gim file to make it work?
Solved! Go to Solution.
04-19-2017 07:44 PM - edited 04-19-2017 09:39 PM
I cant see your attachments, but I hope this helps.
I just did a quick test using a non georeferenced jpg (DSC_0182.jpg) and a gim file (DSC_0182.jpg.gim) and it worked for me.
Here is my Gim file contents
<?xml version='1.0' encoding='utf-8' ?> <item xmlns="http://schema.erdas.com/apollo/catalog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.erdas.com/apollo/catalog http://schema.erdas.com/apollo/catalog/generic-item-metadata-1.0.xsd" version="1.0" type="image/jpeg" identifiedBy="identifier"> <identifier>F4ACEB380CBE4C799BDE6150946FC26F</identifier> <name>Can</name> <title>Coke_Can</title> <description>Coke can sitting on my desk</description> <tags>Australia, West Leedervile, Hexagon Office</tags> <footprint srs="EPSG:4326"> POINT (115.838140 -31.941780)</footprint> <resource-url mimeType="image/jpeg">DSC_0182.jpg</resource-url> <icon-url mimeType="image/jpeg">DSC_0182.jpg</icon-url> </item>
Documentation describing the use of GIM files is here https://hexagongeospatial.fluidtopics.net/book#!book;uri=39d06d76664a3355296cf4880b8180c6;breadcrumb...