|
POST
|
The attached is the screenshots of my rest service. Thanks, Luci
... View more
03-25-2013
08:38 AM
|
0
|
0
|
2066
|
|
POST
|
This is my config.xml file <?xml version="1.0" ?> <!-- //////////////////////////////////////////////////////////////////////////////// // // Read more about ArcGIS Viewer for Flex - http://links.esri.com/flexviewer // //////////////////////////////////////////////////////////////////////////////// --> <configuration> <title>ArcGIS Viewer for Flex</title> <subtitle>a configurable web mapping application</subtitle> <logo>assets/images/logo.png</logo> <style> <colors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</colors> <alpha>0.8</alpha> </style> <!-- replace the following url with your own geometryservice --> <geometryservice url="http://fwbgis/arcgis/rest/services/Utilities/Geometry/GeometryServer" /> <!-- UI elements --> <widget left="10" top="50" config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf" /> <widget right="20" top="55" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf" /> <widget left="0" top="0" config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf" /> <map wraparound180="true" initialextent="-9657400 3552400 -9627600 3566500" fullextent="-17360000 1756000 -2518000 8321000" top="40" addarcgisbasemaps="false"> <lods> <lod resolution="9783.93962049996" scale="36978595.474472" /> <lod resolution="4891.96981024998" scale="18489297.737236" /> <lod resolution="2445.98490512499" scale="9244648.868618" /> <lod resolution="1222.99245256249" scale="4622324.434309" /> <lod resolution="611.49622628138" scale="2311162.217155" /> <lod resolution="305.748113140558" scale="1155581.108577" /> <lod resolution="152.874056570411" scale="577790.554289" /> <lod resolution="76.4370282850732" scale="288895.277144" /> <lod resolution="38.2185141425366" scale="144447.638572" /> <lod resolution="19.1092570712683" scale="72223.819286" /> <lod resolution="9.55462853563415" scale="36111.909643" /> <lod resolution="4.77731426794937" scale="18055.954822" /> <lod resolution="2.38865713397468" scale="9027.977411" /> <lod resolution="1.19432856685505" scale="4513.988705" /> <lod resolution="0.597164283559817" scale="2256.994353" /> <lod resolution="0.298582141647617" scale="1128.497176" /> <lod resolution="0.149291444416222" scale="564.25" /> <lod resolution="0.0746" scale="282.12" /> <lod resolution="0.0373" scale="141.06" /> <lod resolution="0.0187" scale="70.53" /> </lods> <basemaps> <layer label="FWB Map" type="dynamic" visible="true" icon="assets/images/map.jpg" url="http://fwbgis/arcgis/rest/services/Maps/GreaterFWBWebM/MapServer"></layer> <layer label="2010 Aerial" type="tiled" visible="false" icon="assets/images/basemap_imagery.jpg" url="http://fwbgis/arcgis/rest/services/Maps/AerialFeb2010WebM/MapServer"></layer> <layer label="World Streets" type="tiled" visible="false" icon="assets/images/basemap_streets.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"></layer> <layer label="USA Topo" type="tiled" visible="false" icon="assets/images/basemap_topographic.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer"></layer> </basemaps> <operationallayers> <layer label="GIS Map" type="dynamic" visible="true" url="http://fwbgis/arcgis/rest/services/Maps/FWBWebMap/MapServer"> <sublayer id="153" popupconfig="popups/PopUp_FWBParcels.xml" /> <sublayer id="154" popupconfig="popups/PopUp_FWBParcels.xml" /> <sublayer id="147" popupconfig="popups/PopUp_FIRM.xml" /> <sublayer id="145" popupconfig="popups/PopUp_HS.xml" /> <sublayer id="144" popupconfig="popups/PopUp_ElevCert.xml" /> <sublayer id="142" popupconfig="popups/PopUp_Wetlands.xml" /> <sublayer id="138" popupconfig="popups/PopUp_FWBLanduse.xml" /> <sublayer id="139" popupconfig="popups/PopUp_FWBLanduse.xml" /> <sublayer id="140" popupconfig="popups/PopUp_FWBLanduse.xml" /> <sublayer id="134" popupconfig="popups/PopUp_Parks.xml" /> <sublayer id="129" popupconfig="popups/PopUp_CityProperty.xml" /> <sublayer id="128" popupconfig="popups/PopUp_PCI.xml" /> <sublayer id="122" popupconfig="popups/PopUp_StreetSigns.xml" /> <sublayer id="121" popupconfig="popups/PopUp_Streetlights.xml" /> <sublayer id="120" popupconfig="popups/PopUp_SewerTaps.xml" /> <sublayer id="119" popupconfig="popups/PopUp_WaterTaps.xml" /> <sublayer id="108" popupconfig="popups/PopUp_FWBRMain.xml" /> <sublayer id="107" popupconfig="popups/PopUp_FWBRLateral.xml" /> <sublayer id="101" popupconfig="popups/PopUp_FWBRMeter.xml" /> <sublayer id="100" popupconfig="popups/PopUp_FWBRHydrant.xml" /> <sublayer id="103" popupconfig="popups/PopUp_FWBRValve.xml" /> <sublayer id="106" popupconfig="popups/PopUp_FWBRValve.xml" /> <sublayer id="102" popupconfig="popups/PopUp_FWBRNetworkStructure.xml" /> <sublayer id="105" popupconfig="popups/PopUp_FWBRFitting.xml" /> <sublayer id="116" popupconfig="popups/PopUp_FWBSWMain.xml" /> <sublayer id="117" popupconfig="popups/PopUp_FWBSWMain.xml" /> <sublayer id="111" popupconfig="popups/PopUp_FWBSWInletOutlet.xml" /> <sublayer id="112" popupconfig="popups/PopUp_FWBSWInletOutlet.xml" /> <sublayer id="113" popupconfig="popups/PopUp_FWBSWInletOutlet.xml" /> <sublayer id="114" popupconfig="popups/PopUp_FWBSWHeadEnd.xml" /> <sublayer id="115" popupconfig="popups/PopUp_FWBSWHeadEnd.xml" /> <sublayer id="92" popupconfig="popups/PopUp_FWBSSManhole.xml" /> <sublayer id="96" popupconfig="popups/PopUp_FWBSSFM.xml" /> <sublayer id="97" popupconfig="popups/PopUp_FWBSSMain.xml" /> <sublayer id="98" popupconfig="popups/PopUp_FWBSSLateral.xml" /> <sublayer id="95" popupconfig="popups/PopUp_FWBSSNetworkStructure.xml" /> <sublayer id="87" popupconfig="popups/PopUp_FWBSSCleanout.xml" /> <sublayer id="91" popupconfig="popups/PopUp_FWBSSStubout.xml" /> <sublayer id="85" popupconfig="popups/PopUp_FWBWMain.xml" /> <sublayer id="84" popupconfig="popups/PopUp_FWBWLateral.xml" /> <sublayer id="74" popupconfig="popups/PopUp_FWBWMeter.xml" /> <sublayer id="77" popupconfig="popups/PopUp_FWBWHydrant.xml" /> <sublayer id="81" popupconfig="popups/PopUp_FWBCHydrant.xml" /> <sublayer id="82" popupconfig="popups/PopUp_FWBMHydrant.xml" /> <sublayer id="75" popupconfig="popups/PopUp_FWBWValve.xml" /> <sublayer id="79" popupconfig="popups/PopUp_FWBWValve.xml" /> <sublayer id="80" popupconfig="popups/PopUp_FWBWNetworkStructure.xml" /> <sublayer id="83" popupconfig="popups/PopUp_FireStations.xml" /> <sublayer id="78" popupconfig="popups/PopUp_FWBWFitting.xml" /> <sublayer id="71" popupconfig="popups/PopUp_References.xml" /> <sublayer id="72" popupconfig="popups/PopUp_References.xml" /> <sublayer id="69" popupconfig="popups/PopUp_Subdivisions.xml" /> <sublayer id="11" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="12" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="13" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="14" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="15" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="16" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="17" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="10" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="9" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="8" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="7" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="5" popupconfig="popups/PopUp_Brownfields.xml" /> <sublayer id="1" popupconfig="popups/PopUp_Addresses.xml" /> <sublayer id="2" popupconfig="popups/PopUp_AddressesC.xml" /> </layer> </operationallayers> </map> <!-- widgets organized into widget containers that manage close/open etc --> <!-- supported layout property options: horizontal(default)|float|vertical|fix --> <widgetcontainer layout="float"> <widget label="Bookmarks" left="430" top="90" icon="assets/images/i_bookmark.png" config="widgets/Bookmark/BookmarkWidget.xml" url="widgets/Bookmark/BookmarkWidget.swf" /> <widget label="Louisville Police" left="590" top="280" icon="assets/images/i_police.png" config="widgets/Query/QueryWidget_Louisville_PoliceStations.xml" url="widgets/Query/QueryWidget.swf" /> <widget label="Search" left="80" top="280" icon="assets/images/i_search.png" config="widgets/Search/SearchWidget_Louisville.xml" url="widgets/Search/SearchWidget.swf" /> <widget label="Earthquakes (GeoRSS)" left="410" top="280" icon="assets/images/i_rss.png" config="widgets/GeoRSS/GeoRSSWidget.xml" url="widgets/GeoRSS/GeoRSSWidget.swf" /> <widget label="Draw" left="60" top="400" icon="assets/images/i_draw2.png" config="widgets/Draw/DrawWidget.xml" url="widgets/Draw/DrawWidget.swf" /> <widget label="Print" left="390" top="400" icon="assets/images/i_print.png" config="widgets/Print/PrintWidget.xml" url="widgets/Print/PrintWidget.swf" /> <!-- <widget label="My first widget" icon="assets/images/i_widget.png" config="widgets/Samples/HelloWorld/HelloWorldWidget.xml" url="widgets/Samples/HelloWorld/HelloWorldWidget.swf"/> --> </widgetcontainer> </configuration>
... View more
03-25-2013
08:33 AM
|
0
|
0
|
2066
|
|
POST
|
Hi, I guess this is by design in 10.1 Every published service on my Server is a connection to my SQL database. With the default maximum connections being 64, I soon ran out of connections. I increased that amount to 200 using the SDE command line interface and have not had the "no available connections" error anymore. Just wondering how many connections is too many? Also, we have 1 Windows 2008 R2 server with SQL 2008 R2, Esri Server 10.1 and Web Adaptor installed. (SDE is not installed - all connections are direct). For production we have a SQL GDB that is maintained by 1 GDB Admin and 3 GDB Editors. The SQL GDB is then replicated to another SQL GDB on the same SQL server and between 50 and 100 users view that replicated data using our Flex Viewer app. So, I guess my question is which of the following scenarious is better or are they equivalent? 65 mxd's published as a Service to Server and making 65 connections to replicated GDB or 1 mxd that contains same data as in the 65 mxd's published as a Service to Server and making 1 connection to replicated GDB I am still a tad confused when it comes to the difference between Pooling - Number of Instances AND Processes - Run instances in High or Low isolation and how many instances. Anyone have any thoughts? Thanks, Luci
... View more
03-21-2013
08:37 AM
|
0
|
1
|
2149
|
|
POST
|
Yes, I can get to it and see the xml file in my browser at: http://fwbgis/fwb/popups/popup_addresses.xml Unfortunately, this is not a public website. I am beginning to think it is a connection or permission problem with our SQL database. 😕 Thanks, Luci
... View more
03-20-2013
04:16 AM
|
0
|
0
|
2066
|
|
POST
|
Hi, We have a new server that has ArcGIS Server 10.1 SP1, Desktop 10.1 (no SP1), SQL 2008 R2, and Windows Server 2008 R2, IIS7, and Esri Web Adaptor installed on it. We created our maps, registered the data with Server and published the maps as services. We have the "Site (root)" directory security set to "Public, available to everyone". We can see the REST endpoints at http://fwbgis/arcgis/rest/services so the Web adaptor is working. (No, the site is not open to the general public, only to those on our network) I tested our old version of FlexViewer 3.0 that was configured to work with our 10.0 services on our old server. Changed all of the rest http://.... to point to the new server and everything works EXCEPT popups. All of the services are Dynamic. I downloaded the uncompiled FlexViewer 3.1 and started from scratch. Everything works EXCEPT popups. I just get a small spinning clock that quickly dissappears. I have also tried the eSearch widget and cannot select a parcel to buffer - I receive "[RPC Fault faultString="Requested operation is not supported by this service." faultCode="400" faultDetail="The requested capabiliity is not supported."] Any ideas? This is a sample of one of the popup.xml files that are in the popups folder in the Flexviewer app that works on the old system but not on the new system: <?xml version="1.0" encoding="utf-8"?> <configuration> <title>City Address</title> <fields> <field name="SITE_ADDR" alias="Address" visible="true" /> <field name="LOCID" alias="Location ID" visible="true" > <format usethousandsseparator="false"/> </field> <field name="CAD" alias="CAD" visible="true" /> <field name="XCoord" alias="XCoord" visible="true" /> <field name="YCoord" alias="YCoord" visible="true" /> <field name="EMS_DIST" alias="EMS" visible="true" /> <field name="FIRE_ZONE" alias="FIRE" visible="true" /> <field name="STRAP" alias="STRAP" visible="true" /> </fields> <showattachments>FALSE</showattachments> </configuration> Thank you! Luci
... View more
03-19-2013
12:56 PM
|
0
|
9
|
2225
|
|
POST
|
Good Afternoon, I looked at the different apps and I couldnt find what I am looking for. On a side note, we have been waiting to upgrade to 10.1 so we can do advanced printing, etc. Our new server should be here in a month or so and we will be upgrading then. Maybe at that time we can implement some of the newer stuff. I have created a web page with three icons that allow users to begin flexviewer with different config.xml files. That was the first method I tried in controlling which map layers were visible, but it is only good upon startup. They didnt really like that. So, I added the widget where users click on the widget icon which opens up a widget window with three buttons. Depending on which of the three button they choose, layers are turned on/off programmatically. They dont really like that either. They are afraid people will not know to click on the icon. So, I just want those three buttons on the header instead of wrapped up in a widget. I am not a programmer by schooling, so I am hacking my way through and trying to learn the proper methods as time allows. 🙂 Thanks! Luci
... View more
01-16-2013
08:17 AM
|
0
|
0
|
609
|
|
POST
|
Currently I have a widget that allows users to display certain map layouts. All it basically does is turn layers on/off programmatically based up which map they want to see (see graphic). I would like to have three icons instead of the widget on the Header. ie: "Zoning Map", "Flood Map", " City Map" that would essentially do the same thing when the icon was clicked. Is this a possibility? [ATTACH=CONFIG]20761[/ATTACH] Thank you in advance! Luci
... View more
01-16-2013
05:00 AM
|
0
|
3
|
1182
|
|
POST
|
Here is what I have, we are behind a firewall so you wont be able to get to our mapservices. Thanks, Luci
... View more
09-18-2012
03:17 AM
|
0
|
0
|
866
|
|
POST
|
You have been such a great help. I apologize for being so ignorant on the subject. But, hopefully in time I will get it. I have tried a couple of different ways to use your code above and I am running into errors. Currently, I have the var app statement in my default.html with my other variables. I added the app.legend=new code you have in the same default.html file in the function init() area of my code and it is before the addDynamic(l). I added the if statement to the end of my addTOC.js file right before the map.addlayer(layer); statement. The error I recieve is: legend.js Line: 19 Error: Unable to set value of the property 'innerHTML': object is null or undefined Thanks, Luci
... View more
09-17-2012
12:32 PM
|
0
|
0
|
866
|
|
POST
|
Now I cannot get it to work with the legend dijit. I changed it from onLayersAddResult to onLayerAddResult and the legendDIV pane is still not showing any layers. Any suggestions? This is what I have in my Default.html right before it runs function(l) //add the legend dojo.connect(map, 'onLayerAddResult', function(results) { var layerInfo = dojo.map(results, function(layer, index) { return { layer : layer.layer, title : layer.layer.name }; }); if (layerInfo.length > 0) { var legendDijit = new esri.dijit.Legend({ map : map, layerInfos : layerInfo }, "legendDiv"); legendDijit.startup(); } }); I have even tried adding legendDijit.refresh(): after map.addLayer(layer); in your function... puzzled I am also wondering if I can change the draw order of the layers. As it is now, the last layer in my layer list is the layer on TOP. I would like it to be the layer on the BOTTOM. Thanks, Luci
... View more
09-17-2012
09:39 AM
|
0
|
0
|
866
|
|
POST
|
Thank you so much. I believe it is working for the most part. When I tested it in IE 9 I get a debug message about 'layersDynamic" being undefined and my layers do not load. Is the proper method of loading the config.js (js object) the use of <script type="text/javascript" src="js/config.js"/> or do I need to load it in a different manner so that IE9 knows that is it a variable? Thank you! Luci
... View more
09-13-2012
06:44 AM
|
0
|
0
|
2000
|
|
POST
|
I am still in the early learning stage of HTML5 and javascript. So, what I tried was this: I copied your config object code and made a config.js file and modified it with my map services. I then added <script type="text/javascript" src="js/config.js"></script> so that it is the first item loaded in my default.html file. Then, I removed all of the code from my default.html file that had anything to do with reading in my old config.json file. I then copied your code for adding layers in my default.html where I would want the layers added after the lengendDijit was started. Then, I copied the last code you have and made it into a utils.js file which I am loading at the top of my default.html file. I tested it and the layers are not loading. Any advice? Thanks, Luci
... View more
09-12-2012
09:59 AM
|
0
|
0
|
2000
|
|
POST
|
The Json formatter says the config.json file is "Valid". I tried to install firefox and firebug but there is a bug in the new version of firefox that is not allowing our proxy and non-proxy websites to work together.
... View more
09-11-2012
10:44 AM
|
0
|
0
|
2000
|
|
POST
|
The file, config.json, is where I am pulling the information from. I have tried to just create an array of the layernames and cannot get it to work either. Text I tried in Config.json file: { 'AaLyrname' : "parcelsLayer, parcelsarLayer, firmLayer, hurricaneLayer" } Text I tried in Default.html file: dojo.xhrGet({ url: "Config.json", handleAs: "json", preventCache: true, load: function(responseObject, ioArgs){ layrname = responseObject.Lyrname; aalyrname = responseObject.AaLyrname; var aaalyrname=aalyrname.join(); map.addLayers([aaalyrname]);
... View more
09-11-2012
09:58 AM
|
0
|
0
|
2000
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-04-2023 06:49 AM | |
| 1 | 09-29-2014 01:05 PM | |
| 1 | 11-30-2015 10:09 AM | |
| 1 | 02-09-2015 01:56 PM | |
| 1 | 12-30-2014 05:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-04-2023
10:56 PM
|