Tag Info

New answers tagged

1

Assuming that white areas are small polygons ( if not they can be created) repeating Spatial join of whites with colored (share boundary with option, one to many) might work. After first join assign to white color of first colored. Append colored with subset of assigned whites. Remove subset from whites, etc. You might want to sort colored first, to set a ...


2

You might try Aggregate Polygons. It is located in the Cartography Toolbox, Generalization toolset. This requires an Advanced ArcGIS license. http://resources.arcgis.com/en/help/main/10.2/index.html#//00700000000s000000


2

If you're actually exporting maps in different projections, as your first sentence says, the maps probably won't line up even at the same scale. Different projections have different distortions of shape, area, distance, and direction. Sometimes it's subtle, and sometimes it's extreme. If you're actually using the same projection and just want to create an ...


7

I think the simplest way to achieve what you are describing is by using Spatial Bookmarks: A spatial bookmark identifies a particular geographic location that you want to save and reference later. For example, you might create a spatial bookmark that identifies a study area. As you pan and zoom around your map, you can easily return to the study ...


0

I mean, this is kind of close: from shapely.geometry import Polygon, Point from rtree import index cdat = {'UR_Lon': 39.44, 'LR_Lat': 18.89, 'LL_Lon': 10.69, 'LL_Lat': 21.95, 'UL_Lon': 12.87, 'LR_Lon': 33.02, 'UL_Lat': 40.28, 'UR_Lat': 36.44} PX_Lat, PX_Lon =28.55, 23.39 # List of non-overlapping ...


0

I'm not entirely familiar with the android API, but in the JavaScript API, there's a function that allows you to take an array of graphics and extract the bounds of all returned features as if it were a single feature, then use a centerAndZoom() method to zoom the map to the graphic. Maybe the Android API has something similar?


1

Perhaps you may need to think through the data type for sites. What is it for? It seems that geometry is defined as geometry(PolygonZ,4326), which I think is a bit silly. A polygon could be expressed as a 3D object if all the linear rings are coplanar (like a triangle or a lake). However, if it were, for example, the border of Nepal, why keep elevations ...


1

You can use St_GeomFromText to add geometries in WKT format UPDATE sites SET geometry = st_geomfromtext('POLYGON((0 0, 1 1, 2 2, 3 3, 0 0))') WHERE ID = 1123


1

You may want to use the ST_Envelope() function. Specifically, see the 2nd example using a LINESTRING geometry. Given a LINESTRING composed of two vertices that represent your points, you should be able to get back a Polygon geometry which might be more useful to you.


-2

I have figured it out. There is a tool in geoprocessing>environments>Processing extent. This allows you to snap raster to another one, meaning it forces one raster to align with another, creating two layers that have the same decimal places and extent.


0

QGIS does not appear to have direct functionality to clip a vector layer by the extent of a raster layer. You can only clip by another vector layer. However, you can use the plug-in Image Boundary to create a polygon that matches the boundary of the raster layer. With that in hand, you can use Vector->GeoProcessing Tools->Clip to clip the vector you're ...



Top 50 recent answers are included