Questions tagged [order]

for questions relating to the display or drawing order of data

Filter by
Sorted by
Tagged with
6
votes
2answers
127 views

Getting an ordered list of id's of selected objects using PyQGIS

I am trying to get the ids of the objects of my selection. The list should be ordered from my first selected object to the last selected object. I do not have much experience with using SIGNAL and ...
6
votes
1answer
171 views

Changing vertex order for polygons in QGIS?

I have this intersection of a polygon, see image below I would like to redraw the lines so they don't cross each other. So, in the end, I would like to have a polygon without self-intersecting parts....
2
votes
1answer
73 views

Find order of points along polyline

I have a points layer with random points located along a route (polyline layer). I was wondering if there is a simple way to give a sequence number to each point in the order they show up along the ...
4
votes
1answer
66 views

Changed attribute order of PostGIS layer in QGIS

I'm working in a PostgreSQL table (PostGIS) that I loaded into QGIS. This layer has been created by a SQL Statement in pgAdmin. I noticed that the order of attributes shown in the attribute table ...
1
vote
2answers
88 views

Change rendering order of objects in MapInfo table?

i have one big MapInfo file where i did a lot of digitizing work. Now i have the problem of disapearing points under polygons (or polygons under polygons, lines under polygons etc.). How can i ...
0
votes
0answers
16 views

Lizmap Relations Sort

I am using Lizmap Atlas function on a layer with clusters. A 1-M relationships allows me to link a certain number of sites through this cluster in the atlas. I am wondering if I can sorter the order ...
0
votes
2answers
76 views

Removing overlapping polygon parts in sequential order using ArcMap

I have 500 polygons in a feature class. There are a lot of overlapping polygons and I need to remove these overlapping areas according to three criteria. What we do now: we have a column with the ...
1
vote
1answer
47 views

Polygon node order will not correct [duplicate]

I've got a few polygons (they were previously one multipolygon) which seem to insist on having an anticlockwise node order. As such, when running through various operations in SQL, they throw out the ...
2
votes
0answers
26 views

Using level information from OpenStreetMap to show roads / tunnels / bridges in right level? [duplicate]

OSM has information about the levels of road segments for example road crossing railway. It is possible to order layers dynamically from the level attribute? I only found one possibility in QGIS ...
1
vote
0answers
29 views

GeoServer-Mviewer : point layers over surface layers

I am working on an interactive map designed under Mviewer package and using GeoServer to save symbols and layers. I have a specific issue on it: I managed to generate all layers correctly in my ...
4
votes
2answers
684 views

Sort data in an ascending order based on the geometry of an sf object in R (Sort by Lat/Long)

I am trying to sort my data based on the latitude and longitude. I have an sf object in R, which essentially stores the latitude and longitude as a separate column called geometry. See below: > ...
0
votes
1answer
160 views

r - turn off automatic ordering of linestrings when applying sf::st_intersection

This question is about how while using sf::st_intersection on a LINESTRING and a set of POLYGONs to get several LINESTRINGs in the CORRECT order. sf::st_intersection automatically orders the newly ...
1
vote
0answers
168 views

Selecting features in order using python in QGIS [closed]

I am building a plugin in QGIS 2.14 that takes a selection of lines and creates one followong the path of those lines already selected. My issue is that the traditional selection does not respect the ...
0
votes
1answer
747 views

Darken the whole map except a specific rectangular area

I want to darken the whole world map except for a specific rectangular region. I create two layers: a darkOverlay, and a highlightedLayer My darkOverlay is as follows: var darkOverlay = new ol....
2
votes
2answers
516 views

Render polygons ordered by size

How can I merge shapefiles in a special order in QGIS? What I have and what I need to be merged in that order: What happens when using merge by mmqgis: As u can see not usable at all. Attributes are ...
2
votes
0answers
178 views

Postgis List of adjacent LineStrings ordered sequentially from one end of the MultiLineString to the other

I have LineStrings that represent a road network/address centerline that are segmented at intersections, etc. I have determined how to query collections of LineStrings that are adjacent to each other ...
1
vote
2answers
504 views

Layer Order in Pop-up information - ArcGIS Online

