Hi,
I've recently upgraded from Geocart 2 to version 3. Liking it very much so far!
However I'm having a problem reading some of my old databases which worked fine in Geocart2.
When I try to add user database I get the following error message:
VectorDatabase reader: Polygon preface must contain two names separated by a tab, and then the count
of the two points.
My database is in Simple Text format - and here's a sample of the first few lines:
World_Coa0000001 World_Coa0000001 -2
-60.6377 -2.8265
-60.6595 -2.8228
World_Coa0000002 World_Coa0000002 -9
-60.6595 -2.8228
-60.6633 -2.8027
-60.6795 -2.7669
-60.7099 -2.7396
-60.7422 -2.7147
-60.7679 -2.6837
-60.786 -2.647
-60.8078 -2.6136
-60.8401 -2.5787
So as far as I can see things are separated by tabs and there appears to be a count too (-2 and -9).
What do I need to do to make the database version 3 compatible?
Many thanks,
Tom
Problem importing user database
Re: Problem importing user database
Hm. I won’t be able to look into it in detail until this evening, but my first suspicion is the negative values for the vertex count. If you have a small database that’s easy to confirm this with, please try that. If that turns out to be the trouble, I’ll get that fixed. The spec allows negative values.
Re: Problem importing user database
Yes, it seems to be the negative values in the vertex count. Hmm..thats a shame I can't use my databases (they're way too large to manually remove all the negatives for vertex count) - no disaster though, I can use Geocart 2.
Any ideas when a fix could be released?
Any ideas when a fix could be released?
Re: Problem importing user database
Yes, I’ll see to it that this gets fixed in 3.1, which is due out “shortly”. The functionality is finished and now we’re finding and fixing bugs. The manual still needs a little more work also; we added a lot of functionality.
Re: Problem importing user database
This is fixed in 3.1.0.