I need to create a mask to cover the rest of the world outside of a single city. ().  I've been told by support to open those boundaries "create a new geospatial file that would be made up of a rectangle that covers the whole earth with a hole in the shape of your city in the middle."   From there, I need to upload that file to Mapbox Studio and add it to cover the rest of the world outside of my city. I'm looking to style OpenStreetMap in Mapbox afterwards for that city. So this is a workaround for not being able to edit a single city in Mapbox Studio.  How would I create this mask?
7068
I'm using python in QGIS. I have a layer of polygons (its a result of some earlier dissolving and has no overlapping polygons but some holes and islands in holes etc). I want to build a new layer which contains one polygon representing a bbox of the first layer with each polygon cut from it.  Essentially I want to "invert" the layer I have so that where the was polygon, now there is not, and where there was not polygon now there is. All inside a bounding box of the original layer.  I can build a bbox easily and I tried to "subtract" the polygon layer from my new bbox polygon layer but the process slows to a stop and then crashes my PC. Here's the algorythm  processing.runalg("qgis.difference","path/to/polygon.shp","path/to/bbox.shp","path/to/result.shp")   I dont care about attributes (obviously). I just need to cut one set of polygons from one larger polygon.  It seems so simple, I wish I could find a simple command or script to acheive this. As stated at the top I'm looking for a solution in python in QGIS.
25661
I'm currently trying to download data from OpenStreetMap specifically from San Carlos, Venezuela. I'd like to take the OSM file and convert it to SHP for use in ArcGIS.   I've used geofabrik for other country's in the past, but Venezuela is not available for download. Exporting a bounding box of the city directly from OpenStreetMap, then using OpenStreetMap Toolbox to convert the OSM to SHP gives me the lines but it's missing street names and city. Ideally I'd have addresses as well, but I can live with just street names.  Is there any way to achieve this? Export all streets within a city from OpenStreetMap, then convert it to SHP with city and street name attributes?
21188
I've created a GP tool using ArcGIS that creates an "area of interest" mask from selected features.  Effectively it creates a new donut polygon layer where the hole was the previously selected features.  Can I replicate this task in QGIS?  Example: For a specific map, I want to highlight a county within the state and mask the rest of the state and features outside the county with a gray, semi-transparent polygon layer above.  Conceptually I would do it similar to this.   User loads state, county, and river layer User selects county of interest Run a utility (if it exists) that exports all of the unselected features to a donut shapefile without the originally selected polygon.  If this layer mask was an "in memory" layer only available to QGIS, that would be just fine, too, maybe even better.   Does this type of tool or capability already exists within QGIS or will I have to write this as a custom function?  Here is how I did it in ArcGIS with ModelBuilder and the result I would be looking for, where the yellow layer and river layer exists statewide (all the way across the image), and the gray layer is transparent with a "donut hole", allowing the bright yellow portion to display through and draw the viewers attention the the area of interest:
109294
What I want to do is to fill a polygon (country) with a graphic file in any format (jpg., bmp., png.).  It should look like this:     I'm aware that GIS soft is not proper for such a operations but maybe is there any option to do it only in QGIS.
112601
I've just posted this at StackOverflow and someone suggested I try here. Original:   I'm trying to represent a rectangular area which crosses 180 degrees longitude. For more background see   Here's my test case:  from django.contrib.gis.geos import Polygon, MultiPolygon from my_project.my_app.models import Photo  a = Polygon.from_bbox((30, -80, 180, 80))  # the part to the east of 180 b = Polygon.from_bbox((-180, -80, -160, 80))  # a part to the west of 180 c = Polygon.from_bbox((-180, -80, -100, 80))  # a larger part to the west of 180  ok   = MultiPolygon(a,b) ok2  = MultiPolygon(c) boom = MultiPolygon(a,c)  # This works Photo.objects.filter(location__coveredby=ok)[:1] # This also works so c is ok Photo.objects.filter(location__coveredby=ok2)[:1] # This gives "BOOM! Could not generate outside point!" Photo.objects.filter(location__coveredby=boom)[:1]  # splitting c doesn't help c1 = Polygon.from_bbox((-180, -80, -140, 80)) c2 = Polygon.from_bbox((-140, -80, -100, 80)) test = MultiPolygon(a,c1,c2) Photo.objects.filter(location__coveredby=test)[:1] # BOOM! Could not generate outside point!   By changing the numbers I can make this error come and go. (-180, -80, x, 80) works where x &lt;= -140 for example. For every number there is a threshold like this but I can't find a pattern. For boxes with the same area, some will work and others not. For boxes with the same width some will work and others not.   I can look at the SQL being generated but the areas are represented in binary (EWKB) and I'm not sure how to read it.  Can anyone explain this?
68916
When you add a new mesh, the overlay appears in the bottom left of the screen allowing you to change certain properties. Recently, however, when I try to click on any setting, the box disappears. I've tried clicking, dragging and any combination of both, but the overlay doesn't respond and vanishes as soon as you release the mouse button.    Obviously you only get one chance to change these properties - so I'm stuck without it.  Could an add-on be causing the problem?
407
A reverse clip saves only the part of your spatial object that is outside the bounds of another object, as opposed to a regular clip which saves the parts that are inside the other object.    shows how to do it in ArcMap.  How do I do this in R?  Reproducible example (on Linux machines):  system("wget 'https://github.com/Robinlovelace/Creating-maps-in-R/archive/master.zip' -P /tmp/") unzip("/tmp/master.zip", exdir = "/tmp/master") uk &lt;- readOGR("/tmp/master/Creating-maps-in-R-master/data/", "ukbord") lnd &lt;- readOGR("/tmp/master/Creating-maps-in-R-master/data/", "LondonBoroughs") plot(uk) plot(lnd, add = T, col = "black")   What I want here to do is to save all of the UK except for London. Visually, I want the black shape in the resulting image to be a hole.
91538
I have a Shapefile with Polygon features  representing the world's land areas (continents, islands).   Is it possible to invert these, and get a geometry that represents the world's oceans and seas?   So the original land Polygons need to become rings in a single global Polygon that covers the planet.  Basically, I'm looking for something like Select > Inverse in Photoshop.   I am using QGIS.
104565
Where is the ArcGIS 10 tool for creating a shapefile from current dataframe extents in layout view?  Have looked around and the closet thing i can find is Toolbox's Grid/Strip Map Index tools under Data Drive Pages.  I just want to be able to create a single polygon rectangle shp file based on the data frame (in layout view) for any given scale / page setup.
120421
Working with QGis and data from Natural Earth I would like to prepare a world map (1:50 000) for a globe that can be printed in 6 segments, which glued together build a ‘sphere’ (ball) according to the following graticule:    What projection would you recommend (Winkel tripel?) and how can I export the result (probably segment by segment?) via the print composer to a vector graphic program that allows me to generate the final printing layout (CMYK)?    I am not (yet) an experienced GIS user; the result will be used as teaching aid in poor South American schools.
47516
In the drawing you see five paths (orange pink green blue and red), which define the boundaries of 4 regions (a b c and d).  I now want to create those regions so they are fillable, and without crazy "op-art" effects due to differing directions. For instance, to create region b, I need to use the pink path (which is shared with c), the green path (shared with a) and part of the blue path (shared with d).  What is a process for doing this that is efficient?  My actual drawing has dozens of regions and I'd like a process that doesn't take a week.
114491
In ArcMap a Map Book is best suited for a series of features that each get their own page. It allows you to pick a feature and generate a Map Book Page for each feature including any additional information you wish to add to each page via dynamic text, charts, etc. Is there an alternative for say a series of pages showing the EXACT same area but with different layers turned on and off? We have a Capital Improvements document that I have to create showing the City Boundaries on every page. One page has all police and fire stations listed, another shows proposed water systems, another shows expressways and highways and work being done near or on them... etc., ad nauseum. Is there some way to set this up so that I DON'T have to created a separate MXD for each Map Page of this document?
54757
I have a big map with isometric tiles(3d camera), how can i draw only visible tiles ?  Whats the best way to do that ? space partitionning (octrees etc...)?
121131
I have added vector layer to map:      vactorTest = new OpenLayers.Layer.Vector("Editable Features", { strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy], projection: new OpenLayers.Projection("EPSG:900913"), protocol: new OpenLayers.Protocol.WFS({     srsName: "EPSG:900913", url: "http://localhost:8080/geoserver/wfs", featureType: "ROADS", featureNS: "http://localhost:8080/MIA", featurePrefix: "MIA", geometryName: "GEOM", version: "1.1.0" }) });  map.addLayer(vactorTest);   And then, added polygon draw control:  var drawPolygon = new OpenLayers.Control.DrawFeature( vactorTest, OpenLayers.Handler.Polygon, { title: "Draw Polygon", displayClass: "olControlDrawFeaturePolygon", multi: true } );   with drawn polygon I want to filter layer:  testLayer.mergeNewParams({     "CQL_FILTER": mergeFilter });   I use within filter:   WITHIN(GEOM, POLYGON((4693721.49445 672633.89194, 4560244.10812 322255.75282, 4703732.29843 422363.79257, 4693721.49445 672633.89194)))   target layer is in Georgia, and if I draw polygon near Italy then, filter works.  How can I change vector projection like my layer to get right result?
24564
I have a brick wall that I am trying to add a door to. I have already UV mapped it, so when I move the loop cut to the right height, it distorts my UV map. How can I avoid having to unwrap it again?
3177
I want to start working on a web map at work to map some of our statistics by city.    I have an idea, but I'm not exactly sure where to start.   Are there any definitive resources that provide step by step guidance on how to do this?
46779
I used a  for Photoshop, and was able to create some boxes with it. These boxes were shaped in the form of Software Boxes, while I require Customized Dimensions Boxes, which currently I'm trying to create with .   This software creates a box with no Reflection, and I disabled shadows in it, cause it doesn't allow transparency while saving to png. It allows custom dimensions, rotation, etc settings, but doesn't save transparency or reflections.  Here's the difference in output from both the above mentioned apps.. I'm trying to get the reflection + shadow in the 3D box Generator to the Protomissume generated image.   My question: How can I create similar Reflection &amp; Shadow in Photoshop?   Images:  3D Box Generator   Protomissume Box Shot   Thanks for any help.  Here are the Box Shot images (Photoshop, Protomissume) :  [  ]