Community of VE/MapPoint Users and Developers
This is a discussion on Programmatically Importing ESRI Shape Files within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, Is there a way to import (load) an ESRI shape file (.shp) into MapPoint PROGRAMMATICALLY? I am using MapPoint ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Programmatically Importing ESRI Shape Files Is there a way to import (load) an ESRI shape file (.shp) into MapPoint PROGRAMMATICALLY? I am using MapPoint 2004 inside of an application built with C# .NET 1.1. I am able to use the Spatial Data Import COM Add-in to import an ESRI shape file, but the file has to be selected by the USER by calling the ShowSpatialDataImport method. I would like to choose the shape file programmatically - without making the user choose it - but I don't see a way of doing that. I'd like to write the following kind of code: shapeFile = ImportShapeFile ("C:/xxx.shp"); Thanks in advance for your suggestions! Ninad |
| |||
| Re: Programmatically Importing ESRI Shape Files
Hi NinaDJog Take a look at MapPoint Spatial Data Import COM Add-in: it does what you want but not programmatically. You could take a look at it source though (visual basic code). Good Luck |
| |||
| Re: Programmatically Importing ESRI Shape Files
Hi, Our company wrote the Spatial Data Import utility referred to above but it was really just sample code to show developers what could be done so you're actually using it as it was intended, not as an end-user product. We have since developed a much better tool that's not free but it's quite reliable, converts .shp data to WGS84 on the fly from other coordinates, shows associated data in a separate window, and provides several viewing options. GIS Data Import for Microsoft MapPoint® You do need to choose the file to import by browsing but we could probably provide an API to do what you want. Regards, Brett Newman brettn@visimation.com |
![]() |
| Tags |
| esri, files, import, importing, programmatically, shape, shape files, spatial data import |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Importing .shp (shape) files | ZeEstebes | MapPoint 2006/2009 Discussion | 7 | 01-18-2008 10:12 AM |
| Importing ESRI .shp files | Winwaed | MapPoint 2006/2009 Discussion | 1 | 10-17-2007 02:49 PM |
| Importing ESRI shape files?? | LLPG | MapPoint Web Service and Virtual Earth | 0 | 10-05-2006 10:32 AM |
| i need help in importing esri shapes in c# | Anonymous | MapPoint 2006/2009 Discussion | 1 | 02-08-2005 11:03 AM |
| Importing ESRI Shape Files (.shp) | joer1234 | MapPoint 2006/2009 Discussion | 1 | 01-06-2005 07:35 PM |