Is there a way that I can choose the priority on how the pop-up window shows on ArcGIS Online? For example, I have 2 layers named Active Country and Inactive Country. In my current data, I have 2 ...
-1
votes
2answers
483 views

Order list of rasters R [closed]

I have some raster files which names are Band_2..., Band_3... etc. I want to order them from the minimum number (2) to the maximum (12). Here is the code I am using S2_masked<-"/2_1_R_Processed/...
6
votes
0answers
493 views

PostGIS (Postgres 9.6) - order bounding box query results by date (large table)

I'm querying database entries using a bounding box with ST_MakeEnvelope and intersecting that with a coordinates column (type GEOMETRY), consisting of simple POINT(lng, lat) entries. I've created a ...
4
votes
1answer
499 views

How to sort the order of track points?

I have a shapefile, which contains track points of a gpx file. Every track point has a number in its "number" field that tells the numeric name of the track the point belongs to. So points are ...
3
votes
1answer
398 views

Pyshp draws polygons out of order after intersection of two shapefiles

I have two shapefiles. One contains electoral borders but not coastline and the other contains provinces and coastlines. I am plotting the electoral districts using Python's pyshp and filling in the ...
3
votes
0answers
300 views

Change the pop-up order of overlapped points in Portal for ArcGIS / ArcGIS Online [closed]

For maps on ArcGIS Online or ArcGIS Portal, is there any way to decide the pop-up display order of multiple completely overlapped points? For example, two icons having the same Lat & Long in the ...
3
votes
1answer
2k views

Subset and sort a SpatialPolygonsDataFrame object by one variable

I took a sample of a spatial polygon dataframe with 2256 elements using: valdata <- ref_10[sample(ref_10@data$ID, length(ref_10)/3),] now I would like to sort my new spatial dataframe by my ID-...
1
vote
0answers
220 views

Mixing WMS and vector layers' order

It looks to me that I cannot mix WMS and vector layers' order in OpenLayers 2. I have an ordered map.layers object and assign z-index values to the layers based on order in the object, for example, ...
4
votes
1answer
299 views

Assign order number in which line intersect polygons

Is there any tool (plugin) for QGIS to assign order (sequence) number of line intersecting through polygons? At this moment I use a bit cumbersome solution which works but... I use Qchainage plugin ...
2
votes
1answer
326 views

Reordering vertices on a polyline (route)

I have a route in which the second vertex is in the middle of the line. Route is about 130 miles long. This is preventing me from recalibrating. Is there any tool that will re order or sort all the ...
2
votes
1answer
807 views

Setting (above/under) priority order of layer in leaflet

When I add a layer in leaflet it stays automatically above all layers I want layers to be ordered wich one stays above the other in way that last added layer will not stays above and hide the other ...
3
votes
1answer
696 views

Postgis query to sort geometries by latitude

I am looking for an efficient way to get geometries sorted by their latitude (northmost in case of polygons) when querying a postGis database Something that could work in an order by clause which ...
2
votes
0answers
55 views

Adding layers in QGIS with predefined order in TOC and also make some of them to have visibility turned off when added

I am working on a project and I have a lot of shapefiles with the same name but with different data and when I add them to QGIS they are sorted randomly in TOC (Layers Panel). Can I configure their ...
2
votes
1answer
196 views

Bring a list of unsorted linestrings in order so that they form a path from origin to destination

