Register  |  Login
ThinkGeo - GPS Tracking and Mapping Solutions  |  Visit the Wiki  |  Find us on: Twitter Facebook Google+ LinkedIn

Discussion Forums

The online community for users of Map Suite GIS components

Loading multiple states into MultipleShapeFileFeatureLayer?
Last Post 05-21-2012 04:28 PM by Gary. 2 Replies.
Printer Friendly
Sort:
NextNext
You are not authorized to post a reply.
Author Messages
JoshUser is Offline
Level 1
Level 1
Posts:25
Avatar

--
05-16-2012 11:32 AM

Anyone have an example of this?

 

What I want to do is load say 4 states into one MultipleShapeFileFeatureLayer.

 

             string mapDir = ConfigurationManager.AppSettings["MapDataDirectory"];          

            string shapeFile = mapDir + "\\USA\\TLKA" + "\\??" + "\\*.shp";

            string shapeFileIndex = mapDir + "\\USA\\TLKA" + "\\??" + "\\*.mids";

 

Does not seem to work like I found in other posts.

 

 - Josh

JoshUser is Offline
Level 1
Level 1
Posts:25
Avatar

--
05-18-2012 05:41 PM

 Figured something out.

 

I load the few states that I may have points.

Plot my points.

Get all the features inside the bounding box of my points.

Then use those features to find the closest features to my original points.

 

 - Josh

GaryUser is Offline
MVP
MVP
Posts:1914
Avatar

--
05-21-2012 04:28 PM
Hello Josh,

I'm glad it's working for you, but looks like this is not talking about a same problem?

Regards,

Gary

Need to know how to do something with Map Suite? Check our Wiki Code Samples Library and view the source code of any sample right in your web browser.

You are not authorized to post a reply.

Active Forums 4.2