Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 6 of 6

Spatial data import

This is a discussion on Spatial data import within the MapPoint Desktop 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 ...

  1. #1
    Les Wilcock is offline 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

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    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.
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    hotrdd is offline 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....

  4. #4
    Stephane COLAS is offline 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.

  5. #5
    jlewis is offline Member Yellow Belt
    Join Date
    Apr 2006
    Posts
    33
    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

  6. #6
    jlewis is offline Member Yellow Belt
    Join Date
    Apr 2006
    Posts
    33
    Yep - that did the trick - imports good as gold!

    John

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Spatial Data Import COM Add-In Not Installing
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 02-11-2012, 04:43 PM
  2. More Spatial Data Import Q's
    By cabbage in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-16-2006, 12:47 PM
  3. Spatial Data Import
    By Dazzer in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 04-25-2006, 07:19 AM
  4. Spatial Data Import COM Add-in
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-02-2003, 04:52 PM
  5. Using the Spatial Data Import Com Add-in, I have h....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-25-2001, 07:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96