POST
|
Python definitely seems like a skillset I want to develop, when I've got some more time to devote to studying I plan to do so. Thanks for the help!
... View more
04-18-2017
10:00 AM
|
0
|
0
|
1261
|
POST
|
Solved it! I used " instead ' around %Name% and it appears to be working. Thanks for the help everyone.
... View more
04-13-2017
11:20 AM
|
2
|
3
|
1261
|
POST
|
We can move the discussion here instead of email so anyone who might be able to assist is privy to all the information, good idea. From my recent email: I renamed the Geodatabase to take the spaces out but I’m still receiving the syntax error. Even though the end result of the Field would be a 6 digit number, I have the Add Field set up to make it a Text field so that it can accept strings. I am able to edit the table and make changes so I believe my write permissions are ok. I would try a manual entry using field calculator outside of the model, but I’m not sure how to get the field calculator to reference the filename when it is not a field in the table nor an inline variable in ModelBuilder.
... View more
04-13-2017
11:09 AM
|
0
|
0
|
1261
|
POST
|
Solved the rename issue with the Geodatabase, but still receiving the syntax error on the Calculate Field.
... View more
04-13-2017
10:58 AM
|
0
|
2
|
1261
|
POST
|
I tried renaming the Geodatabase and I get a "Failed to rename object" error. It's interesting that the Add Field works fine, but the Calculate Field doesn't since they both reference the same Geodatabase.
... View more
04-13-2017
10:49 AM
|
0
|
0
|
1261
|
POST
|
Hi everyone, Very new to ModelBuilder - I am trying to use ModelBuilder to add a field called “Survey_ID” then populate that field using Calculate Field to use the last 6 characters of the filename for a group of feature classes. The Iterate Feature Classes and Add Field options seem to be working, but my Calculate Field expression seems to be incorrect. Here is the error I get when I run the model: Executing (Calculate Field): CalculateField "O:\DCF\Test HerringAS Geodatabase.gdb\HAS_Photo_0325_201702" Survey_ID Right('HAS_Photo_0325_201702', 6) VB # Start Time: Thu Apr 13 09:16:24 2017 General error executing calculator. ERROR 999999: Error executing function. Syntax error Failed to execute (Calculate Field). For the Calculate Field I hit the Calculator icon, and in the box for Survey_ID = I use this expression: Right('%Name%', 6) Any idea what I’m doing wrong here? Thanks so much for any assistance!
... View more
04-13-2017
10:27 AM
|
0
|
9
|
2318
|
POST
|
Yeah I'll keep working with it and see if I can find out why it applied that time shift. The issue is I am using the track to geotag photos, but maybe I can input a custom offset to sync them up anyways. Thanks a lot for the help Dan!
... View more
03-31-2017
03:37 PM
|
0
|
0
|
804
|
POST
|
Thanks so much Chris! I'll give this a try, I really appreciate the help.
... View more
03-31-2017
03:36 PM
|
0
|
0
|
215
|
POST
|
I hadn't thought to run it in DNRGPS again, thanks for the idea. I did that and got an interesting output, as an example, here is data point 1 text file: 2009/4/13 18:35:46 GPX: 2009/4/14 02:35:46 +00 I am in the Alaska timezone: UTC - 09:00 with DST, so it looks like when I converted to GPX it applied an 8 hour shift forward, perhaps from AK to UTC even though the original timestamp was already in UTC?
... View more
03-31-2017
03:14 PM
|
0
|
2
|
804
|
POST
|
I just tried removing the dash and replacing with a space as you recommended, ran it through GPS babel using input format: universal csv and output format: GPX xml. Same issue, it retains the date, but all timestamps are set to 12am (00:00:00). Mysterious!
... View more
03-31-2017
02:55 PM
|
0
|
4
|
804
|
POST
|
Hi everyone, I'm relatively new to ArcGIS, so please forgive my lack of knowledge. I have ~100 feature classes that I am going to combine into a single feature class, but before I do I want to add a field to each of their attribute tables, then have that field auto-populate from a value at the end of the name of the feature class. Is it possible to use a tool to do this all at once? All I know to do right now is manually add a field to each feature class one at a time, and then use the Field Calculator to populate the values. Thanks for any help!
... View more
03-31-2017
02:49 PM
|
0
|
2
|
689
|
POST
|
Indeed it does, but when I do this it either loses the date/time field entirely or retains the date but sets the timestamps to 00:00:00
... View more
03-31-2017
02:32 PM
|
0
|
6
|
804
|
POST
|
Hi everyone, I have some old GPS track data in the form of a comma-delimited txt file created by DNRGarmin/DNRGPS from a Garmin GPS. I'm trying to convert it into .gpx using gpsbabel so that I can synchronize and geotag some photos using GeoSetter or gpicsync, but whenever I convert it the time field retains the date but sets all the timestamps to midnight (00:00:00). When I load the .txt into DNRGPS, all the timestamps display correctly, but I suspect there is some issue in the format of the date/time stamps that is causing the failure in conversion. Here is a sample of the txt file: type,ident,lat,long,y_proj,x_proj,new_seg,display,color,altitude,depth,temp,time,model,filename TRACK,ACTIVE LOG,60.49318836,-145.46932287,60.49318836,-145.46932287,true,False,16,-25.337646484375,0,0,2009/04/13-18:35:46,GPSMap76CSX, TRACK,ACTIVE LOG,60.49271084,-145.46979762,60.49271084,-145.46979762,False,False,16,-25.818359375,0,0,2009/04/13-18:36:09,GPSMap76CSX, TRACK,ACTIVE LOG,60.49256500,-145.46991823,60.492565,-145.46991823,False,False,16,-22.45361328125,0,0,2009/04/13-18:36:16,GPSMap76CSX, TRACK,ACTIVE LOG,60.49221028,-145.47023163,60.49221028,-145.47023163,False,False,16,16484.345703125,0,0,2009/04/13-18:36:27,GPSMap76CSX, Any assistance would be greatly appreciated, thanks!
... View more
03-31-2017
11:55 AM
|
0
|
8
|
1868
|
Title | Kudos | Posted |
---|---|---|
2 | 04-13-2017 11:20 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|