I have a table of linestrings together with some attributes that, when displayed all at the same time, represent a connected path from an origin to a destination (each linestring has one predecessor, ...
1
vote
0answers
140 views

Looping spatial join in arcpy - order problems [closed]

I developed a python script where the user inputs a polygon shapefile multiple point shapefiles and within the script the polygon shapefile is divided into 1000mx1000m grid cells and the point ...
3
votes
2answers
220 views

Change map element order in ArcPy

I am trying to change the order of text elements through arcpy, such as sending them to the front or to the back. I know I can change the position of text elements using arcpy, but I can't find any ...
4
votes
1answer
1k views

GeoJSON Layer Order In Leaflet 0.7.5

I am developing a web application that brings in a number of tileLayers and geoJSON layers. For the tile layers I have been able to do similar to this JSFiddle in that the layers appear depening on ...
1
vote
2answers
412 views

GeoTools CRS.getAxisOrder(CRS.getAxisOrder(“EPSG:4326”)) returns EAST_NORTH (LON_LAT)

All is in the title, with GeoTools if I do : AxisOrder order = CRS.getAxisOrder(CRS.getAxisOrder("EPSG:4326")); It returns EAST_NORTH (= LON_LAT), but EPSG:4326 is defined as ordering latitude first ...
1
vote
1answer
2k views

arcgis 10.2 how to order query results

is there a way to order the returned results of a query task? this: query.where = "COD > 0"; works fine, but this: query.where = "COD > 0 order by COD"; throws: dojo.io.script error ...
3
votes
1answer
1k views

How to order points along a line?

I have a bus line with bus stops along the route. The sample data looks like this: LINESTRING (-70.57243474999999933 -33.37452829000000065, -70.57308152999999606 -33.37470645999999874, -70....
2
votes
3answers
179 views

Listing Attribute Table in order of Selected objects

Currently when I open my attribute table, I get the order or points by which they are added and I would like to get them in order in which I selected them. For example, I select points (in order): 6, ...
1
vote
1answer
421 views

Reordering of layer properties fields in QGIS possible? [duplicate]

I'm wondering why such simple things are not possible. I have 5 fields on my layer and the last one shall be on the top now. But there is no way to do this, is this correct?
2
votes
1answer
177 views

Keep selection order when Copy & Paste From Attribute Table in Qgis

When copying some selected points listed in the Attribute Table from QGis to Excel the order seems to get lost. Is there a way to keep the selected points in the order they were originally selected?
1
vote
0answers
61 views

Changing order layers are displayed in using MMQGIS?

I am dealing with hundreds of different layers, all of which have one of 6 names - not by choice, that's just the way they show up when I import them. I am trying to merge all those with the same ...
2
votes
2answers
171 views

showing symbols in a specific order

i'm trying to layout a map in ArcGIS09, showing samplings in a specific region: i have a layer with samplings on different sampling dates and sites. sometimes, there are several samples at one site, ...
0
votes
1answer
286 views

r.series command in QGIS - timeseries

I am using r.series command in qgis. The command is performing correctly, but when I import input raster files, it creates a list in a random order. Sometimes the order of input rasters is essential ...
1
vote
0answers
2k views

Splitting polyline by points using ArcGIS 10.2 for Desktop?

I have a layer containing a curved polyline and I would like to split it at multiple point locations, which I have in another layer. In ArcGIS 10.2, I can do this with the tool "Split Line at Point". ...
4
votes
1answer
829 views

Order layer in QGIS with PyQgis

I'm new in PyQgis. I'm looking for a code to move one layer in TOC to a specific position. Is it possible?
4
votes
1answer
2k views

Why do layers appear in the wrong order in QGIS 2.2?

I have a problem with in which order my vector and raster layers appear in QGIS. I have raster that I want to be the background of my other layers (vector). I place the vector layers on top in the TOC,...
2
votes
2answers
2k views

Drawing order of lines and polygons (line between polygon)

I have 2 layers. One with forests and lakes (polygon) and one with rivers (line). Now I want the features to draw in that order: The river have to be UNDER the LAKES and the forest have to be UNDER ...
1
vote
0answers
245 views

How to get intersected points between polygon and line in desired order

I have polygon for example "POLYGON((5 1, 6 1, 6 5, 5 5, 5 1))" that I want to intersect with line "LINESTRING(0 2, 10 2, 10 3, 0 3, 0 4, 10 4)" and get intersection points in the order that they ...
1
vote
1answer
4k views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different to: https://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons and ...
5
votes
3answers
3k views

How to visually sort the order of Points with QGIS, GDAL, …?

The following Points layer is the basis of a rendering in a Android application. Android allows to draw a shape from the provided points. I cannot use LineStrings. However, the order of points ...
2
votes
2answers
1k views

WMS layer above select-controlled vector layer in OpenLayers 2?

Is it possible to display an image layer (WMS or Image) above a vector layer with activated SelectFeature control in OpenLayers? The image layer (radar returns) contains only sparse, semi-transparent ...