|
POST
|
Brad, Thank you for the latest style sample. It definitely filled in the gaps that the customization white paper fails to cover. My functional style file is attached. It honors fractional address fields as well as separate unit type and unit number fields. I hope folks find it useful if their data is structured in a similar way! Share it far and wide and please, ESRI, polish it and include it as a default in 10.1! I never want to have the need to do this customization again! You need to place this style file in the locator directory of your ArcGIS install. The default location is: C:\Program Files\ArcGIS\Desktop10.0\Locators Our site address data layer uses the following fields: Address Address Fractional (i.e. the "A" or "1/2" in "80 A Main St" or "80 1/2 Main St") Prefix Direction Street Name Street Type Suffix Direction Unit Type (i.e. Unit, Ste, #) Unit Number City ZIP Code State The style has not been tested in any other configurations. EDIT: We are currently on SP1--no testing with SP2 has been done! Enjoy, Brian
... View more
07-27-2011
02:42 PM
|
0
|
4
|
3127
|
|
POST
|
Brad, I used the White Paper to create my own locator .lot file for units as well as my address fractional field. I have some questions that I hope you can answer. Overall, when I use a locator built on this .lot, it returns all of the valid addresses (i.e. ALL of the unit points within the apartment complex). This also happens with the successful matches with addresses having a fractional (i.e. 80A N Main St). How do I "force" the locator to push the record with the actual unit or fractional match I am searching for to the very top? Also, regarding the fractional field, I have been unable to match a "half" address (i.e. 440 1/2 N Main St). If I simply locate 440 N Main St, the system returns the "half" record. I think I am missing something really basic in the formatting but I'm stumped. I compared my .lot with the version you posted and mine gets around the persistent "#" sign by using our UnitType (unit, ste, #) field along with the UnitNumber field. But I realize not everyone maintains their data in this way. I am running SP1 at the moment, and I've attached my .lot. Thanks for any insight, Brian
... View more
07-22-2011
12:41 PM
|
0
|
0
|
3127
|
|
POST
|
Charles, The tool that Meghan's link references is great if you are using the Web Mercator projection that is used by all ESRI map services. But if you are using a different projection in your application, such as a State Plane projection relevant to your locale, that tool will not return the proper coordinates. I am using the Enhanced Bookmark Widget available in the code gallery. http://www.arcgis.com/home/item.html?id=ed4d8dbef33d400499d2cc6475f24a4e This widget allows you to create your own bookmarks based on the current extent and also has functions to save them to a file or email them to someone. You can load that file into the widget as well, but the created bookmarks are really only "local" to the creator or anyone possessing the saved/emailed file. When I want to create bookmarks that will become the "default" for everyone, I create the bookmarks within the widget, then save/email them. I then open that file in a text editor and copy/paste the <bookmark> (singular) tags into my BookmarkWidget.xml configuration file. The bookmarks then become visible to everyone.
... View more
07-19-2011
09:29 AM
|
0
|
0
|
1275
|
|
POST
|
I'll throw in a few thoughts based on my recent experience with getting a test service up and running using our Server instance sitting entirely behind a firewall (no public-facing capability). I haven't had a chance to explore the editing side, so I cannot speak to that. I connect via the built-in VPN capability of the iPhone, so a third party VPN client should be purely optional. In the ArcGIS app, set up your ArcGIS Server connection by clicking the 'Add ArcGIS Server' button. You need to make sure you are actually connected to your network via VPN! In the address field, I needed to use the IP address instead of our internal name for the host (i.e. 55.55.55.55/arcgis/mobile). Using the pdf discussing publishing your map services, I created a text file containing the JSON code for the basemap and operational layers in my test service. My stumbling block was using the internal name for our server rather than the IP address because I simply copied the map service URLs from my flex app configuration files. Once I corrected that bonehead mistake I was able to actually view the service in the app. Follow the pdf instructions for taking the JSON code and publishing it. I realize after playing with my map service in the app that I will need to create specialized mobile-centric map services. For example, some of my existing map services have a few layers within them--some visible by default, others not visible. In my flex app, the user has the ability to check and uncheck the visibility of layers within map services, but the ArcGIS app appears to not have that ability. The takeaway is that whatever map services you present for this app need to structured such that you can provide data visibility at the map service level (the app allows you to turn on/off various individual map services, but not the layers within those services). Hope this helps. I look forward to hearing more about users' experiences with the editing aspect of the app.
... View more
05-13-2011
02:54 PM
|
0
|
0
|
1678
|
|
POST
|
Zlatko, I believe your stumbling block is the UNC path to your pdf. Because this is a web application, the path to your pdf should be a valid URL. Hopefully all of these documents are in an organized location on your network and not spread all over the network. For our City's plats (and the links to them), a folder was created on the network and the plat pdf's are in subfolders within. In IIS, I created a virtual directory to this plat folder. As an example, let's call it 'plats'. The 'root' portion of the URL that all of the pdf's are at would be: http://my.domain.com/plats/ and you would add your pdf filename (including .pdf) (and also including any subfolder as well) to this 'root'. As Eric has found out, spaces in your URL can create problems. We went through our plat folder and added underscores wherever spaces existed, both in the folder names and the filenames. Extra work, but big dividends in that everything works like we want it to with no "works with this but not with that" hassles. UNC paths are a nice solution within ArcGIS ArcMap, but I haven't found a way to utilize them through the flex viewer. If anyone knows how, I would love the info!
... View more
05-05-2011
11:19 AM
|
0
|
0
|
2718
|
|
POST
|
Robert, I wanted to follow up on my initial question with an answer of "yes, it is possible to do what I want!" I, however, also have a quirky issue with the process that I am hoping you can shed some light on. Reference the attached images for visual reference, but in short form: 1. Select the parcel(s) you want to buffer using graphical or attribute search. 2. Buffer said parcel(s) by desired distance. 3. Intersect the parcels with the buffer. 4. Clear the buffer. 5. Intersect the site address points with the parcels selected from the buffer. (6.) Bring up data grid and export results to .csv for your mailing list! Perfect! Except that sometimes the query fails (see step 5 fail image) using the same datasets (different areas of the city). At first I thought it had something to do with the joins on the data, but I just ran a test with some map services set up with all of the joined data embedded in the layer itself, so the actual join is not the smoking gun. Any ideas? In case you ask, my server is completely behind the firewall, so I cannot give you a link, but I am at a loss as to why it is inconsistent with the same datasets. Thanks for your help. Brian
... View more
03-16-2011
02:45 PM
|
0
|
0
|
2504
|
|
POST
|
Darryl, Maybe I simply had "beginner's luck", but before starting the configuration of the time slider I read through the time slider widget help located at: http://help.arcgis.com/en/webapps/flexviewer/help/index.html According to your config file, your date format is set to display as "March, 2011" but your data interval is by day. That could be your issue. The help page for the widget has a link under the <dateformat> tag that covers the syntax for accepted values. I am attaching my timeslider.xml config file as an example, the time excerpt from the REST service listing for the map service being used, and the time properties dialog from the map service .mxd in the hopes that comparing a successful implementation of the widget to your situation is possible. If you look closely you will find that my annexation history starts in 1892 but the time slider is set up to start in 1950. I initially set the widget up to run at a 1 month interval, but our city had no annexations between the initial townsite and 1954. The widget starts by displaying whatever the start time entry is (or likely whatever "stuff" precedes the time you set up, but I didn't test that scenario), so rather than make the user wait "for years (simulated, of course)" I narrowed the time on the slider. You will also notice that the map service shows the interval to be 6 years even though the widget runs with an interval of every 6 months. For some reason the layer properties dialog got reset to the 6 year value even though I initially specified a 1 month interval. Maybe that was because of the overall span of time in my data layer? It doesn't seem to affect the use of the widget, however. Also, I initially had the <thumbmovingrate> tag set to 100 milliseconds to move the 1 month interval along rapidly, but I found that the map server cannot process and push images to the client that quickly. I found that once I paused the slider my annexation polygons would show up in one huge lump instead of "as they were annexed". I ended up changing the interval to every 6 months and the rate to half a second (500 milliseconds). The rate is the key to allowing your server to keep up with the pushes to the client, but without my bumping the interval up the whole time series would take 5-10 minutes to run--users would fall asleep or move on to something else. Keep in mind that my showing annexation history really is just a demo/proof of concept. It is cool to see how parts of the city got annexed, but it isn't as useful as, say, traffic counts or water levels in streams. Hope this helps you and others.
... View more
03-16-2011
07:12 AM
|
0
|
0
|
2374
|
|
POST
|
Darryl, What, specifically, are you needing info on? I just wired up the annexation history for our city as a time slider demo in the Flex Viewer 2.2. My first attempt but I am now thinking of the possibilities with some of our other data. I'm not sure if I have the answers you need but I can take a stab at it.
... View more
03-15-2011
03:23 PM
|
0
|
0
|
2374
|
|
POST
|
Robert, What you have described I have captured in the attached images. I am asking if, after "step 3", there is a way to do a 'contained by' spatial query using the parcels selected in "step 3" as the 'container'. I would be selecting points within those "step 3" parcels. Maybe to put it another way: I need to select all points that are within parcels that are within a buffer distance of 300 feet of a subject parcel. Danor72: I have seen the application that you linked, but I am aiming to do this in the Flex Viewer and not a separate application. Brian
... View more
02-09-2011
09:45 AM
|
0
|
0
|
2504
|
|
POST
|
Robert, Is there a way to select a parcel using a query on the PIN, buffer it, then select points that fall within the parcels selected with that buffer? This process could solve my notification dilemma. We need to buffer a parcel, then notify every parcel owner within the parcel. But some parcels have condos, creating a "many owners to one parcel" relationship that could be easily solved if I can do an additional "query on the query result" of the buffer. Ownership details would be in the point layer and exported from the datagrid to csv. Is your widget able to do this? Great widgets (all of them!) Brian
... View more
02-08-2011
01:44 PM
|
0
|
4
|
4612
|
|
POST
|
Lee, I would classify myself as still in the 'newbie' section for Flex as well. Glad that you got the widget working. FYI for you and anyone else using my widget, I was showing a user the new widget yesterday and he happens to have a system with a monitor resolution of 1024 x 768 (I am running at 1600x1200). The portrait template worked reasonably well, though the map was clipped on the right-hand side of the page. The landscape template had the map overflowing into the title block. The takeaway for me was that I need to explore the results of the pdf formatting at different monitor resolution a bit more. I may need to revisit the discussions from folks using a canvas element instead of consuming the map directly... Brian
... View more
09-03-2010
10:17 AM
|
0
|
0
|
4391
|
|
POST
|
Lee, Just scanning the list of errors in the image you attached, those all appear to be associated with the AlivePDF library. Have you downloaded AlivePDF 0.1.5 RC and referenced that library in your project? I suspect that you haven't and that will solve this issue. I am still running Flex Builder 3, so it is entirely possible that there is an issue associated with bringing the widget into Flash Builder 4, but to me that seems unlikely in this case, though I have no way to test that scenario. I apologize to everyone regarding not mentioning downloading the AlivePDF library first. I guess I wrongly assumed folks would understand that mentioning that the widget uses that library implied that you would need that library installed/referenced to successfully compile the widget. Lee, let me know if this solved your issue. Brian
... View more
09-03-2010
08:46 AM
|
0
|
0
|
4391
|
|
POST
|
Attached is my version of a PDF widget to create portrait and landscape maps in the Sample Viewer 1.3, along with an example of each page orientation. It uses AlivePDF 0.1.5 RC and is written targeting Flash Player 10. No server-side components are required. The widget does not use a canvas element but consumes the map image directly. The widget was based from the default print widget in the sample viewer and buttressed with a number of tips gleaned from the numerous AlivePDF discussions on these forums. The result is not perfect, particularly the scaling of the map image into the pdf template. But that appears to be a shortcoming of the API/libraries in general. If anyone has come up with a method (preferably using the map image directly) to scale the map image to a defined "box" and still preserve aspect ratio, I would be grateful to see it! I still need to refine my templates (and add a 'real', better quality logo) but I will wait until I get feedback from my users. For those that will inevitably ask for a pre-compiled .swf I will say that you really need to compile this yourself due to the tweaks needed for the template format. I tried to put most of the common elements into the config file, but your logo and disclaimer text will likely cause you to move some page elements around for best fit. My previous forum question regarding peoples' methods of creating AlivePDF templates generated zero response, so I can only assume that the trial-and-error method of positioning elements on the page is what everyone else is using. That took the bulk of the time creating this widget. FYI, the two pdf examples were generated with the map jpg quality at 75%. The attached code has the quality set at 100%. For some reason the attachment uploader though my pdf files were over the 2 mb size limit even though they were only slightly over 1 mb. In comparing the two quality settings, I see little to no loss of quality but a huge file size difference. Something to think about... I have no idea how well this will transfer to 2.0. I haven't had a chance to upgrade to ArcGIS 10 yet. Enjoy, and I hope folks find this useful either in its entirety or for a jump-start. Hopefully this is just the start of my giving back to the community. Brian
... View more
09-01-2010
09:32 AM
|
0
|
21
|
11756
|
|
POST
|
I believe I mostly have the whole pdf creation process figured out now, with a boatload of thanks to posts and tips to folks too numerous to mention. What I don't have a good handle on is arriving at the actual layout of the various elements I want on my page. It appears that everyone is using millimeters as their page units, so I am wondering what methods you are using to position the page elements. Is it mostly trial and error or are you approaching it more methodically? I have not been using a canvas element. I took the advice of Robert Scheitlin in one of the posts on this site and am simply using the map element directly. I can do the trial and error 'thing' but I know that my users will start asking me to create new map layouts or tweak the layout for various reasons, so I would like to find an efficient method of working everything out. Thanks in advance for any ideas or methods you would like to share. Brian
... View more
08-25-2010
02:49 PM
|
0
|
0
|
767
|
|
POST
|
Thank you Robert and Bjorn. I suspected that if I ensured compiling with Flex 4 I would be OK. Thanks, also, for the migrating link, Bjorn. Brian
... View more
08-23-2010
01:00 PM
|
0
|
0
|
823
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 09-10-2024 12:21 PM | |
| 4 | 07-18-2023 08:22 AM | |
| 2 | 11-09-2021 05:42 PM | |
| 1 | 01-21-2020 02:00 PM | |
| 5 | 08-01-2022 09:07 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|