Is it possible to configure the Land Use Public Notification application to accept a buffer of 0 feet. My goal is to simple select a set of parcels with the "Add adjacent parcels" option and only make labels from that selection set.
Changing the LOWPARCELID with PARCELID in the infoWindow.js file corrected the 0' buffer issue for me. I was not having a problem with selections or the selection graphic. Interestingly though, I've found that if you don't have the LowParcelIdentification defined, you will get the selection graphic that only shows one parcel selected. It doesn't have to be defined with nay specific field, just something. For example, I have it defined as an OWNERNAME field.
Update, I tried applying this change to other apps I've implemented and I'm still getting the Cannot read property 'expand' of undefined error. One I even completely copied the app that worked across and just changed the main config file back to the app in question and it still gets the error.
For some reason my application still does not accept the 0 foot buffer. It says geometry is undefined.
That is good to know. I am guessing it's just their polygon tool not working properly then. At least it does create labels for all the ones you would want though.
It only fixed the 0 buffer issue. I haven’t found a solution for the display issue, but from what I can tell, it isn’t related to the selection itself. Labels are created as they should be. Also, I wouldn’t suspect it has anything to do with the data itself. It happens if I publish the app using the esri sample data too. The only place I’ve seen it work properly is on the try it site.
Did changing the LOWPARCELID with PARCELID also help with showing the correct parcel selection or did it just fix the 0' buffer? I have been running into these same issues myself.
I've been hammering on the zero buffer issue for days. For me it will return results...but the results are outlandish. For a selection of just a few parcels, a zero buffer returns 50 pages of labels. I've tried the develop branch and there's no relief. Also, aside from the zero buffer issue the correct parcel selection doesn't show up on the screen. The labels get generated for all the parcels despite not being displayed. I'm thinking it must be a data related issue since it seems to work with the esri data/services. I'm going to try eliminating all overlapping polys next to see where that gets me. It'd be wonderful if esri ported this functionality to an AGOL solution. These kind of apps are cool, but can be very difficult to get working right. Let me know if you figure anything out.
Update:
I edited the infoWindow.js file to get this working for me. I did a find/replace substituting the LOWPARCELID with PARCELID everywhere it occurred in the file. I'm not entirely sure why the code doesn't use something that is unique and invariably populated like OBJECTID instead of LOWPARCELID here, but it must need a text field. In any event, maybe this tweak will work for others who are having the zero buffer issue.
Hi Scott,
When I try 0 buffer with Oak Grove I am now getting results. Were you able to resolve this?
-Lindsay
Hi Lindsay,
1) We only made changes to the config.js file. In pretty much all 14 places noted in the comments at the
beginning of the file.
2) No changes were made to the GP tools
3) The GP and Geometry services are coming from ArcGIS Server 10.3.1
Utilities/Geometry (GeometryServer)
Task: GenerateAveryLabels
Task: GenerateCSVMailingList
Though the parcel layer resides in Oak Grove AGOL Org (I wonder if this is the problem)
https://services6.arcgis.com/f79xZ44vfYtaG5qt/arcgis/rest/services/OakGroveMN_GIS/FeatureServer/5
4) I'm not sure exactly what you mean by a community to search for. You can use the City Hall address
(19900 NIGHTINGALE ST NW) or search for properties owed by the city (Oak Grove) since you can search
by owner name. You can also select properties by entering any street name on the map or by clicking on
the map.
Hi Scott, Thanks for providing the URL. It should work on your application too.
Just a few follow up questions. I see the application was configured using your schema which should work.
-Were there any customization's to the code? (if yes, can you outline the changes)
-Were there any customization's to the geoprocessing tools? (if yes, can you outline the changes)
-What version of ArcGIS Server are you using for the GP and Geometry Services?
-Can you provide an example of a community I can search for ?
Lindsay
Yes Lindsay, the behavior you describe and are able to do on your try it live site is what I'm want to do. I just downloaded the most recent Land Use Public Notification package from the Local Government Solutions page and configured ti for my maps and services. I am still getting the error "Parcel not found at current location," when entering a 0' buffer radius. It works as erected when entering any number larger than 0. (http://gis.msa-ps.com/publicnotificationoakgrovenew/)
You can try using our "Try It Live application here: Public Notification" to select individual parcels without a buffer. Thus only selecting parcels not buffering them.
To select individual parcels:
Click on the parcel you want to select
Click the +Add adjacent parcel button
Press Ctrl+Map click to select the next parcel (etc, until all parcels are selected)
Click on any selected parcel (all parcels are still selected)
Click on the evelope icon at the top of the popup
Enter 0 as the buffer
Select other parameter options you desire
Click Download
This will give you only the parcels selected.
Please let us know if this satisfies your requirements
Cheers,
(Thanks for coming out to the SIG at UC)
Scott Oppmann I attended the luncheon at the Uc and this discussion came up in regards to drawing a sketch to select parcels. I agree that that becomes a little arc map like, but you hinted at being able to achieve that through simple ctrl selection. How do you do that without entering a buffer distance?
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.