POST
|
Sample code links exist in that Search Widget help page link I provided already. And here's another one from the Code Samples. You might also gain some help by typing 'search widget' into the Esri Community search widget.
... View more
2 weeks ago
|
0
|
0
|
50
|
POST
|
I'm not sure what you are going to use a 'Near Me' test with an address for. If your users are entering an address, then maybe you should look at the Search Widget (links to examples are on that page). If you want them to select a polygon based on the value of one of it's attributes, maybe you want to look at something like this . And if you want to have them select features based on a user supplied boundary then maybe you want to look at this example.
... View more
2 weeks ago
|
0
|
2
|
60
|
POST
|
You could get an account at CodePen and save your work there. Then you could provide others with that to test things. But that wouldn't be your production version. To do that you would need to house an Internet Information Server (IIS) from Microsoft, or an Apache server and expose it outside of your firewall, or purchase space on a server already on the internet such as through Servermania or GoDaddy, or utilize cloud services such as Amazon Web Services to have an internet server built in the cloud. Either way, you need a web application server on the internet that you can upload your web site to. You can build applications that utilize GIS data on ArcGIS Online, or ArcGIS Portal that are shared through a firewall, but either way you need to have access to a server running IIS or Apache, and that is exposed to the internet. If you have a license to ArcGIS Enterprise (ArcGIS Server, ArcGIS Portal, and ?), you can build web sites, and expose them through a server running IIS (or Apache) internal to your organization, but to get them on the internet any internal server needs to be open to the internet for it's web site content to be viewable outside of your org. If you have access to ArcGIS Online to build your data, you just need to get the web site you are building published on an external/external facing server to provide this outside of your organization.
... View more
2 weeks ago
|
0
|
0
|
35
|
POST
|
If you had the features in the same map, you could search the View's onclick for any graphics related to one layer, and if they exist, only show the popup for that layer (by only gathering up the features for that layer). Then, if features weren't found for that layer, you could use those for that feature's popup (by only passing the features for that layer). This is how I'd approach it:
2 weeks ago
|
1
|
1
|
43
|
POST
|
扩大小部件内容部分描述我t can handle a Node, String, or Widget. So you could add text like this:
2 weeks ago
|
1
|
1
|
48
|
POST
|
Ah, so the key was adding the popupTemplate info for the related table. I think.
... View more
2 weeks ago
|
0
|
0
|
63
|
POST
|
我认为这是工作。我只是说我们的巴士站yer and associated routes into your code and it works.
2 weeks ago
|
0
|
1
|
76
|
POST
|
Done
... View more
3 weeks ago
|
0
|
0
|
30
|
IDEA
|
我们有轻轨客流量点情况ated when the cars stop at a station and people either get off (alight) or get on (board). This is supposed to occur next to a station, but due to irregularities in GPS locating they sometimes occur at a distance away from the station. In order to identify which station the records belong to, I developed a SQL Server procedure that (using SQL Server Spatial tools) determines the nearest station based on distance. This works pretty well until you get to some stations that are really close, or where the Eastbound/Westbound lines actually share the same station. 50th Street Station, East and West Bound So we've come up with the idea that we should build polygons around the light rail stations to allow for points to be defined to the correct, or at least 'most' correct light rail station based on them being in a polygon, vs just the closest station. To build the polygons I was going to buffer the 2 light rail lines (Eastbound and Westbound) the outside by say 1/2 of a mile, and then determine the centerline between the 2 lines for something that would divide the 2 halves evenly. I tried using the Merge Divided Roads in Pro. I added a field called 'Class' to the light rail routes and calculated them all to be '1'. Then I ran Merge Divided Roads and it returned the same routes that went into the command. arcpy.cartography.MergeDividedRoads("LightRailLine", "Class", "1000 Feet", r"C:\Documents_Me\Projects\Ridership\MyProject1\MyProject1.gdb\LightRailCenter", None, None, None) Not sure how to use this command I kept looking and came across the CollapseDualLinesToCenterline command for ArcMap. Not finding an equivalent for Pro, I fired up the ArcMap I still have on my desktop and within a minute I had the centerline I was looking for: Not sure why it does some of the squiggles it does, as the existing routes don't seem to deviate that much, but at least it's a start in getting something to work with. Now I can get on with creating polygons around each station. I can see a Collapse2LinesTo1Centerline command in Pro as being helpful for this specific situation, but also others such as showing the center of a river based on its 2 banks, or merging 2 or more roads (different LIDAR/GPS tracks?) into 1 centerline, or finding the line between 2 distant parcels. When I was with the Dept. of Transportation, we had an awesome developer, Tom Tyndall that came up with a way to show multiple fence surveys next to roads by buffering each survey from the road (or last survey) and creating offset lines with survey attributes. I've often wondered if something similar could be used to generate transit lines within an urban area, ones that were offset to show better, but didn't overlap other route lines. Maybe a centerline generation tool would help in that instance as well. Thanks for listening. I have 2 lines denoting the path of light rail trains through an urban area. I am interested in segmenti
... View more
3 weeks ago
|
0
|
3
|
115
|
POST
|
Thanks Dan. I had messed around with Merge Divided Roads for awhile before I decided it wasn't worth putting that much effort into trying to make my 2 light rail lines look like roads in order for it to work. Since I still had ArcMap loaded it was much easier to get CollapseDualLinesToCenterline to work. Yeah, maybe I'm being lazy but I will still use the ArcMap way until Esri either puts the same functionality in Pro or I HAVE to do something different.
... View more
3 weeks ago
|
0
|
0
|
47
|
Title | Kudos | Posted |
---|---|---|
1 | 2 weeks ago | |
1 | 2 weeks ago | |
1 | 11-09-202207:57 AM | |
1 | 10-26-202208:22 AM | |
8 | 10-18-202211:15 AM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|