MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




diffrent Color for the intersection of 2 drive time zones

This is a discussion on diffrent Color for the intersection of 2 drive time zones within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi everybody, I have 2 drive time zones A and B with a common area C. A is blue B ...


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

Today's Posts Twitter Feed 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 07-05-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 97
diffrent Color for the intersection of 2 drive time zones

Hi everybody,

I have 2 drive time zones A and B with a common area C.
A is blue
B is yellow

If B comes after A, the color of the intersection C between A and B is yellow.

If A comes after B, the color of the intersection C between A and B is blue.

I want the color of C to be different , Red for instance.

Is there a solution with Mappoint?

I can do that with other GIS.

Thanks in advance.
__________________
Mohamed
www.AtlasCouscous.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
  #2 (permalink)  
Old 07-05-2005
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 3,041
Blog Entries: 2
Hi Mohamed,

This is not so easy with MapPoint but possible with programming. One way you might approach it is to export the polygons to another GIS, do your cookie cutter stuff and prepare three polygons, and then re-import them into MapPoint using the Spatial Data Importer.

They can be exported using something like Walt Cygan's mif/mid exporter --
http://www.mp2kmag.com/importersub01.asp

hope this helps.
Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~~
~ Upgrade to MapForums Plus membership ~
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-05-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 97
Thanks Eric,

I do my drive time zones by programmation in Mappoint. But I don't know how to fill the intersection with another color. I am using other GIS like GeoConcept, Map&Guide, MapInfo for some complementary tasks. But I want my Mappoint Application to be independant V/s other GIS.

Thanks again for the help.
__________________
Mohamed
www.AtlasCouscous.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
  #4 (permalink)  
Old 07-06-2005
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 3,041
Blog Entries: 2
I think you'd have to figure out how to do the polygon operations in your own code, math stuff. Perhaps there's a lightweight library or control you can take advantage of... ?

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 07-06-2005
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,142
Blog Entries: 22
I don't know of any libraries - there could well be some, and they would make it easier.

The individual components in geometry calculations like this aren't too complicated, but there are often various special cases that will trip you up - eg. coincident points and lines.

For this one, you will need a "point in polygon" algorithm. For a past employer, I coded one from Sedgwick's "Algorithms".
This projected a line from the point to infinity, and counted the intersections with polygon edges. Odd = Inside the polygon; Even = Outside.
Your projected line should be horizontal or vertical to simplify the maths.


You will also need to check for intersections between two lines. I think I found something in the Graphics Gems series in the past. I can't remember the details now but it might have involved a vector product of somekind.

Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 07-07-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 97
Hi,

The solution I've found now is to color directly by programming the GIF
generated by HTML saving. I hope I will find a best solution in the future.
The intersection between two drive time zones is very important for
a lot of marketing subjects. For instance this area is a " cannibalization area"
for two stores. The costumors found in that area are very coveted by the two stores.

Thanks for your suggestions anyway.
__________________
Mohamed
www.AtlasCouscous.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
color, diffrent, drive, intersection, time, zones


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
INSTEAD OF DRIVETIME ZONE -- DRIVE MILES ZONES?? Anonymous MapPoint 2006/2009 Discussion 4 12-10-2004 05:29 AM
How do I hide a drive time box Anonymous MapPoint 2006/2009 Discussion 1 09-14-2004 12:29 PM
hiding drive time box chaching MapPoint 2006/2009 Discussion 0 08-30-2004 02:45 PM
Drive Time Zones EdB MapPoint 2006/2009 Discussion 3 11-24-2002 06:09 PM
Drive Time Isozones Michael.Simon MapPoint 2006/2009 Discussion 2 11-22-2002 10:16 PM


All times are GMT -5. The time now is 05:19 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Costa Brava Holiday
Beautiful kilometres of sandy beaches await you should you choose a Costa Brava holiday through UlookUbook!



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