geolocation

Mock GPS location and Chrome for Android

霸气de小男生 提交于 2020-01-16 12:03:20
问题 I have a Trimble ProXT GNSS receiver that has Bluetooth and can connect to android using the Trimble GNSS Status app. The app outputs the location of the base unit and if I select the app as the mock location provider in developer options it works great in all native apps but if I try using a web app that's using the html5 geo location API it fails. My GIS data acquisition app is web based and I need this to work! 回答1: I ran into this same issue and was able to get some help from Trimble: I'm

Jitter function on Geographic coordinates (Latitude/longitudes)

…衆ロ難τιáo~ 提交于 2020-01-16 08:36:34
问题 I have the following situation: I have a dataset where each row represent a student. Student_ID School_ID School_Lat School_Long 12221 14a -22.7324 -47.6533 12344 14a -22.7324 -47.6533 You can notice that if the student belongs to the same school, the school's geocod will be the same. I am trying to create a jitter effect in order to represent all the student in a map based on school id. Example: Instead of represent many dots into one single point in a map, I would like to create points

Processing twitter4j query with only Geolocation

ⅰ亾dé卋堺 提交于 2020-01-16 04:28:05
问题 Ok. Each time we get only 100 tweets. I want to show them on a map based on the Geolocation. Is there any way I can get 100 tweets that all of them have Geolocation. Because now only 3-4 out of 100 has Geolocation. I read some examples with FilterQuery but Processing throws me an error on it, as unknown. 回答1: Here is an working example. This was tested using twitter4j 4.0.2 The interface StatusListener is where you can do whatever you want with your tweets Kind of... is there that they arrive

How to get the coordinates of the blue dot in android maps v2

99封情书 提交于 2020-01-15 12:33:36
问题 On a Map I want to show the path direction from my location to a certain location. I have implemented the logic for drawing the path on the map already, but I have issues determinate my current location. I have being using new LocationClient for retrieving my current location just like it is described in this article: http://developer.android.com/training/location/retrieve-current.html , and i have read somewhere that the new maps API v2 is using the same technique for getting my location.

How to get the coordinates of the blue dot in android maps v2

喜夏-厌秋 提交于 2020-01-15 12:31:12
问题 On a Map I want to show the path direction from my location to a certain location. I have implemented the logic for drawing the path on the map already, but I have issues determinate my current location. I have being using new LocationClient for retrieving my current location just like it is described in this article: http://developer.android.com/training/location/retrieve-current.html , and i have read somewhere that the new maps API v2 is using the same technique for getting my location.

How can I get same search result as google map

让人想犯罪 __ 提交于 2020-01-15 11:08:27
问题 When I am searching "Rudy barber Shop, New York" string in http://maps.google.com, google map showing 10 results... But When I am using google map api in my App, It only returning two results http://maps.googleapis.com/maps/api/geocode/xml?address=Rudy%20barber%20Shop,%20New%20York&sensor=false Now my question is that how can get the same result. Thanks Mandeepd 回答1: I don't think you can get exactly the same results as in Google Maps. Google Maps is a whole application . It uses multiple

Why different requests return same geolocation with google geolocation api

孤人 提交于 2020-01-14 18:50:26
问题 I send two requests to google geolocation api: https://www.googleapis.com/geolocation/v1/geolocate?key=[mykey] 1st request: {"Carrier": "T-Mobile","CellTowers":[{"Age":0,"CellId":"39627456","LocationAreaCode":"40495","MobileCountryCode":"310","MobileNetworkCode":"260","SignalStrength":-95,"timingAdvance":0}],"HomeMobileCountryCode":"310","HomeMobileNetworkCode":"260","RadioType":"gsm"} 2nd request: {"Carrier":"T-Mobile","CellTowers":[{"Age":0,"CellId":"4912","LocationAreaCode":"20516",

Mapbox 'setMyLocationEnabled' doesn't work

我只是一个虾纸丫 提交于 2020-01-14 18:47:38
问题 I'm trying to enable a location in my mapbox map. However, the line mapboxMap.setMyLocationEnabled(true); fail and Android Studio gives the 'Cannot resolve method setMyLocationEnabled(boolean). I'm using MapBox version 6.0.1 (the latest) in my Gradle: // compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:6.0.1@aar') { // Map BOX transitive=true } When I switch to version 5.1.3 (which I had used in a previous app I made), Android studio detects the method, but on runtime the app throws the

PostgreSQL: ST_GeomFromText(unknown) does not exist

淺唱寂寞╮ 提交于 2020-01-14 18:46:10
问题 Here is the problem, I just installed PostgreSQL right now and try to build a geoloc database. For this, i installed the PostGIS extension and PostGIS_Topology. In my pgAdmin UI, i can see my model, my schema is "Geo" and I can see below, in the functions list, the postGis functions that are available (about 1000, see screenshot) Problem is, when I try to insert a new record in the database, Example: INSERT INTO "Geo".points(point, lat, lng) VALUES (ST_GeomFromText('POINT(42.555 32.222)'),'42

Mapbox 'setMyLocationEnabled' doesn't work

谁说胖子不能爱 提交于 2020-01-14 18:45:50
问题 I'm trying to enable a location in my mapbox map. However, the line mapboxMap.setMyLocationEnabled(true); fail and Android Studio gives the 'Cannot resolve method setMyLocationEnabled(boolean). I'm using MapBox version 6.0.1 (the latest) in my Gradle: // compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:6.0.1@aar') { // Map BOX transitive=true } When I switch to version 5.1.3 (which I had used in a previous app I made), Android studio detects the method, but on runtime the app throws the