Hi All:
I'm trying to build a layer containing a series of static locations (lat/lon) that need to be connected with edges. From the API, it sounds like a "csvLinkHandler" would fit the bill!
I'm having trouble getting this to work however. When I turn on my layer nothing happens. I get a message from the CSVLocationHandler saying its trying to figure out the locations and name, but nothing shows up!!!
I tried to follow the "world cities" example...In the openmap.properties file, I created a new com.bbn.openmap.layer.location.LocationLayer and added it to the openmap.layers property (just after demo, but before the shape politicals) I pointed its location handler to a new com.bbn.openmap.layer.location.csv.CSVLinkHandler
I set the properties for my CSVLinkHandler to match my CSV file:
myTest.nameIndex=0
myTest.lat1Index=2
myTest.lon1Index=1
myTest.lat2Index=4
myTest.lon2Index=3
myTest.dashIndex=5
myTest.colorIndex=6
myTest.thicknessIndex=7
myTest.geoStyleIndex=8
myTest.linkTypeIndex=9
myTest.csvFileHasHeader=true
I used the following made up test data and adding cols of ones to cover the other required (though stated as optional by the docs) properties:
CITY_NAMElon1lat1lon2lat2link 1-118.2534-74.140.75link 2-74.140.75-75.218239.92755link 3-75.218239.92755-112.1133.50902
Any suggestions????
THANXS!!!
amb
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Jan 2 22:47:13 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT