Problem importing user database

Discussion of troubles you experience and possible bugs.
Post Reply
tomcoul
Posts: 2
Joined: Mon Sep 27, 2010 3:19 am

Problem importing user database

Post by tomcoul »

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
daan
Site Admin
Posts: 977
Joined: Sat Mar 28, 2009 11:17 pm

Re: Problem importing user database

Post by daan »

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.
tomcoul
Posts: 2
Joined: Mon Sep 27, 2010 3:19 am

Re: Problem importing user database

Post by tomcoul »

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?
daan
Site Admin
Posts: 977
Joined: Sat Mar 28, 2009 11:17 pm

Re: Problem importing user database

Post by daan »

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.
daan
Site Admin
Posts: 977
Joined: Sat Mar 28, 2009 11:17 pm

Re: Problem importing user database

Post by daan »

This is fixed in 3.1.0.
Post Reply