United States and States/Other Data confusion

Amenti
06-01-2007, 08:35 AM
Hi,

I try to show an unsized pie with the following imported data:

Longitude Latitude SWITZERLAND FRANCE UNITED STATES NETHERLANDS
-20 40 1000 2000 3000 8000This is really what I want, to show only one pie at a specific location which is filled with data of some countries.

But DisplayMapData thinks the UNITED STATES column is a column about STATES and so I get a False Parameter when I execute it.

Is there a way to force MapPoint to treat a specific column as "other data"?

Thanks in advance.

Mattys Consulting
06-01-2007, 01:14 PM
Amenti,

I've tried your example as tab and comma delimited and
in both cases I was able to use the drop-down at the top
of the column to change from 'state' to 'other data.'

Mike Mattys

Amenti
06-04-2007, 02:53 AM
Thanks for the comment.

Sorry, I haven't been specific enough. When I start Mappoint and do this import in the Gui I can change the Datatype.

But I try to do this by code so the user can't change the datatype and I have to do it programmatically.

Eric Frost
06-04-2007, 12:25 PM
This makes sense.

Can you post the code you have currently? I will take a look.

Eric

Amenti
06-07-2007, 09:39 AM
:D Thanks a lot but now I found it.

I had to specify the DataTypes in the ArrayOfFields when Importing. So I could set all but my Latitude Longitude Columns to geoFieldData. Now it works like charm. :)

 
Web mp2kmag.com
mapforums.com