Hot answers tagged

16

Here you find the map including the legend. The legend is in German, but I am German, so I tried to translate it as precise as possible. I think (and please @Giancarlo correct me, if you disagree): 1 is "Reichsstra├če, ausgebaut". That means a well-developed street. 2 is propably a sort of drainage system or stream (thank you @AndreJ). It is not named in ...


6

Here are some ideas. With base plot you can do plot(x, interpolate=TRUE) You can also resample your data y <- disaggregate(x, 5, method='bilinear') Or indeed smooth it using a focal operation y <- focal(x, w=matrix(1, 5, 5), mean) Or a combination y <- disaggregate(x, 5) y <- focal(y, w=matrix(1, 5, 5), mean) The question ...


6

German surveyors did everything according to rules. For the 1:100.000 Karte des deutschen Reiches, you can find it here: http://www.landkartenarchiv.de/deutschland_topographischekarte_1896_legende.php and http://www.davidrumsey.com/luna/servlet/detail/RUMSEY~8~1~215008~5501917:Legend-for-Karte-des-Deutschen-Reic #1 are major roads, no need for trees. ...


4

Your topomap is a SpatialLinesDataframe. geom_map is used for polygons. I suggest you use geom_path as below. It connects observations in original order. (geom_line would order by x value, which you also don't want). topo <- readOGR("public.geojson.json", layer ="OGRGeoJSON") topo <- spTransform(topo, CRS("+init=epsg:31983")) class(topo) #[1] ...


3

Yes. Data Driven Pages were introduced at ArcGIS Desktop 10.0: Data Driven Pages allow you to quickly and easily create a series of layout pages from a single map document. A feature layer, or index layer, divides the map into sections based on each index feature in the layer and generates one page per index feature. arcpy.mapping was also ...


3

If you can install Qgis in you computer, with the leaflet plugin you only need to do just load your layers into the software and export them with the leaflet plugin. Here is a useful tutorial: http://www.qgistutorials.com/de/docs/leaflet_maps_with_qgis2leaf.html It will work on local file system (bear in mind, this will generate a static map, if you update ...


3

You need to update your paths in the zoomed function. The original example does this on line 68. The simplest thing to do is to use the counties variable store a reference to the selection of paths: counties = topojson.feature(us, us.objects.barrios); counties = svg.selectAll("path") .data(counties.features) .enter() .append("path") ...


3

If you are looking for an interactive graphical view, mapview is the right choice. Use ## load packages library(raster) library(mapview) ## download data esp <- getData(country = "COL", level = 1) ## interactive plot mapview(esp) to display clickable polygons with a popup window showing you all the attribute values associated with a particular ...


2

Although it is quite a long-winded approach, I came up with a solution which allows the user to display red-green-blue 'RasterStack' objects created from the initial 'ggmap' object using ggplot. But first things first, here is what I did. First of all, I forked the read-only mirror of ggmap hosted on GitHub and, in order to retain the original source code, ...


2

My usual method is to use the convert utility from either ImageMagick or GraphicsMagick to convert a sequence of still images from a variety of formats, including PostScript, and output a variety of other formats, such as an animated GIF or MNG. For example, from a directory with several PostScript files, make an animated GIF with 0.2 seconds between each ...


2

Model builder, to my knowledge, does not expose the data driven pages functionality that you access on the toolbar. If you want to automate map output with data driven pages then you must use python and arcpy. Search help for DataDrivenPages (arcpy.mapping). From this page there is also a link to building map books.


2

So far I have found only one fairly decent looking workaround: The packcircles R package may have been designed for another purpose, but it does a nice job pushing the points away from each other (also see corresponding blog post). I might not understand all of the inner workings of this package, but luckily, as you will find, the example file from the ...


2

If you open the layer properties dialog and navigate to Labels -> Rendering there should be an option that reads "Merge connected lines to avoid duplicate labels". This has usually helped me in the past. However, I've still had times where the labels were still not cleaned up enough. I tend to store my data in PostGIS so in these cases I write a view which ...


2

One particular example which takes into consideration size as well as cultural and social relevance is this map of Detroit which has made the rounds for several years: In this example, we cast our doubts about projections aside, and can focus on the meaning. In the case of Detroit - just how big is it? We all know how big the cities of Boston, New ...


2

You are creating a new empty graphics layer gl but when you then call map.removeLayer(gl) it won't do anything as that new empty layer hasn't been added to the map yet. I'm guessing you wanted to remove the graphics layer previously created. You could do this giving the graphics layer a specific id when you create it, and then retrieving that existing ...


2

Take a look at OpenRouteService.org. This OSM-based routing engine has a heavy vehicle profile, where you can specify dimension limitations (e.g., length, width, height, weight) or load characteristics (e.g., hazardous materials) of a heavy vehicle. The API is described on the wiki.


2

If you intent to create a derivative database then you have to share parts of your work. For more information read the Legal FAQ, especially section 3. And ideally contact your lawyer.


2

If you reproject a raster with labels, you will obviously get squeezed labels. The only way to avoid this is to render the raster from vector data directly into the desired projection. You might want to look into mapnik, tilemill or maperitive to do this from Openstreetmap raw data (which is vector data). The R openstreetmap package only offers raster ...


1

is a road (in large scale old maps it is common to have trees on the road) https://upload.wikimedia.org/wikipedia/commons/f/f7/Hyde_Park_London_from_1833_Schmollinger_map.jpg or http://4.bp.blogspot.com/-1EaS0FFovLs/T1eo3mLLjJI/AAAAAAAAAwg/W-dqlHY3sxs/s1600/Monkey+Puzzle+Tramore+Road+old+map.jpg are most likely foot paths, maybe canals, but they are def ...


1

Since you reached out, I'll add WhirlyGlobe-Maply to that list of SDKs. Directly loading PDF is not really a thing my SDK does either. I'd recommend breaking the data apart a bit. How much depends on what parts need to be interactive. On the easy side, if you need very little interaction, you can turn it into tiled images. One the harder side, if you ...


1

I found a simple solution utilizing the "request-json" package: var request = require('request-json'); var client = request.createClient('https://cartodb.brighterdevelopment.com/user/demo-admin/api/v1/map/named?api_key=api_key_here'); client.post('', named_map, function(err,body) { //do something });


1

It depends on the map projection. If both the source of country polygon, and the overlay/basemap are using equal area projections (which are not common, especially on webmaps) then yes a size comparison is 100% fair. Otherwise, no, different amounts of areal distortion are found at different parts of the globe. Further reading: ...


1

I have used this company before for printing both large scale maps for wall hanging (government maps) and for producing mailers that went with a specific public works campaign. They meet all your criteria. Our experiences were just fine but we had completed all the design work ourselves and were simply having things printed in formats and in quantities ...


1

The best option for a world map free software for me was NASA blue marble. http://visibleearth.nasa.gov/view_cat.php?categoryID=1484.


1

The area will be in the units of your map projection. Default is EPSG:3857 -> meters map.getView().getProjection() will get your the information


1

For place names and admin boundaries, try NaturalEarth. They also have natural features like lakes and rivers. Another good source is geonames.. these come as csv files which you can import into qgis as point layers. They include a mixture of towns, villages but also geographic features like lakes and mountains. OpenStreetMap is also a good source, and the ...


1

There are several free sources like http://www.statsilk.com/maps/download-free-shapefile-maps http://www.mapcruzin.com/free-world-country-arcgis-maps-shapefiles.htm http://www.gadm.org/ You can download them,add to shape files and display labels.


1

The following code might seem a little long-winded as it represents a manual approach rather than relying on OpenStreetMap, but maybe it's of any help to you anyway. I took the country boundaries and the referring country labels from the wrld_simpl dataset (class 'SpatialPolygonsDataFrame', projected in EPSG:4326) that comes with maptools. The shapefile data ...


1

Hornbydd is correct. There's an out of the box tool to do this called data driven pages. Data driven pages is based on the old school DS Map Book. It gives you the ability to make a map book series and strip maps. There's a handy cartography tool box with a tool for building a polygon index grid over data (like your lines), this in turn can be used in data ...


1

If those "strange" coordinates do not fit to Gauss-Krueger coordinate systems, they might be similar to the "preu├čisches Koordinatensystem". You will find some links to that in my answer to Conversion of coordinates of "Bochum coordinate system" You have to put up a custom CRS on the point "Trockenberg" in Cassini-Soldner projection, which was ...



Only top voted, non community-wiki answers of a minimum length are eligible