POST
|
Hi all, I noticed that whenever I export a pdf map from ArcMap that it is exported as pdf version '1.6 (Acrobat 7.x). With my recent mapbooks I noticed that some of the raster images dont load in completely when panning through multiple pdfs while using the latest versions of Adobe Acrobat Reader/Pro. It seems like this is an older version of acrobat (7.x?) so I had a theory that maybe that was what was perhaps causing the issue, my ArcMap seems to export at this version by default, is there anyway I can force it to export at a newer version? I attached an image of the properties of one pdf I just exported from ArcMap. FYI - I am using ArcMap 10.7 and trying to export multiple pdfs (800+) using data driven pages.
... View more
Friday
|
0
|
0
|
69
|
POST
|
Hi all, I noticed that whenever I export a pdf map from ArcMap that it is exported as pdf version '1.6 (Acrobat 7.x). With my recent mapbooks I noticed that some of the raster images dont load in completely when panning through multiple pdfs while using the latest versions of Adobe Acrobat Reader/Pro. It seems like this is an older version of acrobat (7.x?) so I had a theory that maybe that was what was perhaps causing the issue, my ArcMap seems to export at this version by default, is there anyway I can force it to export at a newer version? I attached an image of the properties of one pdf I just exported from ArcMap. FYI - I am using ArcMap 10.7
... View more
Friday
|
0
|
0
|
18
|
POST
|
Hi David, yes this worked, sorry i went down a wormhole with some other issue that Xander was helping me work through and forgot to give credits - thank you 🙂
... View more
3 weeks ago
|
0
|
0
|
153
|
POST
|
Xander, no apology necessary - thank you for your time and help -- yeah that was what threw me for a loop too
... View more
3 weeks ago
|
0
|
0
|
185
|
POST
|
Hi Xander, if you check your PM i sent you a public web map with a snippet of the data im using that replicates the issue
... View more
3 weeks ago
|
0
|
4
|
197
|
POST
|
Hi all, Xanders expression seems to work great in the arcade test area of the expression builder, but when I add it to the popup nothing shows, ive no idea what could be causing that to happen?
... View more
3 weeks ago
|
0
|
6
|
300
|
POST
|
Hi David, thank you I think your code is alot more stream lined and I'll use that with a few adjustments to catch those that were painted today, yesterday or within the same year etc. Many thanks !
... View more
3 weeks ago
|
0
|
1
|
365
|
POST
|
var timeNow = Now(); var survey = $feature["DATE_PAINTED"]; var years = DateDiff(timeNow, survey, 'Years'); // 2.1116274159012844 var y = Floor(years, 0); var d = (years - y) * 365; if (IsEmpty($feature.DATE_PAINTED)){ return "-" } else if (y >= 2) { return "Last Painted: " + Round(y, 0) + " years and " + Round(d , 0) + " days ago." } else if (y == 1) { return "Last Painted: " + Round(y, 0) + " year and " + Round(d , 0) + " days ago." } else if (y == 0 && d > 1) { return "Last Painted: " + Round(d , 0) + " days ago." } else if (y == 0 && d <= 1) { return "Last Painted: " + Round(d , 0) + " day ago." } Still playing around with it, and getting myself slightly more confused as this point! When comparing the duration I'm getting from the above code its not quite the same as most online time duration calculators - actually short by 2 days -- is there something obvious that I missing here? (See attachment for context)
... View more
3 weeks ago
|
0
|
12
|
389
|
POST
|
Hi all, I'm sort of new to coding in general, but I have started trying to use some arcade expressions in my web maps, currently I have a web map which has a date painted field for hydrants and with the arcade expression below I am using the current date and this field to provide a count of the years and days since a hydrant was last painted. However, I was QC'ing the data and noticed that for hydrants painted after 2020, it is going to be a day short as 2020 was a leap year - if the web map persists beyond 2024, it will then start being 2 days short. With my limited knowledge I believe that I need to use some type of when or if statement to be able to use 366 rather than 365 (in var d calculation) i'm just now sure how I would go about doing it - would anybody be able to provide some pointers? Many thanks! var timeNow = Now(); var survey = $feature["DATE_PAINTED"]; var years = DateDiff(timeNow, survey, 'Years'); // 2.1116274159012844 var y = Floor(years, 0); var d = (years - y) * 365; if (IsEmpty($feature.DATE_PAINTED)){ return "-" } else if (y >= 2) { return "Last Painted: " + Round(y, 0) + " years and " + round(d , 0) + " days ago." } else if (y == 1) { return "Last Painted: " + Round(y, 0) + " year and " + round(d , 0) + " days ago." } else if (y == 0) { return "Last Painted: " + round(d , 0) + " days ago." }
... View more
3 weeks ago
|
0
|
18
|
619
|
Online Status |
Online
|
Date Last Visited |
Friday
|