|
POST
|
Michele, Try adding the Map to a group that the account you use to logon to Collector is a member. Make sure the Map is shared with this group. This is a common issue. Normally it is there is not an editable layer or the map needs to be opened and resaved. There is a locked thread pertaining to this at AGOL maps not showing in Collector App. A third option try creating a new map, add an editable feature service to the map, save making sure it is in your "My Maps" or a group you have access.
... View more
07-15-2019
06:18 PM
|
1
|
2
|
1353
|
|
POST
|
Dan, You can use a Python function in field calculator to determine difference in time. Since your data is in military time with leading zeros it is even easier. Create a function as noted below. This function takes the string parameters, convers them to datatime variables, calculates the difference in seconds and return this value multiplied by 60 to give you minutes. This script does assume the times are within a single 24-hour day and that STRTTIME is before ENDTIME. It can be modified to include times on multiple days if the date is provided as well. import datetime
def deltaTime (start, end):
starttime = datetime.datetime.strptime(start, '%H%M')
endtime = datetime.datetime.strptime(end, '%H%M')
return (endtime - starttime).seconds()/60 You can call this function in field calculator using deltaTime(!STRTTIME!, !ENDTIME!)
... View more
07-15-2019
05:04 PM
|
1
|
0
|
1640
|
|
POST
|
Michele Do you have an editable layer in the web map are trying to use in Collector? For maps to be available to Collector at least one layer must be editable.
... View more
07-15-2019
04:11 PM
|
0
|
1
|
1353
|
|
POST
|
Ismael, Is there documentation available for using this method and was it just implemented in the newest production release?
... View more
07-15-2019
09:59 AM
|
0
|
0
|
4513
|
|
POST
|
Jamal, Check Supported raster dataset file formats—Help | ArcGIS for Desktop - JPG only supports 1 or 3 bands. You could try JPEG 2000 or TIFF If the issue persists, try to convert the ECW to a TIFF then convert the TIFF to a JPEG 2000. If I remember correctly, depending upon the ECW version, not all color maps are supported in direct ECW to JPEG 2000 conversion. Also, make sure you are using 8-bit unsigned integer as your data type.
... View more
07-14-2019
04:12 PM
|
5
|
8
|
4586
|
|
POST
|
Jamal, You can do this using a python script with an update cursor and modifying the Shape@XY parameter. Here is a link to a code sample Shifting features. Another example Move Features can be found here on GeoNet posted by Mathew Coyle. You can create a new script tool using python then use the tool in Desktop or even Model Builder. See a quick tour of creating tools with Python and its related topics. On a side note, are your rasters and vector data on the same coordinate systems? If you are noticing a uniform shift in your data, you may be dealing with multiple coordinate systems and need to set the correct real-time transformations between the systems or Project some of your data to a different system.
... View more
07-14-2019
10:40 AM
|
9
|
1
|
4438
|
|
POST
|
Afsi, If you enable snapping in ArcGIS you can snap to the line you are trying to place the point onto. Take a look at Using snapping effectively in ArcGIS 10 for ArcGIS Desktop or Configure snapping—ArcGIS Pro.
... View more
07-14-2019
08:28 AM
|
2
|
0
|
653
|
|
POST
|
Ali, Take a look at Understanding how to use Microsoft Excel files in ArcGIS—Help | ArcGIS Desktop. Even thought you have Excel installed you need to install the Microsoft Access Database Engine 2010 Redistributableas Microsoft has discontinued support for the Office 2007 drivers noted in the article. This package will install a set of components that can be used to facilitate transfer of data between 2010 Microsoft Office System files and non-Microsoft Office applications. You might need to exit ArcGIS and excel for this to work after installing. One other note, I believe you need to download and install the 32-bit version of the Microsoft Access Database Engine 2010 Redistributable even for 64-bit systems on ArcGIS Desktop and Pro.
... View more
07-14-2019
08:00 AM
|
2
|
0
|
1257
|
|
POST
|
Soheil, If you are using Vector Basemaps from AGOL you can change your language and region settings. Take a look at the new features in What's New in Esri Vector Basemaps (February 2019). if you are using open maps tile server, choose a tile server that hosts basemaps in the English language such as in the UK or USA. Take a look at open map tiles languages. You can also try changing your workstation/browser region and language options but many servers look at your IP to determine which maps to offer.
... View more
07-13-2019
07:05 AM
|
2
|
0
|
8581
|
|
POST
|
Jessika, To my knowledge, that would be beyond the current ability of Survey123. Survey123 can perform basic functions such as Max, Min, Average, Sum on the all values in a repeat but currently does not have the ability to select or filter prior to performing these functions. That being said, do you need to perform this in the field? This could be very easily be post-processed on the collected data once submitted. Not knowing your current workflow, I cannot offer a specific example but would typically use a custom script running in ArcGIS Desktop or Pro. You could even have a place holder in your survey that a script running on the back end could calculate and update the quadratic mean for the eight largest trees for each survey on a nightly basis.
... View more
07-13-2019
06:37 AM
|
0
|
0
|
4513
|
|
POST
|
Malcolm, If you are working with a datetime parameter you can use the following to extract and evaluate the time portion. The variable dt is a datetime and t is string representation of the time in the HH:MM, 24-hour format. Take a look at Python info on strftime for additional info output in different time formats from datetime import datetime
dt = datetime.now()
t = dt.strftime("%H:%M")
if t == "08:00":
print "Start Work"
elif t == "12:00":
print "Lunch"
elif t == "17:00":
print "Go Home"
elif t > "08:00" and t < "17:00":
print "At Work"
else:
print "No Match" Please do keep in mind that strings are compared lexicographically so you may be better to use datetime objects depending upon your planed use, but this does work for most cases.
... View more
07-12-2019
08:51 AM
|
1
|
0
|
4130
|
|
POST
|
Richard, Take a look at your project structure folder using a file explorer and see if there is a process.pyc file. Delete this file and try to run the script again. Also, there is a python method called Process with a capital “P”, be careful using similar naming in your code.
... View more
07-12-2019
06:20 AM
|
2
|
0
|
8050
|
|
POST
|
Malcolm, Not sure if you still need help on this one. Lets to start with a few larger issues and we can work from there. 1) when calling and defining a function you need to include the parameters from your source that you will be consuming. In this case it looks like you need the fields SID, DayType, FullDateTime, etc. This should not be the name of the attribute being returned, as you have it defined. For example your call to the function should be DetermineAttendance(!SID!, !DayType!, !FullDateTime!) In your def statement you define the variable names that will be used within the method corresponding to the ones passed. Such as below using the same field names SID, DayType and FullDateTime def DetermineAttendance(SID, DayType, FullDateTime): Or you can simply the names in the def statement such as use s, do and fd and you would use these variables in the function. def DetermineAttendance(s, dt, fd): 2) you are using the time() method of a datetime to compare a time value “FullDateTime.time() > = 8:55 AM” The time() method returns a string along the format of 12:15:20.123456. If you are comparing this to a string “8:55 AM” (which needs to have quotes around it) the chance of it matching is not going to happen. You would need to format the time returned using strftime() to get a match. Experiment a little using a python command line to see how this works. If you need more help, just post your updated code. 3) you need a return statement at the end of your code to send the value of SchoolAttendance back to the call. return SchoolAttendance 4) on a couple of your if statements you have “> =“, there should not be a space between these characters.
... View more
07-12-2019
05:49 AM
|
0
|
0
|
1128
|
|
POST
|
Catherine Bradley Sorry, I did not see your additional post. To how many decimals are the coordinates being stored? If this value is being truncated, to just a couple of decimals, all your points will show in at one location. Take a look at: Customizing GPS Coordinates in Survey123 Map Window or the later posts to Pulling data from geopoint questions
... View more
07-11-2019
07:14 AM
|
0
|
0
|
1162
|
|
POST
|
Andrew Becker 1) Use Google and search for "youtube getting started with python" this will give you a basic understanding of the language and how to use the command line interface. Once you have experimented with the basics try searching for ArcGIS python to get more examples specific to GIS. E360 is another great source for python videos specific to ESRI 2) You will need some type of text editor. You can use Notepad but this will not have python syntax highlighting. As you have ArcGIS installed you will also have IDLE on your system that does support syntax highlighting. 3) Jump in with both feet, take the code sample from Python Script to Merge Files, put a couple of shapefiles and a GDB in a test directory (do not try to run this on your entire set of data from the start), start to make the changes as Dan Patterson noted above, see what happens and work through the issues that arise. It is like a lottery, you are guaranteed not to win if you do not but a ticket. 4) If you need help with a specific issue, post a new question and guaranteed someone on GeoNet will lend a hand.
... View more
07-10-2019
05:38 AM
|
0
|
0
|
5590
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | a week ago | |
| 1 | 09-16-2019 05:49 PM | |
| 1 | 06-11-2025 03:32 PM | |
| 1 | 12-26-2023 09:15 AM | |
| 1 | 12-29-2023 10:06 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|