MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Programmatically Importing ESRI Shape Files

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


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2008
Junior Member
White Belt
 
Join Date: Jun 2008
Posts: 1
Programmatically Importing ESRI Shape Files

Hi,

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 06-18-2008
Junior Member
Yellow Belt
 
Join Date: Jan 2007
Posts: 13
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-02-2008
Junior Member
White Belt
 
Join Date: Sep 2007
Posts: 7
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 11:05 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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