Displaying 20 results from an estimated 110 matches similar to: "Routing through LatLng points and other stuff"
2006 May 05
5
Sessid.
How can I get the sessid from the current session object?
For instance, I log in the system, and want to know which sessid I''m using.
I''m storing the session using active_record. Later on, I want to restore
a session finding it using the sessid.
Thanks in advance.
Fernando Lujan
2009 Feb 03
3
ROXML from_xml not returning an object instance...
Hello,
I have two ActiveRecord classes. One is Route the other is Waypoints.
I have constructed an XML representation so I can use AJAX to create a
Route with all waypoints in a single create call to RouteController.
When I call Route.from_xml(xmlString) it is not returning an object -
it''s leaving the object (@route) nil, but not erroring. Any ideas?
Here''s some code:
2006 Oct 17
6
Session access interfers with other model access
Sorry to be such a bother but I''m not getting this.
I have two models: Emrec and Session (I''m using AR for session mgmt.) In my
worker I can access the Emrec model and delete a record, AS LONG AS I don''t
try to access the Session model. With the Session model access commented
out as below, the Emrec record gets deleted. If I uncomment those lines,
the Emrec
2011 Jun 14
2
Need script to create new waypoint
Dear help-list members,
I am a student at Durham University (UK) conducting a PhD on spatial representation in baboons. Currently, I'm analysing the effect of sampling interval on home range calculations.
I have followed the baboons for 234 days in the field, each day is represented by about 1000 waypoints (x,y coordinates) recorded at irregular time intervals. Consecutive waypoints in
2009 Feb 24
1
Anyone running EasyGPS or ExpertGPS?
With wine-1.1.14-1 under Fedora 10, EasyGPS launches, finds, and
correctly identifies my Garmin GPS (something Garmin's own software under
wine still can't do); and it tries to copy my waypoints. It even claims
success; but then it gives endless pop-ups (277 of them, at a guess --
the number of waypoints it says I have). By the time you close all those,
it crashes; and on re-launch,
2011 Jan 24
0
error xenwebmanager
When i prove from my xenwebmanager interface to add new server i have this
messages
[24/Jan/2011:13:13:01] HTTP Traceback (most recent call last):
File "/usr/share/xenwebmanager/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/share/xenwebmanager/cherrypy/_cpdispatch.py", line 25, in __call__
return
2007 Feb 20
1
error message for record not found ?
I''m using backgroundrb for session management and deletion of visitor-entered information when a session is abandoned. The visitor can either click a button to end their session and remove their data, or backgroundrb will do it for them after 5 minutes of inactivity.
Everything''s working fine, I think. If the visitor explicitly logs out, then when the worker checks for their
2007 Jul 13
0
layers of polylines, events building up on map
Hi all,
Here''s my situation:
I have a little route creation app that lets a user create a route.
I''m using the mapstraction version of ym4r...
here is the workflow:
first page has a map displaying the start point of existing routes.
if they click "new route:
creates a route_object
clears all polylines in case there are any
clears all the markers and adds an onclick
2008 Apr 29
1
One toolbar button not working in Chart Navigator
I had an installation of Mandrake Linux 10.1 (wine 0.9.9) for which
Maptech's Chart Navigator functionally worked out-of-the-box.
Absolutely nothing was needed to be done to install or run, and
everything worked.
I attempted to install ChartNav on Mandriva 2007.0 which failed. I then
attempted to compile most recent version from source, and Chart Nav
continued to fail on start-up. I
2011 Jul 24
4
Salvage old data?
For years, I could install, and sometimes run, legacy private map
software under Wine. But in order to connect it with my GPSs, I had to
keep a separate hard drive with XP, and do that there.
Then came a brief time when I could also actually make my Garmin
GPSs talk with the software under Wine. I transferred all my data to it,
and gleefully wiped XP off my machine.
Then the connecting
2001 Feb 12
2
OziExplorer works on LINUX using WINE
I've succeeded in running the wonderful charting program
OziExplorer (3.85.3c), http://www.oziexplorer.com/ , on
LINUX (RedHat 6.2) using WINE 20010112. The times to load
the program and to load a map did take 5 to 8 times longer
using WINE than they did using WIN95. I was able to enable
the serial port and have the position computed by my GPS
displayed on the chart.
OziExplorer is a
2007 Oct 16
3
can''t define custom GIcon
Hi,
I am having trouble getting custom GIcons to display. Here is the code in
my controller:
@map = GMap.new("map_div")
@map.control_init(:large_map => true,:map_type => true)
@map.icon_global_init(GIcon.new(:image => "images/APBox-20.png
"),"ap_none")
infoString = "Friendly Name: "+result.friendly_name+
2014 Oct 16
2
RCharts+Leaflet+Shiny
Daniel, muchas gracias por contestar y tan rápido.
Pues puede ser la solución, he hecho el cambio y sigue sin pintarme los
puntos ->
data_ <- toJSONArray(data_, json = F)
map$geoJson(
# leafletR::toGeoJSON(data_,
# # lat.lon = c('Lat', 'Long'),
# dest=output_geofile),
data_,
onEachFeature =
2010 Nov 08
1
API Google MAPS
Hello everybody,
I''m working with Version 3 of Google Maps JavaScript API, and I have
the next code:
In a layout of my application:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
2014 Oct 15
2
RCharts+Leaflet+Shiny
Hola,
Ando un poco desesperado con los mapas interactivos de Rcharts
<https://github.com/ramnathv/rCharts>+Leaflet.
Estoy intentando pintar en un mapa las cámaras de tráfico de madrid, y las
estaciones de calidad del aire, simplemente donde están, es decir, aun no
estoy recogiendo los datos de medida.
Proyecto -> https://github.com/ADIRSE/maddata
He conseguido pintar ambos, con
2006 Mar 12
3
Mappery breakthrough : Garmin topo, vista, rino, under linux & CXO
As most of you know, I've been trying to make GPSs and topo
maps usable under Fedora Core 4 linux, using CrossoverOfficePro (CXO)
5.0.1.
I've belabored nine or ten specialized lists for six or eight
weeks, parcelling out pieces of the problem wherever I hoped they
might arouse interest and knowledge. I've gotten invaluable help and
encouragement from all of them, on the lists
2007 Nov 05
1
marker event listeners
I''d like to add an event listener for dragging markers, but it looks
like YM4R GM (and Mapstraction) doesn''t support this. I need an init like:
marker = new GMarker(...
GEvent.addListener(marker, "dragend", function() { })
but the current setup makes "anonymous" markers - never creates variable
that can be used to access them. Has anyone thought about
2009 Aug 27
1
Mappery : uncertain Thinkpads (Repost?)
Followups set, hesitantly, to gmane.linux.redhat.fedora.general
I thought I had posted this to both these groups, but my
newsreader doesn't show it in either.
I have three Garmin GPSs (an Etrex Vista and two Rino 120s),
which I want to use under Fedora 11 Linux with four PCs, and two IBM-
reconditioned Thinkpads, T30 & T42.
Garmin software suites (Metroguide USA and Topo US 2008)
2006 Oct 16
6
accessing session data in worker
Is there something special I need to do to access session data in a worker?
I''m using an AR session store. I''ve been working with Ezra''s tutorial, modifying it a little here and there to figure it out. So I changed the progress bar to a simple count-down in the worker which sends back the count to display in the view. No big deal. But if I try to access session
2011 Feb 08
0
favorite pattern for adding functionality to an AR?
Do you have a preferred programming pattern for adding functionality to
an ActiveRecord? As an example, say I have some gnarly trig functions
for distance and bearing between pairs of latitude and longitude:
=== file: latlng.rb
module LatLng
def haversine_distance(lat1, lng1, lat2, lng2)
...
end
def bearing(lat1, lng1, lat2, lng2)
...
end
=== EOF
... and I want to mix in