|
POST
|
andrew kelsey, Got me on this one. As noted above, try adding the feature class to a new project and/or importing it into a new GDB as well. Check that all of the fields are numeric. Post a screen shot of your calculate field for both the first and second attempt, might be a simple overlooked issue. Try using Arcade in place of Python to calculate the fields. No joined tables, correct. There was an issue with that a few versions ago in Pro.
... View more
09-15-2019
03:56 PM
|
0
|
4
|
3496
|
|
POST
|
lubna jarara'ah, Looking through your correspondence with Dan Patterson I noted your output JPG is 8-bit not 1-bit. I also noted the value range is 0 to 2 not 0 to 1. Just out of curiosity try setting No data value in the image Symbology to 0, 1 and 2 individually to see if this helps at least with the display. This will not fix the image but possibly display the image correctly. Rerun the Raster to Other Format tool but in the Environment Settings > Raster Storage section, 1) under pyramids - turn off Build pyramids. 2) under Raster Statics - turn off calculate statistics. 3) under compression use a B&W method such as RLE or one of the CCITT methods. Click run. I am not where I can test this at the moment.
... View more
09-15-2019
03:26 PM
|
7
|
1
|
4759
|
|
POST
|
Andrew, You are getting a Calculated Field Competed message? If you look at the details any additional info? You do not have anything selected the second time that is limiting the data that the calculation is performed on. Try clicking the "Clear" button on the Map ribbon, unless you are intentionally limiting the data, before running the calculate field. Have your tried creating a new project and add only that feature class to the map and see if it works there?
... View more
09-15-2019
02:40 PM
|
0
|
6
|
3496
|
|
POST
|
Richard Adams, Can you provide a little more information and a screen shot before and after? Does the feature still show in your Table of Contents? Is there a visibility range set on the feature? Is the feature under another and just not visible? How about a Definition query applied to the feature? Did you try applying a just simple symbology to the feature. What if this is the only feature added to blank project?
... View more
09-15-2019
01:56 PM
|
0
|
0
|
833
|
|
POST
|
andrew kelsey, Can you provide a little more information, such as the Python field calculation def you are having problems with and the call statement?
... View more
09-15-2019
01:45 PM
|
0
|
0
|
3496
|
|
POST
|
Ross, What you have outlined should have worked. You should be able to create a relate based upon what you have outlined using the info tool our the related table display in the attribute table. Lets try the following out lining a local relate. You can also create a relate in the database rather then on the feature class in the MXD. Note, when you open the an attribute table of a FC with a relate, you cannot directly see the related data. Also, make sure you do not have any spaces in your field names for your tables. Create a new GDB somewhere easy to access In Catalog right-click on the GDB and select Import > Table (Multiple) Once the dialog appears select the boring and core log CSV files and click OK Add the two new tables to your MXD, if they did not automatically add. They will appear in the Table of Contents under the List By Source (second button). In ArcGIS Desktop go to File > Add Data > Add XY Data In the dialog set the select the boring table you just added to your GDB and set the x-Field and y-Field corresponding to your data and Coordinate system as appropriate. Click OK. This will add the data from the table as points for the boring location data. Right click on the new feature in the TOC and select Joins and Relates > Relate In the Dialog, select the field the relate will be based on from the boring log, the corelog table and its related field and a name for the relate. Note the related field between the two tables must be the same type of data i.e. text to text. long to long, etc. You could use StrataName, BedName or a combination of the data. Open the boring log attribute table and select a record, and then click the Related table button in the top corner. The related records will be selected and displayed. You can also view this info the attribute window rather than the Attribute table. The info displayed can be adjusted buy changing the Display extension in the layer/table properties. Additional info: Importing a table (multiple) - ArcGIS Desktop Adding x,y coordinate data as a layer - ArcGIS Desktop About joining and relating tables - ArcGIS Desktop
... View more
09-15-2019
01:23 PM
|
5
|
5
|
6848
|
|
POST
|
Ryan, A "?" is a placeholder in a SQL statement depending where it is located in the statement. If your URL is contained in quotes as part of the WHERE clause is this should be ok other wise the SQL will replace the ? with a value. Depending upon the driver and SQL version, using a double question mark "??" or wrapping the question mark in brackets "[?]" in the URL may escape the issue. Can you provide a copy of the full SQL statement?
... View more
09-13-2019
12:01 PM
|
0
|
0
|
3968
|
|
POST
|
Levi Cecil, Try the following: Text(EndTime, 'm:ss')
... View more
09-12-2019
05:55 PM
|
1
|
5
|
4102
|
|
POST
|
bob wright Two suggestions: "section" is a reserved word in XMLForms. If that is the name of your selection type or text box you may want to use something different such as "section_num" try using the following assuming you are checking against a select_one field or text box: if(${section_num} >= 1, ${town}, ${permit_area}) This will return {town} for any value grater than 1 if it is selected/input in {section_num} and {permit_area} if zero or less. I am not quite sure if you are using a dropdown or text field.
... View more
09-12-2019
04:51 PM
|
1
|
0
|
4172
|
|
POST
|
Noni, Using field calculator create a code block such as the following: def uio(cluster, source):
if cluster > 0:
return 'C%s' %cluster
else:
return 'S%s' %source The %s is replaced with the cluster or source value C1, S10, etc. Make sure the field you are placing the return into is Text and not Numeric. You would call the function using the field names: uio(!cluster!, !source!)
... View more
09-12-2019
02:37 PM
|
2
|
1
|
1436
|
|
POST
|
noni paulette, Just modify the function as follows. Make sure your 'UOID' field is set to text and not numeric. def uio(cluster, source):
if cluster > 0:
return 'C%s' %cluster
else:
return 'S%s' %source
... View more
09-12-2019
08:59 AM
|
1
|
0
|
2792
|
|
POST
|
Josh,, In the interim, you can currently use Collector for ArcGIS on windows devices, it just is the "Classic" version. You can download it from the Windows Store. I use both iPad Pro and a Windows Surface Pro. I definitely prefer the iPad for my daily field work. The main reason is cellular connection, as unless you have a LTE model of a surface or also carry a HotSpot you do not have cellular connectivity. It is very nice to be able to post your collector data real-time to your AGOL account. This data can then be available for others to see and utilize without having to wait to Sync and the end of the day. You also do not have to download your maps but have the option to do so in areas that you may not have cellular. The sudo GPS in the surface is abysmal at best. IDevices can be just as temperamental but typically are within 3-5 meters. Weight, there is a notable difference between caring around an iDevice vs a Surface for 8 hours a day. It is also easier to manage the iDevice than the surface when using them in the field. The case I have for my iPad has a hand grip on the back that is very comfortable to work with for an entire day. Another factor is cost. A standard iPad can be obtained for $300 for a previous release and a pro for $600. A Windows Surface Pro LTE is going to run you $1200+ (prices based upon State contract pricing)
... View more
09-12-2019
08:01 AM
|
2
|
1
|
5719
|
|
POST
|
Lubna, After you perform your Color Adjustments, add one additional step to Decrease Color Depth and select 2 colors (black/white) before you save the new file. When you save the file as a new TIFF, you may need to set the Save Compression to one applicable to B&W images only. Just check the Show options dialog box on the Save dialog for this to display. Have a wonderful day.
... View more
09-12-2019
04:52 AM
|
9
|
1
|
4641
|
|
POST
|
Christopher, You can easily do this using Field Calculator and a little python code. Assuming you are using ArcGIS Desktop 10.x, please take a look at Calculate Field examples—Help | ArcGIS Desktop. You would create a function such as below using def statement in the call block then call the function. This example checks for None or Null values and returns 0 if found or 1 if not. This can be customized to meet your needs or to address empty strings or specific values. def checkAttrib(field1):
if field1: #this will return "0" for None or Null values or "1" for most other values
return 1
else:
return 0 The function is called using: checkAttrib(!Field_Name_to_Check!) The code can be further expanded to check multiple fields and return different values. You can modify the if statement to check for a specific value or if the value is in a list. if field1 == "abc": or if field1 in ['abc', 'xyz']:
... View more
09-11-2019
09:05 AM
|
1
|
0
|
1063
|
|
POST
|
Lubna, Unfortunately, you do have to go through several steps to get the best result. For one or two files this is not too much trouble but if you have many it is labor intensive. ImageMagick to the rescue. This is a command line tool that I have used for years to convert images in just about any way possible. You can even script the tool for batch conversions. Once installed you would convert your sample file from a Command Line using: magick AlMazraaAlQibliya.jpg -colorspace Gray -threshold 50% AlMazraaAlQibliya_tmp.jpg or the following if you also want to change the file type magick AlMazraaAlQibliya.jpg -colorspace Gray -threshold 50% AlMazraaAlQibliya.tif You may need to adjust the threshold value depending upon your images. Please note, these images are still 8-bit images. You could also apply additional conversion to change to true B&W 2-bit images, if needed. magick AlMazraaAlQibliya.jpg -colorspace Gray -threshold 50% -colors 2 -depth 1 AlMazraaAlQibliya.tif
... View more
09-11-2019
06:17 AM
|
9
|
0
|
4641
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-14-2026 11:47 AM | |
| 3 | 05-14-2026 12:23 PM | |
| 1 | 09-16-2019 05:49 PM | |
| 1 | 06-11-2025 03:32 PM | |
| 1 | 12-26-2023 09:15 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|