3,866 reputation
33281
bio website elegantdesigns.ca
location Fredericton, Canada
age 32
visits member for 4 years, 4 months
seen 2 hours ago
GIS, Transportation, Civil Engineer in New Brunswick Canada. I'm interested in using FOSS, python, QGIS, PostGIS, GRASS, and QT to develop open source engineering applications

1d
comment How do I compare and replace data using python?
I would highly discourage deleting any data and would recommend setting up a layer versioning system of some sort. I think this should stem from an IT strategy on how you want to preserve and maintain the data. For example, you can decide that you'll have an official version every week but have nightly updates every day. Furthermore, you don't want to be deleting features as if people want to open an older project, they should see the data they used at the time of map creation and not the new data that you merged
1d
comment Duplicate FID for points
If you have ArcInfo I think you can do it this way: arcpy.FeatureVerticesToPoints_management(infc, outfc, "ALL"). That said, is your attempt to go to numpy and back a workaround?. Are your duplicate FIDs along the same line?
1d
comment ArcPy: check in and out of Advanced/Standard concurrent license
Ya, the idea is that to only import ArcInfo for the specific task that it's required for and then checks it out after. some of these scripts could take hours to perform and I don't want to hog the license manager for a 5 minute operation. The alternative would be to move the arcinfo required code into its own script and only be used when required then. Furthermore, when I import ArcInfo, Desktop license manager doesn't seem to change my license. Potential bug?
Nov
21
comment Has anyone been able to programmatically generate and post web map definitions to ArcGIS Online and create web maps?
Just a note to follow Python Pep 8 when you're coding in python. Here's a handy dandy pep-8 checker
Nov
20
comment Arcpy: Names and distances of nearest intersecting roads in layer 1 to end points of a road segment from layer 2
Thanks for the solution, I don't have 10.2. We're still on 10.1
Nov
17
comment Arcpy: Names and distances of nearest intersecting roads in layer 1 to end points of a road segment from layer 2
@artwork21 Control section Linear referenced Event table that's made into a route layer
Nov
17
comment What can I use to calculate drive times /with/ traffic considered?
I think you're oversimplifying a very complex problem. How many nodes (distribution centres/stores) do you have in total? Are you trying to develop an origin/destination (O/D) trip table matrix based on time/period of day? Are there any restrictions on how many hours can a driver be on the road? restrictions on worker shifts, time of day, day of the week?
Oct
24
comment ArcGIS Linear referencing tools duplicating records and erroneous measures
Hi Richard, I am in the main GIS chat room now if you want to join
Oct
24
comment ArcGIS Linear referencing tools duplicating records and erroneous measures
Hi Richard, would you be interested in joining me in a chatroom on this site perhaps so you can audit and have a look at my full code?
Oct
22
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
I also posted a new question regarding the issue here
Oct
22
comment How to work with accentuated strings in Python scripts in ArcGIS Desktop Field Calculator?
I hope this helps.
Oct
22
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
Hi Richard, for some reason, this method is duplicating a lot of links and also creating new fmeasures of -0.000023. any suggestions?
Sep
16
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
I did a bounty on this answer that I'll reward you with when it allows me to!
Sep
12
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
@KirkKuykendall A piece of road can only either have one event scheduled or none. However, that event could be over many segments (control sections) and do not necessarily match the boundaries. i.e. it could start half way and end 3/4 of the way of a segment. So an example Route_1_control_Section_1 2.5 to 10.6, Resurface, Route_1_control_section_2 0.0 to 3.8, crackseal. Conversely 95% of the existing segments (layer_1) will get no work scheduled next year.
Sep
12
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
@KirkKuykendall Did my above comment answer your question?
Sep
12
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
@KirkKuykendall - Field personnel take layer 1 and assign where where work is scheduled using excel in the form of ROUTE_ID, FROM, TO, DATE . I then took that information and created an event layer about it. The result should be merged into Layer_1 yet pereserving the attributes.
Sep
12
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
as a note, I don't want to maintain duplicate segments, Scheduled events should replace existing portions of layer 1. They'll have the attributes from layer 1 and the new ones from layer 2
Sep
12
comment Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?
Thanks! We have access to ArcInfo license.
Sep
10
comment What's the difference between Spatial Join Tool and Spatial Join Function in ArcGIS?
you'd think they'd bump it up a bit from low :(
Aug
18
comment Selecting maximum Value based on other field using ArcMap?
If you can use ArcPy or python in the data. Loading it into a list then doing a for loop makes it quiet easy. data = [(100,1), (200,1), (300,2), (500,2), (100,1), (400,3), (400,2), (200,1), (200,4)] d = {} for former, latter in data: d[former] = max(latter, d.get(former, 0))