maps

How to find the route between two places in BlackBerry?

人走茶凉 提交于 2019-11-29 11:42:15
How do I find the route information between two places in BlackBerry ? I'm using MapField to show the map in my application. Maksym Gontar As I understood, you need to get a path length between several locations. It's not possible in MapField, you can only set that route by yourself. Invoke BB Maps for route direction You can always use MapField in you application for simple functionality, like present locations, and use BlackBerry Maps application for enhanced stuff like select locations and route directions presentation for user. To invoke BB Maps for route direction use code: Invoke

Using [R] maps package - colouring in specific nations on a world map

折月煮酒 提交于 2019-11-29 11:01:14
I'm trying to create a world map and color certain nations. Basically, I would like to highlight some countries in red and other countries in blue. If someone could help me generate the basic [R] code for this, I would be very thankful!! If you are not hooked on using the maps package, the object wrld_simpl in the maptools package can make producing this sort of map pretty easy. Here, to get you started, are a few lines of code that produce a world map in which nations whose names start with the letter "U" are colored in red: library(maptools) data(wrld_simpl) plot(wrld_simpl, col = c(gray(.80

Choropleth maps: changing stroke color in `mouseover` shows overlapping boundaries

南楼画角 提交于 2019-11-29 10:47:08
问题 I have a problem with mouseover events in choropleth maps. I would like to highlight the boundary so that the user can see the currently selected feature. That all works fine expect that some of the boundaries are much thinner or do not exist at all presumably because they are rendered below the boundary of an adjacent feature. Here is an example: Some of the boundary is correct, other parts are thinner and a third part does not exists at all. The recent NYT maps from Mike Bostock et al

Limit Scrolling on offline maps, in Android

本秂侑毒 提交于 2019-11-29 10:01:24
问题 I got these piece of codes or patches from osmdroid, and I decided to ask for your help guys because i don't have the enough knowledge to combine these codes to come up with on a solution on my problem, Scrolling limit on an offline map. I searched across the web, and modified tutorials. Honestly I tried to modify these codes but i have not found any progress. Basically I have an offline map from mapnik, and a few overlays. I don't know where to properly place these set of codes. Your ideas

Canadian census map division in R

久未见 提交于 2019-11-29 08:34:18
I'm very new to R and to mapping, and I would like to create a map of certain data. I have a set of data named "D.Montreal" which shows which canadian census division visitors to Montreal came from in 2010. I would like to create a map using this data to show how many people came from different regions, maybe by coloring the map in different colors depending on the number of people. Is there a package I can use to have the delimitations of census divisions in Canada? So far, I've made the outline of Canada : map("worldHires","Canada", xlim=c(-141,-53), ylim=c(40,85), col="grey90", fill=TRUE)

Android Google Maps onMapReady store GoogleMap

旧街凉风 提交于 2019-11-29 07:53:13
i have an android app in development, which uses this google maps api v2. To get an instance of the google map im using the onMapReady callback . In this callback i get an instance of the google map, can i store this instace local an reuse it, without getting a new one every time i have to update the map? Or is there any issue with reusing this instance over time? I just like to get sure that there is nothing with which i could get into problem. Thanks for your answers! Yes, you can store an instance of the Google Map reference, and re-use it just as you would if you called getMap() instead of

Android Google Maps onMapReady store GoogleMap

Deadly 提交于 2019-11-29 07:51:22
i have an android app in development, which uses this google maps api v2. To get an instance of the google map im using the onMapReady callback . In this callback i get an instance of the google map, can i store this instace local an reuse it, without getting a new one every time i have to update the map? Or is there any issue with reusing this instance over time? I just like to get sure that there is nothing with which i could get into problem. Thanks for your answers! Yes, you can store an instance of the Google Map reference, and re-use it just as you would if you called getMap() instead of

Google Map V3 .png groundoverlay opacity

不羁的心 提交于 2019-11-29 07:44:52
I have created my first Google Map API with png overlays (thanks to @andresf for assistance). This map has multiple png ground overlays adjacent to each other and can be seen at http://www.earthstation.mobi/coverage.htm Question: How do I set the opacity (transparency?) on each overlay so that I can see the map detail under the overlay? I do not need to adjust this from the webpage, a preset coded into the script will suffice. The code of the page listed above is: <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3

How can I plot a continents map with R?

跟風遠走 提交于 2019-11-29 07:01:44
There are many solutions to plot maps at country level, but in my case I want to print statistics at continent level. The only thing that comes into my mind is to use the country level maps and use a list of countries for each continent, but I was wondering if there is any simple solution for this kind of maps. To implement my idea it would be like this: ## produce the world map map() ## list of countries per continent SA <- c("argentina", "bolivia", "brazil", "chile", "colombia", "ecuador", "guyana", "paraguay", "peru", "suriname", "uruguay", "venezuela") map(regions = SA, fill=TRUE, add=TRUE

Faster R-CNN、SSD和YOLO

╄→гoц情女王★ 提交于 2019-11-29 06:31:10
最近做一些关于Faster R-CNN、SSD和YOLO模型选择和优化的项目,之前只了解Faster R-CNN系列目标检测方法,于是抽空梳理一下这几个检测模型。先上两张简单的精确度和运算量的对比图,有个粗略的了解,虽然图中缺了YOLO,参考价值仍然很大: 下面开始分别详述吧~ Faster R-CNN架构 传统目标检测方法大致分为如下三步: 深度学习特别是CNN的出现使得上述第二三步可以合并在一起做。Faster R-CNN步骤: (1)由输入图片产生的区域候选 (2)最后一层卷积输出的所有通道 (2)最后一层卷积输出的所有通道 pooling=> + (3)ROI pooling 候选区的产生 RPN的核心思想是使用卷积神经网络直接产生region proposal,使用的方法本质上就是滑动窗口。RPN的设计比较巧妙,RPN只需在最后的卷积层上滑动一遍,因为anchor机制和边框回归可以得到多尺度、多长宽比的region proposal,3*3滑窗对应的每个特征区域同时预测输入图像3种尺度(128,256,512),3种长宽比(1:1,1:2,2:1)的region proposal,这种映射的机制称为anchor: RPN 利用基网络对图像用一系列的卷积和池化操作进行特征提取,得到原始的feature maps(灰色区域),然后在原始的feature