MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Spatial data import

This is a discussion on Spatial data import within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; :( Hi Guys/Gals I guess this forum is my only hope to resolve this issue. · I work for a ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-14-2005
Junior Member
White Belt
 
Join Date: Jul 2005
Posts: 1
Spatial data import

:(

Hi Guys/Gals

I guess this forum is my only hope to resolve this issue.

· I work for a UK national charity and we have 60 regional sites.

· These sites distribute government grants to underprivileged groups.

· We have a database that indicates (via Postcodes) the location of every given grant and I can import this into MapPoint and show the location.

So far so good

· The UK government has produced a set of boundary files that show area’s within the country of high social deprivation. (SHP and MID/MIF format).

I would like to import those boundaries into MapPoint so I can then show the target areas and the actual grant locations and in that way ensure we are directing the grants to the right people.

Actions so far

· Imported into my copy of MapPoint (MP 2004) the MapPoint Spatial Data Import COM Add-in from the MS site.

· Downloaded the sample data

· Checked it works, which it does.

· Obtained the government data in the form of SHP and MID/MIF files. These come in two types, full resolution (high definition but a large file) and generalised (low res but smaller file)

· Tested these files by downloading the free ESRI ArcExplorer SHP viewer. They work fine

Problems

· When I try to import either the SHP or the MID/MIF files to MapPoint I get the following error

Error in Render Shape, Error Number : -2147024809, Error Description : The parameter is incorrect.

Tried

· Contacting MS here in the UK and had one response that says they do not support the Add In but will look at the problem. As yet, still waiting (that was 3 months ago)

So over to you guys, any thoughts ? I can forward the boundary files if anyone wants to have a play.

Regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-14-2005
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,487
Blog Entries: 1
I remember getting that error a lot. In tracing through the code I would find some odd things like a null value in the data causing the error. Some fiddling with the code or the data itself (I would use MapInfo) would resolve the issue. Please forward the data, I'll have a go at it, it's been a while since I resolved this issue so I need the practice I have PM-ed my e-mail address.
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-14-2005
Junior Member
White Belt
 
Join Date: Jun 2005
Posts: 6
The Best way to resolve this is to trace through the code to where the error is occuring if you do a search for the I believe "RenderShape" it should be a good place to get started. In the past I have done a lot of tweeking to the code to remove these errors as well as convert UTM format (Mif and shape) files into the latitude and longitude used by MapPoint. If you like I can send you the modified spatial import wizard, though like MS I do not support it....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-09-2006
Junior Member
White Belt
 
Join Date: May 2006
Posts: 1
Hi to all,

background : I have Mappoint 2004, Mapinfo 6 and I want to convert MIF files or SHP files to M2004...



Archive shows me that many guys have the same problem to me to import SHP or MIF files into Mappoint 2004.

In differents threads I can see that
* JSailor suggests to transform the files to wgs84, but I don't see this format into the Mapinfo dialog boxes.
* Eric suggests to debug the .com but I don't have VB6 and I don't understand how I can trace the errors while I'm importing the MIF file.
* hotrdd develop somthing to by pass the errors
...

hotrdd, if you are here, could me send your .COM modified ??

All suggestions are welcomed.

Stephane.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-11-2006
Junior Member
Yellow Belt
 
Join Date: Apr 2006
Posts: 18
Hi All,

I have experienced the same problems with some data provided by a local authority here in the UK!

A quick look at the .MIF file tells me that the points appear to be in OS grid format (eg 163360.2 and 474104.1).

I assume that the Spatial Data Import COM object requires the points in decimal lat/lon (eg 51.36448 and 0.93702). I can't step through the code of the COM object (as has been recommended elsewhere in this forum) as it's in VB6 and I'm using vb .NET (2003) and the code won't convert!

I'm also assuming that MapInfo and ESRI can export polygons/polylines making use of a variety of coordinate systems. I've asked them to re-export the data as required and I'll get back to this forum with the results!

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-18-2006
Junior Member
Yellow Belt
 
Join Date: Apr 2006
Posts: 18
Yep - that did the trick - imports good as gold!

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
data, import, spatial


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
More Spatial Data Import Q's cabbage MapPoint 2006/2009 Discussion 2 06-16-2006 12:47 PM
Spatial Data Import Dazzer MapPoint 2006/2009 Discussion 2 04-25-2006 07:19 AM
Spatial Data Import COM Add-In Not Installing Anonymous MapPoint 2006/2009 Discussion 1 08-05-2005 03:44 AM
Spatial Data Import COM Add-in Anonymous MapPoint 2006/2009 Discussion 1 01-02-2003 04:52 PM
Using the Spatial Data Import Com Add-in, I have h.... Anonymous MapPoint 2006/2009 Discussion 1 10-25-2001 07:05 PM


All times are GMT -5. The time now is 07:02 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55