POST
|
Hi, I have similar problem. In my situation Qgis can open my *.shp layer without any problems, can open attribute of this layer too. ArcGIS can open that layer and visualize, but can't open attribute table and gives an error message: When I open attribute table it is blank The reason for this problem was a bad character in field name - in my example it was a space " ". A solution for this problem was creating a new field with name without "space" in name, and copying attributes to that field from "old" field. I'm using ArcMap 10.6 and QGIS 3.4.5.
... View more
11-20-2019
08:28 AM
|
0
|
0
|
4021
|
POST
|
Hi, I have a 3-bands raster as below.
How to convert it to the 3-bands raster with No Data R=0, G=0, B=0 ? (see the second image below – I can do it in QGIS but prefer ArcGIS - automatisation in Model Builder).
What I want to do (result inQGIS).:
Thanks a lot 🙂
... View more
05-23-2019
01:45 PM
|
0
|
1
|
440
|
POST
|
Xander, your programming skills are awesome :-). The code makes exactly what I want, and even more - it creates a new feature dataset with corrected directions. But to answer your question. Yes, in this case, we can assume that M values are also the roads lengths. So, what I now have to do is to reverse the M values of segments identified as a "Flipped" to be increasing with the right/changed direction. Once I changed the direction the M values are automatically decreasing with direction, and they should be increasing. As I said before, I know how to make it manually for every segment (RouteEditing Toolbar) - screenshot below: But maybe can it be doing automatically ?
... View more
11-09-2017
02:01 PM
|
0
|
2
|
828
|
POST
|
Xander, thank you very much. I have tested your last scipt on my big feature dataset with forest routes. Your script makes exactly what I meant - identifying errors on segments running in wrong direction. For me the most important thing is the last line of script's output starting with "1st_flip_oid: [......]". It contains all segments their direction have to be changed. Another request concerns if that line can be saved as table with for example 3 fields: [OBJECTID], [RouteName], [Segment_ID] ? If yes, it would be helpful for me to make a join to the original feature dateset using field [OBJECTID]. And then I could use from ArcGIS Toolbox the tool "Flip Line" and automatically flip all the segments, that need it. The code works, but could you explain me the general concepion, you have made to identifying segments with wrong direction? And again, thank you very much.
... View more
11-09-2017
10:16 AM
|
0
|
4
|
828
|
POST
|
In my data the right direction for all segments of a given road points the segment with the lowest number in field [Segment_ID]. So for road C the direction for all segments indicates segment 7 (value in field [Segment_ID]). That isn't the same value like in field [OBJECTID]. A small digression: Another thing is how to change/flip the measures values of segments identified as a "wrong direction" to be increasing with the right/changed direction. That is because, when I change the direction the M values are automatically decreasing with direction, and they should be increasing. I know how to make it manually for each segment (RouteEditing Toolbar), but maybe can it be doing automatically. But now the question is how to identify the segments of a road running in the wrong direction.
... View more
11-09-2017
12:59 AM
|
0
|
6
|
828
|
POST
|
https://community.esri.com/docs/DOC-10931-roaddirectionzip
... View more
11-09-2017
12:09 AM
|
0
|
0
|
1283
|
POST
|
I have done some test with your code on my example data. I have attached the data. You will find that: in my example data every segment of a given road must start with M value =0, the right direction is the direction of the first segment [Segment_ID] of a given road, that is the minimum value (number) in field [Segment_ID] for a given road number [RouteName] Below screenshot of my example roads: The right direction for whole road indicates: Road A – segment 1 Road B – segment 4 Road C – segment 7 So script should report errors: Road A, Segment 2 (A, 2) Road B, Segment 6 (B, 6) Road C, Segment 8, 9, 10 (C,8; C,9; C,10) For now, code indicates errors only at segment (A,2). Please for further help.
... View more
11-08-2017
01:50 PM
|
0
|
10
|
1283
|
POST
|
Thank you very much for your engagement and time you have spent on this case. I will apply and test the code. I will allow myself to contact you again in case of further questions.
... View more
11-07-2017
11:58 PM
|
0
|
0
|
1283
|
POST
|
Thank you for your answers and screenshots. Of course these solutions are good and I can apply them to my dataset. But how to calculate (maybe in Python) distance for end point and start point of subsequent segments in every road_number (but not for first and last segments – only the middle segments) ? When the distance is more than 0 – it will be an error.
... View more
11-02-2017
08:04 AM
|
0
|
14
|
1283
|
POST
|
Hi, I’m attempting to make a linear referencing. It’s a polyline M layer (with lengths along every line) of forest roads . Every road (unique road number) consists of 1, 2 or more segments. In the attribute table I have a field with segment_id (unique in the layer) and a field with the road_number (many segments can have the same road_number). The layer is sorted ascending by segment_id and road_number. The problem is – how to check if every segments of one road_number have the same direction. Maybe the solution is to calculate distance for end point and start point of subsequent segments in every road_number (but not for first and last segments – only the middle segments). When the distance if more than 0 – it will be an error. But how to calculate it? Thanks for any suggestions how to solve this.
... View more
11-02-2017
03:35 AM
|
0
|
17
|
3179
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|