MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Finding Nearest Gas Station based on brand names- shell

This is a discussion on Finding Nearest Gas Station based on brand names- shell within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi Iam working on finding the nearest gas station with FindNearbySpecification. I have to find the nearest one based on ...


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 04-09-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Finding Nearest Gas Station based on brand names- shell

Hi
Iam working on finding the nearest gas station with
FindNearbySpecification. I have to find the nearest one
based on the brand names like "Shell" , "Chevron"
I have specified the right lat,lon values and also the
data source.I have a where clause where i specify the
category SIC code.Mappoint is unable to retreive the
nearest gas station based on the brand name.
Without this it works that is it finds the nearest gas
station irrespective of the brand name.

Below is a snapshot of the code:

findNearBySpec.setDataSourceName("Acxiom.US.SIC_G. 55");
ff.setEntityTypeName("SIC5541");

ArrayOfEntityPropertyValue searchProperties = new
ArrayOfEntityPropertyValue();
EntityPropertyValue[] property = new EntityPropertyValue
[2];
property[0] = new EntityPropertyValue ();
property[0].setName("SIC6");
property[0].setValue("55410304");
property[1] = new EntityPropertyValue ();
property[1].setName("State");
property[1].setValue("CA");

Please help me!!!
thanks in advance,
suma
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
based, brand, finding, gas, names, nearest, shell, station


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
Brand new and need help please JonnyGreen5 MapPoint 2006/2009 Discussion 2 10-05-2005 02:20 AM
Finding the nearest road given a lat long. Anonymous MapPoint 2006/2009 Discussion 5 04-05-2005 04:22 AM
Drawing Radio Station Contours (ASCII lat/long list) Anonymous MapPoint 2006/2009 Discussion 4 02-10-2005 10:11 PM
Finding nearest pushpins in dataset Dazzer MapPoint 2006/2009 Discussion 3 10-17-2003 08:38 AM
Also, can I delete the state names and city names .... Anonymous MapPoint 2006/2009 Discussion 1 08-29-2000 12:57 PM


All times are GMT -5. The time now is 10: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

Luxury Ski Holidays
Whether you are looking for luxury ski holidays or something simpler visit Holiday Hypermarket to compare prices. Getting value for your money is easy when you use us.

Online Travel Agent Uk
UK's Best Travel Agent at the Guardian Unlimited travel awards. We have UK Online Travel Agents free to help with your travel.

Holidays Italy
Book your holidays in Italy. Italy has a great climate and the beaches to go with it. Book a great deal for great value online at dealchecker.co.uk.

All Inclusive Maldives
Visit The Holiday Place.co.uk for great deals on all inclusive holidays to the Maldives. Book a holiday to the outstandingly beautiful Maldives.

Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.

Cheap package holidays
Use Travel.co.uk to find the best cheap package holidays available. Have fun and save money at the same time

Gran Canaria Holidays
Visit the Canary Islands! See information on Gran Canaria holidays at On The Beach!


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