I just started play with RgoogleMaps http://cran.r-project.org/web/packages/RgoogleMaps/RgoogleMaps.pdf and it seems really cool, but it seems like there is a limitation in the GetMaps() path option. It looks like (and I might be wrong) a url is sent to the google static maps api and a png file (or something) is download, so the url limit limits the size of the path you can have in your "map.png". But I'm wondering if it would be easy to edit the png afterward creation or in an intermediate processing step in order to have long paths? Does anybody know how to do this in r? The package seems to give a function that maps XY coordinates to png raster. And if you haven't noticed I'm far from an expert in png files, so if there is something simple that I'm missing please be gental.
R google maps, adding longer paths
939 Views Asked by csta At
1
There are 1 best solutions below
Related Questions in R
- in R, recovering strings that have been converted to factors with factor()
- How to reinstall pandoc after removing .cabal?
- How do I code a Mixed effects model for abalone growth in Aquaculture nutrition with nested individuals
- How to save t.test result in R to a txt file?
- how to call function from library in formula with R type provider
- geom_bar define border color with different fill colors
- Different outcome using model.matrix for a function in R
- Creating a combination data.table in R
- Force specific interactions in Package 'earth' in R
- Output from recursive function R
- Extract series of observations from dataframe for complete sets of data
- Retrieve path of supplementary data file of developed package
- r package development - own function not visible for opencpu
- Label a dataset according to bins of a histogram
- multiply each columns of a matrix by a vector
Related Questions in GOOGLE-MAPS-API-3
- how show result the autocomplete in the map in CodeIgniter Google Maps V3 API Library?
- google maps api zoom don't work
- Accessing Google Maps Markers in 2D-array from outside
- kmllayer with polygons hide map
- How to specify the delay for the google map marker
- Google Maps API v3 - change strokeWeight of polylines for different zoom levels
- Pop-up info box in google maps
- Google Map API Custom Marker Image
- Add Google map or bing as base layer in ArcGIS api for android
- Search Form for Google Maps, using a multiselect dropdown
- How to place group of markers with transition effect?
- Google maps API v3.0 - Showing distance and estimated time above direction path
- Using Mapstraction and Google maps API - map not showing
- Custom Google Maps Search Box not Localizing returns upon [Enter]
- Google Maps Drawing Tools: Route path between points using Directions API
Related Questions in PNG
- Understanding the function of this particular 9 patch image
- How can I convert PNG to GIF keeping the transparency?
- Conversion from MathML equation to flash?
- Overlay image in ts file
- gnuplot png white on black
- Using R to convert png files to animation
- PNG transparent backgrounds appearing black when using Android Studio
- Post png image to pngcrush with Ruby
- Skip bytes in ByteArray Java
- Random Line Appearing on Moving Texture Node
- How do I grep GZ files to extract PNG files?
- png uncompressed by CGContextDrawImage is different from orign png image in xcode
- Why the first byte of .png file is 0x89?
- worklight server preview wont show png resources anymore after configuring it to serve svg
- Android: Embedding a compressed image inside a PDF document
Related Questions in GGMAP
- Plotting in R 3.1.2
- how to handle error from geocode (ggmap R)
- Making a zip code choropleth in R using ggplot2 and ggmap
- Previously working ggplot2 script now returning fatal error at fortify
- How to plot data points at particular location in a map in R
- Plot two sets of coordinates on geographical map
- Move part of map in R's ggmap
- R stops displaying maps
- Multiple panned maps of various sections of the city with ggmap
- How can I include a reference table or legend for a geom_point geographical map?
- How do I specify the color of ggmaps points based on column data?
- Error grabbing OSM with ggmap and R
- Can you stack two different ggmap maps?
- Spliting the location column into Zipcode, Latitude and Longitude
- Plot contours by groups on map with ggmap/ggplot2
Related Questions in RGOOGLEMAPS
- Multiple panned maps of various sections of the city with ggmap
- Add points to RgoogleMaps plot
- Add image plot to RgoogleMaps plot
- PlotOnStaticMap (R package RgoogleMaps) doesn't work with old version
- PlotOnStaticMap error: Error in points$Tile[, "X"] : subscript out of bounds
- printing output of google geomap as image using R
- R google maps, adding longer paths
- Legend on RgoogleMaps?
- RgoogleMaps PlotOnStaticMap not adding points to png fiile
- Rgooglemaps PlotOnStaticMap Not Scaling with GetMap SCALE parameter
- Importing a Terrain type Google API static map into R without labels
- Plotting z as a color with R on a rGoogleMap
- cannot plot negative longitude values in PlotOnStaticMap in R
- Rgooglemaps not plotting data over the map
- Offline R map with RggogleMap and Leaflet
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Update
optsis deprecated; usethemeinstead.If you're prepared to work in
ggplot2, theggmappackage makes the adding of layers to a map easy. Theget_map()function below fetches a satellite googlemap of the National Research Institute in Port Moresby, PNG. Theggmap()function draws the map, then adds a text annotation, a line segment annotation, and a title. But other geoms can be added just as they would be to a regular ggplot graph. Thegglocator()function works in a similar way tolocator()in base plots.lonandlatare the coordinates for the centre of the map, but the location vector can be given the boundaries of the map. I played withzoomto get the right resolution.