|
POST
|
The answer is yes- I currently have 3 up and running behind our firewall and using Portal's authentication to access layers published through Portal and our organization's external ArcGIS Server. It's not hard but ESRI's documentation isn't as clear as they think. We ended up opening a support ticket and the ESRI support person showed me the proper way in less than 5 minutes. This Help Document describes the process. Basically, develop your JS app (adding the necessary OAuth code for Portal user authentication). Lastly, in Portal, Add Item->An Application. When prompted, specify the URL for your JS app. Next, It's going to open another window and ask you for the Redirect URI. THIS IS THE SAME URL. This is what tripped me up and is not clear in the docs. Once I had that corrected, my app would load services published through Portal. Hope this gets you going.. Steve
... View more
06-29-2022
03:20 PM
|
2
|
0
|
5635
|
|
POST
|
I don't know if this has changed (and don't know if this would be an issue if the imagery is served up through enterprise) but the one thing about SIDs is that when you wanted to print using a SID, the SID image had to be "unpacked" before it could be sent to the printer. The end result is that it took much longer to print from a SID source rather than a TIF or other image format.
... View more
06-29-2022
12:08 PM
|
0
|
0
|
2415
|
|
POST
|
You can't. Add a new field named "owner", calc owner = layer, and then delete the layer attribute field. Shapefiles are lightweight and great but have some constraints. Renaming or reordering fields is one of them.
... View more
06-28-2022
01:44 PM
|
3
|
0
|
1327
|
|
POST
|
Maybe someone else can code a more elegant evaluation but based on your sample screenshot, it looks like you need to verify that only *one* zero is present in the value so you need to evaluate all the characters in the value before deciding whether or not to alter its value. Something like thisL var counter = 0;
var stringLen = 0;
var theString = "23405751";
stringLen = Count(theString) - 1;
for(var z=0; z<stringLen; z++) {
if (Mid(theString,z,1) == "0") {
counter++;
}
}
if (counter > 1) {
return 'There was more than one zero';
} else {
return 'There was only one zero';
} Paste this code into the Playground and add/subtract zeros from the string to see it.
... View more
06-08-2022
02:31 PM
|
0
|
0
|
3134
|
|
POST
|
You could try deleting the projection information for the JPG. Basically, get it back to a projection as "undefined" and then you should be able to use the georeferencing tools. When you look at the JPEG inside of Catalog, does it have a defined projection system? If it does, or even it it doesn't display one you can try this, Under the raster properties, there is an option to import projection information from another dataset (click that globe icon next to the Spatial Reference grouping in the main properties dialog). Use any other JPG (a photo, a PDF converted to a JPG, etc) that doesn't have a defined projection and then use that image as a the source to re-apply an undefined projection back to your master plan JPG. I think that might do the trick. Steve
... View more
06-08-2022
11:33 AM
|
1
|
0
|
4392
|
|
POST
|
You could use an Arcade Expresison to do that work. Example: var theDate = Now();
var theMonth = Month(theDate) + 1; //Month() returns a value 0-11 so add 1 to it
return theMonth + '/' + Year(theDate);
... View more
05-16-2022
02:03 PM
|
0
|
1
|
2217
|
|
POST
|
It's unfortunate that you have that issue with Trimble software because otherwise I would just recommend staying with a Geo 7X. This was my dilemma about a year or so ago when I had to figure out a replacement for our Trimble GeoExplorer XH whose battery (its 3rd) no longer held a charge. The choices came down to a Geo 7X or one of the bluetooth enabled GPS receivers and ESRI's Field software apps. Ultimately I chose to stay with the Trimble Geo style receiver because I still wanted the option for post processing of our data since my environment typically includes forested wetlands and other challenging acquisition conditions. I think you do have to weight the costs because it is kind of a pay now or pay later situation. If you go cloud, there are additional costs which you may not have anticipated. For what it's worth, here's the text of what I had written up in a memo about our purchase recommendation. Again, it seems like you have a fatal flaw due to your other software dependency but maybe this will still be of some use. Steve Current Situation Our Trimble GeoExplorer XH has performed wonderfully but is now 13 years old. We have replaced the internal battery twice and that battery is no longer available. More importantly, in April of 2019, the GPS constellation of satellites experienced an intentional “rollover” in their internal memory where the date information that is stored is reset. Newer GPS units are not impacted by this phenomena but older units like ours are impacted. While there is a free firmware update to fix this problem, it requires us to update the desktop software that handles the GPS data processing and that doesn’t seem practical, especially since we can no longer replace the internal battery. Replacement Options A lot has changed since our original purchase back in 2007. While dedicated handheld computer/GPS units still exist, the emerging trend in GPS receivers for mapping are antenna receivers that connect wirelessly via Bluetooth to the device of choice (smartphone, tablet, etc). Here are the options and their prices for a GPS unit with sub-meter accuracy: Integrated Computer/GPS Unit The Trimble Geo 7x is the current equivalent of our current model, the GeoExplorer XT. The Geo 7x was introduced in 2013 and is still an officially supported product by Trimble but it is also built on Windows Mobile 6.5 which Microsoft no longer officially supports and will stop licensing new copies in December 2020. That being said, Trimble has committed to providing service and parts for 7 years beyond the date of a product’s discontinue date. This option would cost: Trimble Geo 7x $5995 Trimble Tornado Antenna $1462 ESRI Arcpad 10.2 $700 Trimble Positions Software Extension $500 Range Pole Bracket $135 Total: $8792 This option has a high initial cost but no reoccurring costs barring repairs. Bluetooth Enabled GPS Receivers This option has increasingly become the new standard of data collection and has lower startup costs but introduces reoccurring costs which I’ll discuss separately. There are a few different options within this category at different price points: EOS Arrow 100: This is a single band GPS receiver and the unit that PDS purchased for its biologists to use in the field. To date, my understanding is that they have been happy with its performance. It uses an algorithm to “predict” your location when in difficult conditions, something I have been weary of. EOS 100 w/ Survey Antenna $3520 EOS Gold: This unit is an upgrade from the Arrow 100 and includes the two current bands plus it receives a newer third band which is in the process of being rolled out. EOS Gold $4300 EOS Survey Antenna $1250 Pole Mounting System $245 Total: $5795 Trimble R2: Technology wise, this is the functional equivalent to the Geo 7x but packaged as a Bluetooth enabled receiver. Trimble R2: $5215 All of the Bluetooth enabled GPS receivers will likely require an additional reoccurring license fee because they are designed to work with Cloud based solutions. Data collection with all these options would be accomplished using ESRI’s Collector iPhone/iPad application and the use of that application requires what is known as a field worker user account. Unfortunately, here’s where things get a bit murky. I’ve been unable to get a good response from IT about how we want to manage this in the county so I can only provide an estimate based on some assumptions. Since we only have one GPS unit, my desire is that we would be able to set up a generic user account so that any ENVS staff person could use the GPS unit. This idea does run afoul with IT’s security policy of sharing passwords (though there are some exception examples such as the ENVS permit email account). Each Field Worker User Role costs $325/year. If we must have accounts tied to actual individuals then the annual cost would be: $325/year x (# of staff collecting GPS data) Again, my hope is that we can utilize a generic account and just require one $325-account. I should note that this cost is for staff *other than myself*. I have an elevated user role due to my work so I would be able to utilize that role if I am called on to do any data capture. This $325 cost per user is associated to any additional staff that may collect GPS data. This would be the extent of additional costs should we decide to purchase either the Arrow 100 or the Arrow Gold. Neither EOS unit supports the ability to post-process the data collected for increased accuracy. The Trimble R2 does support the ability to post process your collected data for increased accuracy but requires using a new Cloud-based service called TerraFlex by Trimble which costs $400/year to access and use. Recommendation It’s been quite difficult to come to a recommendation with so many unknown variables that come into play. I’ve tried my best to anticipate the costs associated with each unit but there’s always a chance I’ve missed something or the cost changes. Any unit in this list can meet our needs but I will list my recommendation, in order of preference; Trimble Geo 7x ($8792) Trimble R2 ($5215) EOS Arrow Gold ($5795) EOS Arrow 100 ($3520) I ranked the EOS Arrow 100 last primarily because it is a single band receiver, and research shows that dual band GPS receivers do better in difficult situations such as under forest canopy. The Trimble R2 & EOS Arrow Gold are almost a toss-up but I gave the edge to Trimble because of Trimble’s proprietary technology which helps with data collection in difficult environments. This leaves the Geo 7x as my recommendation. It is not the cheapest (unfortunately), but Trimble’s integrated handhelds are built very solid and last a long time. I have a high confidence that any Geo 7x that we purchase today will still be operable in 7 years, if not longer. Speaking for myself, I know that I will be able to be productive immediately with a Geo 7x because I am already familiar with the software and its associated workflow environment.
... View more
04-22-2022
08:41 AM
|
4
|
2
|
5425
|
|
POST
|
Look at the answer here by Dean. It sounds like this will accomplish what you want. I haven't run through those directions so I can't say that it does or doesn't do what it claims. Steve
... View more
04-18-2022
04:08 PM
|
0
|
1
|
2662
|
|
POST
|
I'm just thinking out loud but since you're working in ArcGIS Pro and not over the web exclusively, how about downloading a copy of the image from the REST endpoint to a given folder on the user's machine, create a world file for the JPG in the same folder, and then add the image to the map? You seem to have access to the 4 corner coordinates so I think you have enough information to work off of. Download one of those files and then work through it manually and then automate it based on what you learn.
... View more
04-13-2022
12:14 PM
|
0
|
1
|
1682
|
|
POST
|
I could swear that one or 2 of the WebApp templates weren't as icon cryptic but I could be wrong on that. One thing that the WebApps do better is consolidate all tools/functionality into one place. The constant ping-ponging from left edge to right edge to access and change settings is really annoying (go to the left side to select a layer, go back to the right side to access a property..). Also, the use of an "eye" icon instead of a checkbox to denote a layer's visibility isn't as obvious as ESRI thinks either. I like the new map viewer functionality but I don't like the UI that's been built around it.
... View more
04-08-2022
02:23 PM
|
0
|
1
|
3870
|
|
POST
|
For better or worse, that's the answer so I've marked it as such. I would still very much advocate for an option to either have them open or closed as a default. As a long term GIS user, I have no problems with adopting keyboard shortcuts but the problem is that we have to share our map products with others who aren't as savvy (which is what I am doing here). I guess I'll have to create a Webapp Builder app in order to make it more user friendly.
... View more
04-08-2022
01:29 PM
|
0
|
3
|
3880
|
|
IDEA
|
Seeing how it's now April 2022 and this isn't part of the viewer, what's the latest projection for adding this? I was about to submit an idea about the color UI inconsistencies between layer symbology and label symbology but found this thread. Although the OP doesn't explicitly mention it, I want to see the color picker available for the label's color *and* the halo. Whereever in the app there is a color value option, it should provide the same level of options.
... View more
04-08-2022
09:51 AM
|
0
|
0
|
3139
|
|
POST
|
Thanks, maybe there is hope that it can be controlled. Now to wait for ESRI to chime in and tells us how.
... View more
04-08-2022
09:34 AM
|
1
|
0
|
3895
|
|
POST
|
Finally dove into creating a new map using the new map viewer last night. When the map loads, the panels located along the left/right edges are collapsed by default. Is there a way to specify that they are expanded by default instead? I haven't been a fan of the redesign and the default nature of just icons leaves a lot to be desired in terms of telling a user what they can do once the map loads. At least with the panels expanded there is some explanatory text to suggest what they can do.
... View more
04-08-2022
08:02 AM
|
0
|
8
|
3918
|
|
POST
|
Rather than defining the popup content during layer construction like you have listed, I would suggest using the function option for popup content instead. The benefit of doing this is that the function is passed a graphic feature which then gives you access to the coordinates of where a user clicked. // The following snippet shows how to use a function
// to create a simple node and display it in the popup template content
let template = new PopupTemplate({
title: "Population by Gender",
content: setContentInfo
});
function setContentInfo(feature){
// create a chart for example
let node = domConstruct.create("div", { innerHTML: "Text Element inside an HTML div element." });
return node;
} Steve
... View more
03-24-2022
08:10 AM
|
1
|
1
|
3717
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 5 hours ago | |
| 1 | yesterday | |
| 1 | a week ago | |
| 2 | a week ago | |
| 1 | 2 weeks ago |