search for: geotag

Displaying 8 results from an estimated 8 matches for "geotag".

Did you mean: geotags
2005 Dec 23
1
pagination problem
...m in the database i have 32 records and the sql filtered 4 records #getting the callerid records depending on the given paramaters and paginate it @callerid_pages = Paginator.new self, CallerId.count, 10, @params[''page''] @caller_ids = CallerId.find(:all, :conditions =>["geotags.firm_id = ? ", @firm_id], :order => " geotags.address1 ASC", :include => [:geotag], :limit=>@callerid_pages.items_per_page, :offset=>@callerid_pages.current.offset) How come i get extra next and previous tags, with no records diplays when i count the next and previous t...
2005 Dec 01
0
problem with options_from_collection_for_select() need id not name
hey, i need a select list with a id property and not name, cuz i just ajax with this list and it checks on id not name if @request.post? #called by ajax if @request.xml_http_request? #called by ajax @geotag_id=params[:geotag_id].nil? ? -2 : params[:geotag_id] else @geotag_id=params[:geotag][:id].blank? ? -1:params[:geotag][:id] end else @geotag_id = -1 end i use this @geotags = Geotag.find(:all, :conditions =>[''firm_id = ? and client_id = ? '', firm_id, client_id]) @geotag...
2005 Sep 28
0
search engine, select the selected option
...<td colspan="3"><%= select "employee", "id", @employees.collect {|e| [e.last_name + " " + e.first_name,e.id]} %></td> </tr> code controller @employees = Employee.find_all_by_firm_id(firm_id, :order =>"last_name ASC") @geotags = Geotag.find_all_by_firm_id(firm_id, :order =>"address1 ASC") @employee_id = params[:employee][:id].blank? ? '''' : params[:employee][:id] @geotag_id = params[:geotag][:id].blank? ? '''' : params[:geotag][:id] @time_entries = TimeEntry.find(:all, :co...
2005 Dec 29
3
Post problem with select lists
hey, i have this problem how come i always get -1 for the select list?? rhtml First, select a client. <select id="client_id" name="client[id]" onChange="submit();" > <%= options_for_select(@client_options, @client_id.to_i) %> </select><%= @client_id %> controller if @request.post? if @request.xml_http_request? #called by ajax,
2011 Aug 12
8
Need some help with regular expression
I need to validate a string from a user (a location for use with geotagging) that is. I want to make sure that the user specify a city and a country in my inp ... So i wrote this => validates :usri_location, :presence => true, :format => {:with => /^[a-zA-Z]+{\,\s}+[a-zA-Z]/i}, :on => :create I want to make sure th...
2006 May 22
8
flickr tag question
hey, i am using the flickr wrapper for ruby and need to access the tags of a specific photo. i got all the rest working. i must admit i am kind of new to ruby, but i tried and tried and couldn''t figure it out. among other things i want to read geotags like in my example here: http://www.flickr.com/photos/whoisstan/146634506/ i''m sure it is deadsimple and i just overlooked it. appreciate it, stan -- www.semapedia.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/piperma...
2017 Oct 29
4
[Bug 13109] New: rsync hangs during transfer of many small files
...;http://www.hlipp.de/rs/1518_0219.jpg' cd .. ./mktest 5000 ############################ Background: This is based on a larger backup script (which explains the somewhat odd directory names etc.) that often hangs. The error often occurs when a user has many image files in a directory which are geotagged (eventually using exiftool) causing the original files to be renamed to *.jpg_original and a new file with updated EXIF information to be created. As I don't know if it is important that only a part of the file changes, I actually include an example image file into the test case. The script...
2008 Sep 02
3
gps tags in vorbis comments
hi, is there an official or semiofficial way to store gps location in vorbis comments or any ogg file. mp4 and exif store at least: - location name (e.g. London, UK) - longitude (degree as double), latitude (degree as double), elevation (meters) (these three according to WGS84) Stefan