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 7 of 7

Spatial Import error

This is a discussion on Spatial Import error within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have installed the spatial data import (MP2002) add-in to MP2004. I am able to plot some sample imports (e.g. ...

  1. #1
    DavWein is offline Junior Member White Belt
    Join Date
    Jan 2004
    Posts
    3

    Spatial Import error

    I have installed the spatial data import (MP2002) add-in to MP2004. I am able to plot some sample imports (e.g. Chicago parks, roads etc.), but the ones I really want to import cause an error:
    Error in rendering shape
    Error Number: -2147024809
    Error Description: The parameter is incorrect

    The shape file is of bus routes in Indianapolis that is used regularly in ESRI applications by the local United Way. I have another one of community development zones that gets a similar error.

    1. Is there some special setting needed for shapefiles that can be imported into Mappoint
    2. Is there a newer spatial spatial import add-in - mine says MP2002 when it loads.
    3. Is there something I can do to this file to make it work

    I could upload/email these shapefiles if someone smarter than me could figure out what is going wrong.

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    As you're finding that Spatial Data Importer developer sample code is not very robust. You might see a tool from Safe Software, they are GIS data import/export experts and their tool FME supports MapPoint.

    I think Visimation was originally the contractor who put together that sample code for MS and if I remember right they have a better version for sale: http://www.visimation.com/mappoint.asp ? I don't see it on their web page though, maybe give them a call.

    Note that if you're even only somewhat comfortable with GIS data formats and VBA, you can probably figure it out yourself given enough time. I would recommend converting the data first to mif/mid instead of shape. This way it is in plain text format so you can easily examine it with Notepad.

    Then delve into the code and see exactly where it fails, both in the code and in the file it is importing.

    If is likely there is a null value in the attributes or it is trying to render a feature (such as oval or rectangle?) for which there is no support. Then you'd have to code around it or modify your mif/mid files.

    Anyway, good luck.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    DavWein is offline Junior Member White Belt
    Join Date
    Jan 2004
    Posts
    3

    Spatial Import error

    I sent the file I wanted to import but couldn't and a sample file that came with the importer to a GIS expert. He determined that the files that are readily imported into MapPoint are Lat/Lon projections and the file I could not import was a different format. He used ArcGis projection utility to convert to the Lat/Lon framework and the file imported without a hitch.


    I was reading the documentation on the importer to see if they specified the format - they didn't -- but they did say it was possible to alter the color or the thickness of the imported lines/shapes throgh the object model functions:

    "Through the MapPoint object model functions you can also set the line color and size, shape fill color and even move the polygons and lines behind the MapPoint road network."

    How do you get to those functions?

  4. #4
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    You have to open the code.. do you have VB 6?

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  5. #5
    DavWein is offline Junior Member White Belt
    Join Date
    Jan 2004
    Posts
    3

    Spatial Import error

    Yes -- at least a limited version. But I haven't invested much time in it. Thanks for your help.

  6. #6
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    ESRI Data Import



    Not FULLY supporting ESRI in MapPoint is a GROSS oversight on the part of Microsoft! Publishing and promoting a buggy COM import program, despite the disclaimers of it being unsupported adds insult to injury!

    The ESRI data format IS the standard for GIS data. Here in Michigan, the state as well as the regional Metro Council provide GIS data in the ESRI format. The State supplies 80+ % of the baseline data most small government entities or buisinesses would want for FREE!

    This is the equivelent of attorneys or CPAs having access to 80+ % of forms/analysis worksheets they need in WordPerfect/1-2-3 format and Microsoft saying; Sorry, Word/Excel doesn't import WordPerfect/1-2-3 files, you are out of luck. Obviously the product managers for Word and Excel were a lot brighter than those for MapPoint!

    Our Township is creating a Strategic IT Plan for the next three years. Because MapPoint doesn't support the industry standard and readily available ESRI data format, it will not be considered as a GIS tool, nor will it be recommended as a tool for any developer or business that wants to do business within the Township.

    Microsoft's loss is MapInfo's and ESRI's gain!

  7. #7
    JSailor is offline Junior Member White Belt
    Join Date
    May 2003
    Posts
    2

    Spatial Import Error

    I would give a call to Visimation the orginal complier of the code for Spatial Data Import. They have an unadvertised software that will convert shapefiles into readible data points for MapPoint. The shapefile has to be in wgs84 format which may require you to have ArcView or MapInfo products already in house.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. More Spatial Data Import Q's
    By cabbage in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-16-2006, 12:47 PM
  2. Spatial data import
    By Les Wilcock in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 05-18-2006, 11:22 AM
  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