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

Spatial Data Import Confused by some .shp files

This is a discussion on Spatial Data Import Confused by some .shp files within the MapPoint Desktop Discussion forums, part of the Map Forums category; I've been using the spatial data import for a while now, to load .shp files created in ArcView. It usually ...

  1. #1
    tymitton is offline Junior Member White Belt
    Join Date
    Mar 2006
    Posts
    3

    Spatial Data Import Confused by some .shp files

    I've been using the spatial data import for a while now, to load .shp files created in ArcView. It usually works fine, but some files seem to confuse MapPoint... the ones that contain two seperate areas that are in the same shape file. A good example of this is a shapefile of the zipcode 02532 in Boston MA. Opening it in ArcExplorer shows two seperate polygons of the same color... seperated by a canal that cutts through the middle of the zipcode. If I open it in MapPoint using the spatial data import, it gets messed up as it tries to connect the two seperate polygons and creates an overlapping area which is then considered not a part of the shape.

    If that is not clear I can send a copy of the .shp file for anyone that is interested. I'm wondering if there is a way to prevent MapPoint from reading the file incorrectly... maybe I need to change how the shapefile is created... I'm really at a loss and any advice would be appreciated.

    Thanks in advance!

    Tyler

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    The full source code is included with the data sample, you might try digging into it to see how you can rectify it. I'm curious if the two separate polygons are considered by the shape file to be part of the same object. Perhaps there is something from ESRI that can truly separate polygons into separate objects before trying the import into MapPoint.

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

  3. #3
    tymitton is offline Junior Member White Belt
    Join Date
    Mar 2006
    Posts
    3
    Thanks Eric, it appears as though the two polygons are being interepted as the same object, because they are connected when I open in mappoint... but in ESRI they are not connected (but still the same color, because they are considered the same zipcode). If I can force it to seperate all polygons into seperate objects, that would perfect.... any ideas how to do this?

  4. #4
    tymitton is offline Junior Member White Belt
    Join Date
    Mar 2006
    Posts
    3
    Problem solved; there is a way to "Explode Multi-part Features" in ArcMap. It's an option in the Advanced Tools or something like that (by default it isn't in the toolbar). You have to click on that after you "Start Editing"... then "Stop Editing" and export to a shape file. The new shape file will have seperate polygons for each object. It's seems that this process is required for places like Hawaii with islands where the orginal "Feature" in ArcMap may have multiple polygons. The exploding will make 1 polygon per feature. Hope this helps someone else!!!

    Tyler

  5. #5
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Very cool, thank you for following up! I keep meaning to go through my ArcMap book but never find time to do it

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

  6. #6
    klomp63 is offline Junior Member White Belt
    Join Date
    Mar 2006
    Posts
    2

    polygons

    Hi, beginner question. Very beginner but I have to start somewhere. I have a need to draw response area bounderies within a city map, sort of like what mp calls territories. These teritories do not include city boundaries. I was expexting a way to draw a polygon on my map and shade it in for my purpose. Seems there must be a tool or a function just to draw a polygon on the map?
    New Mappoint user

  7. #7
    abhaduri is offline Junior Member White Belt
    Join Date
    Dec 2009
    Posts
    4

    Re: Spatial Data Import Confused by some .shp files

    I have the same issue, but explode multipart does not solve my problem. I merged several small polygons to create larger polygons such as in a territory map. Once I explode them they becomes seperate polygons again and imports in a different color (given fewer thank the previous merge).

    Example I merge 2000 polygons to create 1 polygon, the I explode the multiparts and wind up with 200 or so polygons. I need to perform this operation repeatedly.
    Any suggestions.
    Thanks.

  8. #8
    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: Spatial Data Import Confused by some .shp files

    Shapefiles do not contain color information. This is why the Spatial Data Import tool simply cycles through a number of colors.

    Our own MPSuperShape product can also import shapes but it simply uses the same color for each shape. This might form a part of a working solution, especially as it supports other formats that include color information (eg. KML files and MapInfo MIF files).


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

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