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

Importing .shp (shape) files

This is a discussion on Importing .shp (shape) files within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi! I would like to know how do I import Shape files to Mappoint 2006 North America. I want to ...

  1. #1
    ZeEstebes is offline Junior Member White Belt
    Join Date
    Sep 2007
    Posts
    2

    Importing .shp (shape) files

    Hi!

    I would like to know how do I import Shape files to Mappoint 2006 North America.
    I want to show shapes in the Mappoint application. In the user application is easy, however, when developing I have no idea on how to do that.
    I installed the SpatialDataImport add-in, but the API only has one class and two interfaces. I have absolutely no Idea on how to import data from a .shp file to my application.


    Thanks in advance
    Ze

  2. #2
    micheln is offline Junior Member Yellow Belt
    Join Date
    Jan 2007
    Posts
    16

    Re: Importing .shp (shape) files

    Hi
    See there : (Commercial product : will be available this month)
    MPSuperShape: Home Page

  3. #3
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: Importing .shp (shape) files

    It might be easier if you can convert the shape files to mif/mid first. Then you just have to read a text file instead of a binary file.

    In any case, I've dug through the Spatial Data Importer code and made it a lot more straightforward when I have little things to do and I don't want all the classes. You can do it. Just use the debugger and see what each line of code it doing and you can rip out the essential stuff for your own project.

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

  4. #4
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Importing .shp (shape) files

    Thanks for the 'plug' micheln. We had some trouble with the installer and temporarily withdrew MPSuperShape from the market. I hope to get it back into Beta this week.

    As for the original query: MPSuperShape is an add-in for MapPoint. Yes it can import MIF and SHP files, but it does not have an API to do this.

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  5. #5
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Importing .shp (shape) files

    MPSuperShape v1.2 is now available for testing. If you're interested, let me know in the next day or so.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  6. #6
    brettnewman is offline Junior Member White Belt
    Join Date
    Sep 2007
    Posts
    7

    Re: Importing .shp (shape) files

    This MapPoint GIS Data Import tool was developed by the same team that created the Spatial Data Import sample code that Microsoft offers for free download. This product isn't free, but it's a lot more reliable and automatically performs conversion of the ESRI or MapInfo file to WGS84 coordinates that MapPoint requires. Check out the description and trial download and see if it does what you need.

  7. #7
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: Importing .shp (shape) files

    I think he wants to do it in his application, read the first post again. That's why I referred him to the developer sample code..

    MPSuperShape or the MapPoint GIS Data Import tool from ShapeSource do not come with the code, right?

    I think what is needed is a simpler example code project e.g. just a function or subroutine that could be used like

    Code:
    ret = ImportShapeFile("C:\PathToFile\File.ship")
    Maybe it could also have some parameters such as fill color, line width and color, etc.

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

  8. #8
    brettnewman is offline Junior Member White Belt
    Join Date
    Sep 2007
    Posts
    7

    Re: Importing .shp (shape) files

    Hi Eric,
    You may be right, but I wasn't sure if he was using the Spatial Data Import sample code because there wasn't a good existing add-on solution. We don't provide the code with the application. Sorry if I misunderstood.

    BTW, a lot of the work to develop our GIS Import tool went into the conversion from any coordinate system to WGS84. Not a trivial task.

    Thanks,
    Brett

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Importing ESRI .shp files
    By Winwaed in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-17-2007, 01:49 PM
  2. Importing ESRI shape files??
    By LLPG in forum Bing Maps and MapPoint Web Service
    Replies: 0
    Last Post: 10-05-2006, 09:32 AM
  3. importing files
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-14-2005, 04:46 PM
  4. Importing ESRI Shape Files (.shp)
    By joer1234 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-06-2005, 06:35 PM
  5. Importing E00 files
    By bigRahn in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-24-2003, 03:53 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