I want to extract information such (longitude,latitude,location name) from garmin maps
and use the database of this info in my java web application.
but i dont know how to extract a region information such as a city from a garmin map as text or binary.
If anyone know about it help me please.
Garmin maps are copyrighted binary files. Extracting this data without a license to do so is illegal. Don't do it.
The information you seek may be available from the USGS site for free in an easy-to-use text format:
http://geonames.usgs.gov/domestic/
Alternatively, consider using one of google or yahoo's excellent geolocation APIs.
http://code.google.com/apis/maps/documentation/index.html
http://developer.yahoo.com/maps/
Related
I am curious whether the following automation would be feasible:
search google for a UCP/EAN code number (e.g. 8710103703631)
scrape and parse data (depending on what is available) from the first ranked page concerning Product:
Name
Brand
Model
Picture
Description
Just trying to understand how complicated this might be.
Thank you!
Lookup EAN/UPC codes via API
There are some free web-APIs which (reverse-)lookup barcodes (EAN/UPC) or provide additional information.
For example ean-search.org is an REST API that is queried by the EAN and delivers XML (e.g. provides a link to Amazon for your sample "Philips Sonicare").
Benefit using an API: ready to use data, no scraping needed.
Web-scraping for search-results
For sure you can use search-engines (like google, duckduckgo, etc.) and search for the barcode using the favorite web-scraping library in your desired programming-language:
JSoup (in Java): see this question
Scrapy or BeautifulSoup (in Phyton): see this question
I know that Google Dictionary was discontinued in 2011, but the dictionary information and definitions are still available through google search results:
Does anyone know whether this information can be accessed through the Custom Search API or the Translate API?
I found this related question (but sadly without a satisfying answer).
I also needed Google Dictionary API for my project, it was not present so I decided to create one.
I scrapped the WebPage for the url https://www.google.com/#q=define+term where term is any word you want to get meaning of, and created the API, you can find it here Google Dictionary API.
How to use
The basic syntax of a URL request to the API is shown below:
https://api.dictionaryapi.dev/api/v2/entries/<--language_code-->/<--word-->
As an example, to get definition of English word hello, you can send request to:
https://api.dictionaryapi.dev/api/v2/entries/en/hello
The API also provides other meanings of the word, example sentences, and synonyms, if any.
If you want me to include any other details, please comment and I will happily extend the API to cover your needs.
In case you wish to see the code, it is on github.
Google Dictionary's content is licenced from Oxford Dictionaries' Lexico. Their API can be accessed from here.
Note their free access platform ("prototype") has a number of limitations:
1000 requests per month
Limited data access
Limited request rate
It doesn't look promising from the API Explorer
https://developers.google.com/apis-explorer/#search/dictionary/
HERE maps for certain city like Chennai, India is very limited. I understand that lot of information can be added so that it will benefit end-user.
My question, can I create a new map using HERE and allow my version of maps to be downloaded? If yes? How can I do this
HERE Maps is a proprietary software so you can not try to recreate your own version of it. Trying to recreate a Map API by yourself is a cool idea, but it is also a good idea to build something on top of a technology or an application that is already existing. There are other Map API's out there like OpenStreetMap and Google Maps that allows user to create and add data about POIs (Point of Interests) and/or locations. The data on these apps are also open source, that is why the community are encouraged to contribute data of their own on top of the Application.
TIP: If you are really onto it here is a page that documents the stuffs the happened behind the scenes in developing the HERE Maps: http://360.here.com/2014/12/11/video-craft-science-behind-maps/
I'm creating a web application that uses I18n. As I don't want to translate very common basic strings like "forgot password?" on my own I'm asking you if there are already any resource files or word lists containing these strings. One option is to download an existing framework and extract somehow these strings but this might be a hassle?
Especially I'm looking for translation regarding user authentication and translations from English to Italian, French and German. The file format doesn't matter.
Professional translators use a tool, TMX is the generic term i think, Translation Memory Exchange, that does what you are talking about by building up standard phrase lists in other languages so when they translate they can bring these phrases in to speed up their job and reduce the repetitive tedium. So these lists exist.
There is a free plugin for MS Word that does this and may come with lists (sorry cannot remember the name although Rosetta rings a bell).
There is an FOSS TMX tool called Okapi at Sourceforge. It may come with the dictionaries but if not it is a point where you can investigate.
You could also approach a site called Proz which is a site for translators and might be able to point you in the right direction
Take care over MT like Google API as it can give some weird results but you could use it to build you list and then double check. Remember that when you check a language that you need to do it with a native speaker who can pick up on the nuances and colloquialisms.
You can use google translator api. and your custom resource bundle
I'm newbie in map (or spatial data?) technology.
For starting point, I want to know the terms, what it is, how it work. I also want to kno how tostore map data(lat, long, etc).
Maybe, some simple (for newbie) tutorial and down to earth book could help, as I don't know anything about it.
Another suggestion and tips/trick when working with maps also welcome.
I think the explanations on kowoma.de will help you. I have used it in a lecture called "Mobile Computing" and it explains the basics very well.
Part of it is available in English, too (especially the introduction to GPS and lat/longitude). Other important topics like map projections and reference systems are not (yet?) translated (see German version here).
I have an example showing how to calculate distance using Spatial Data methods in SQL Server 2008. This is just a very basic tutorial, though. But is does take you step-by-step through adding a geography type to a table, updating it with latitude / longitude coordinates, where to obtain some data that translates zip codes to latitude / longitude and the SQL UPDATE statements for getting this into your database, and the SQL query for calculating distance.
The scenario it illustrates is that you want to add a "find nearest store near you" type feature to your client's web site, though it only takes you to the point of creating a SQL query for this purpose.
This tutorial is nothing fancy, though, just a very brief "how to" guide. Also, I wrote it before SQL 2012 came out, using SQL Server 2008 in the examples, so it may need some revision (which I plan to do when I get some more free time). It is on my web site here:
http://www.scottreis.com/Spatial-Data-What-Is-It.aspx