|
POST
|
Depends which way round you want it really, in your question you wanted _14/_65 ?
... View more
02-01-2020
11:55 AM
|
2
|
11
|
4341
|
|
POST
|
Hello again, on field calculator, select Python as your parser (top radio button) and select 'show codeblock' which appears in the middle of the window. where it has whitespace below 'pre-logic script code' insert the code below def percentage(field1, field2) :
if field1 != 0 and field2 != 0 :
return ( (float(field1) / float(field2) ) * 100.0)
else :
return -9999 in the bottom bit of whitespace it should have something like 'indeks_star =' above it in the greyed out area. in the whitespace type out this: percentage(!TOT_0_14!, !TOT_65!)
... View more
02-01-2020
11:19 AM
|
2
|
13
|
4341
|
|
POST
|
Glad to hear. Can you send me a screenshot of the table?
... View more
02-01-2020
08:15 AM
|
2
|
1
|
1435
|
|
POST
|
I would have thought the mosaic operation would require a spatial reference? That's a big indicator of the problem. Defining the spatial reference will not affect the data, it just let's the system know what it's looking at. Use the define spatial reference tool first and calculate statistics. Check the tiles match up with other boundary data etc.
... View more
02-01-2020
08:09 AM
|
0
|
2
|
4071
|
|
POST
|
I've edited it again to attempt to go into the attribute tasble
... View more
02-01-2020
08:06 AM
|
2
|
3
|
1435
|
|
POST
|
Edited. If that doesnt work try it on a subset of features, say 100
... View more
02-01-2020
07:30 AM
|
2
|
5
|
1988
|
|
POST
|
Wow looks awful. I've edited the code to just spit out the values, -999 represents rows where no median could be computed.
... View more
02-01-2020
06:56 AM
|
2
|
7
|
1988
|
|
IDEA
|
Perhaps you could use a raspberry pi or laptop connected to the tv as a cheap alternative until this is hopefully resolved for you?
... View more
02-01-2020
06:45 AM
|
1
|
0
|
3459
|
|
POST
|
Check your attribute table, should have populated it
... View more
02-01-2020
06:23 AM
|
2
|
1
|
1988
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-13-2025 01:08 PM | |
| 1 | 09-25-2025 03:19 PM | |
| 1 | 09-24-2025 02:35 PM | |
| 1 | 09-17-2025 02:42 PM | |
| 1 | 09-10-2025 02:35 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|