Map catalog error
redbeard
Global Mapper UserTrusted User
I was editing my map catalog using notepad++, as I wanted to delete some maps and change the path where the files were stored.
Not GM v12 wont open the catalog. I've done this many times before, so I'm trying to hunt down what I might have done wrong.
The error says this
Error loading map catalog data.
MapCatalogOverlay.cpp - 905
Version: v12.02
Build Time: Jul 24 2011 13:26:20
which doesn't tell me much about what's wrong with my catalog. Unless 905 means something (partly why I post).
My suspicion is the lines between the items in the catalog - this area
</control_point_list>
</map>
<map>
<filename>Z:.....
I may have deleted too much and ending up with something like this
</control_point_list>
</map>
<filename>Z:.....
or
</control_point_list>
<map>
<filename>Z:.....
Now I cant seem to do a find on items spanning multiple lines (There may be a way, I just haven't found it).
So I guess if you've any pointers, that'd be nice. If not, turn it into a feature request (for v13) of a better catalog manipulation/fixing abilities. I wouldn't mind being able to search the items in the catalog and delete some with a specific string in the file name or path, and a way to easily change the path on where the files are.
I'm intent on fixing this catalog as it would way take too long to recreate it.
Not GM v12 wont open the catalog. I've done this many times before, so I'm trying to hunt down what I might have done wrong.
The error says this
Error loading map catalog data.
MapCatalogOverlay.cpp - 905
Version: v12.02
Build Time: Jul 24 2011 13:26:20
which doesn't tell me much about what's wrong with my catalog. Unless 905 means something (partly why I post).
My suspicion is the lines between the items in the catalog - this area
</control_point_list>
</map>
<map>
<filename>Z:.....
I may have deleted too much and ending up with something like this
</control_point_list>
</map>
<filename>Z:.....
or
</control_point_list>
<map>
<filename>Z:.....
Now I cant seem to do a find on items spanning multiple lines (There may be a way, I just haven't found it).
So I guess if you've any pointers, that'd be nice. If not, turn it into a feature request (for v13) of a better catalog manipulation/fixing abilities. I wouldn't mind being able to search the items in the catalog and delete some with a specific string in the file name or path, and a way to easily change the path on where the files are.
I'm intent on fixing this catalog as it would way take too long to recreate it.
Comments
-
hmm...Not = Now in the above post.
Additional info -
I did do a create BBOXES in the control center and exported that as a shapefile before I edited the file. I don't think I can reverse the process though. -
Make sure to remove entire <map> ... </map> sections, otherwise you are gonna make the .gmc an invalid XML file and it won't parse without error. If you can't figure it out and want to send me the catalog I can tell where the problem is.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website