POST
|
Due to some server restructuring, the source locator that I used to perform a geocode has moved. When i attempt to rematch addresses I get the following error: "There was an error reading the geocoding information from this dataset". The locator still exists, just in a different location. Is there a way to repoint the locator's location, or do I have to do this all over again?
... View more
11-01-2011
03:59 AM
|
0
|
3
|
789
|
POST
|
I removed the brackets. "World's sloppiest programmer" award goes to me! That did the trick, Robert, and thanks again to everyone who assisted. Each of you contributed very valuable information in assisting me! I'll get the hang of this someday!
... View more
09-01-2011
03:50 AM
|
0
|
0
|
267
|
POST
|
Thank you both very much for taking your time to share these samples (I thought I was on an auto-email notification for this post, but apparently I wasn't...I didn't even know someone responded!). I finally have an array of MapPoints coming in, but something looks askew. Sample geomArr is in attachment txt file. My buffer never draws (it never gets to the bufferCompleteHandler). is that because the extent or spatialReference is null? Well, in this example, the spatial reference is null, but there's a new spatial reference for every map point, when I figured it would all be the same (which should be 3424 - NJ State Plane Coordinates). This is my buffer function: private function bufferPolygonGraphic():void { var graphicProvider:ArrayCollection = _gl_selectAndZoom.graphicProvider as ArrayCollection; var geomArr:Array = []; for each (var graphic:Graphic in _gl_selectAndZoom.graphicProvider)//_gl_selectAndZoom is the resulting graphic drawn on a selection of a parcel { geomArr.push(graphic.geometry);//results are in attached text file } //Alert.show(""+geomArr, "geomArr"); var bufferParameters:BufferParameters = new BufferParameters(); bufferParameters.geometries =[geomArr]; //[polyGraphic.geometry];//[ drawnLine ]; bufferParameters.distances = [ 100 ]; bufferParameters.unit = GeometryService.UNIT_FOOT;//because i am using NAD 83 NJ State Plane Coordinates bufferParameters.bufferSpatialReference = new SpatialReference(3424); the same spatial reference as my map this._gs_buffer.addEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler); _gs_buffer.buffer(bufferParameters);//something is angry here!:mad: } public function bufferCompleteHandler(event:GeometryServiceEvent):void { _gs_buffer.removeEventListener(GeometryServiceEvent.BUFFER_COMPLETE, bufferCompleteHandler); for each (var polygon:Polygon in event.result) { var graphic:Graphic = new Graphic(polygon); graphic.symbol = this._sfs_buffer;//my simple fill symbol for my buffer graphic.toolTip = "Buffered Stuff"; this._gl_selectAndZoom.add(graphic); } } I am assuming my problem lies in the spatial reference or extents, but I have no idea why it is failing. Am I on the right track here? I used the code in the samples for select and zoom and buffer center of map, and what I've changed is basically the spatial reference. Not sure where else to look. Thanks in advance for your guidance. <fx:Declarations> <esri:Extent id="_initialExtent" xmin="375565" ymin="653153" xmax="565258" ymax="828541"> <esri:SpatialReference wkid="3424" /> </esri:Extent> <esri:SimpleFillSymbol id="_sfs_SelectAndZoom" alpha="0.7" color="0xFF0000"/> <esri:SimpleFillSymbol id="_sfs_buffer" color="0xFFFF1F" > <esri:SimpleLineSymbol color="0xFFFF1F"/> </esri:SimpleFillSymbol> <esri:GeometryService id="_gs_buffer" url="[myurl]/arcgis/rest/services/Geometry/GeometryServer" /><!--I know this url is OK --> </fx:Declarations> <esri:Map id="_mapControl" level="3" extent="{_initialExtent}"> <esri:ArcGISTiledMapServiceLayer id="_aerialMap" show="layerShowHandler(event)" url="http://......./MapServer"/> <esri:ArcGISDynamicMapServiceLayer id="_dynamicMap" url="http://....../MapServer"/> <esri:GraphicsLayer id="_gl_selectAndZoom" symbol="{_sfs_SelectAndZoom}"/> <esri:GraphicsLayer id="_bufferGraphicsLayer" /> </esri:Map>
... View more
08-31-2011
07:53 AM
|
0
|
0
|
267
|
POST
|
Greetings! I'm new to programming the mapping components (using the flex 4.5 api) and need to find out how to get the geometries of the result of a GraphicsLayer that is a polygon, and then buffer that. Using the buffer sample (only mapPoint is available), I want to input the resulting geometries array of the selection into bufferParameters.geometries =[???]. Can I capture this array, and how is it accessed? I am having trouble finding where to look in the API reference. Many thanks in advance!
... View more
08-24-2011
11:27 AM
|
0
|
5
|
2460
|
POST
|
PROBLEM SOLVED! Turns out, it wasn't an issue with the crossdomain.xml at all, but a corrupt NetBeans project. Thanks to all who helped. Your feedback taught me a lot as I struggle through this process!
... View more
07-29-2011
05:48 AM
|
0
|
0
|
409
|
POST
|
If I change the crossdomain.xml on arcgis server, it breaks my old apps, so I can't make this change. The thing that's confusing me is that I have two machines configured exactly the same, except that the Windows Server 2003 machine shows the map just fine, but the Windows 7 machine does not. I deployed the same ear file on both. Odly enough, after compiling the flex mxml on the windows 7 machine, if I just hit the run button in Flash Builder, I can see my map. It's just when I try to run it through the web server on the same machine that it breaks. PS - just downloaded Flash Player 10.3 debug and received additional information on the #2032 error: Error #2032: Stream Error. URL: http://192.168.111.60/MCPRIMA_5x-war/framework_4.5.0.20967.swf
... View more
07-28-2011
06:34 AM
|
0
|
0
|
409
|
POST
|
Which crossdomain.xml, the one on the arcgis server or the one on the local development machine? The additional problem I have is that we only have one arcgis server that is connecting to older apps that were built in arcgis api 3.1/flash builder 4 with flex library 3.2 that are running on a production server (yet another server) just fine. When I modify the crossdomain.xml on the arcgis server, things are breaking. I'll give it a shot though and see what happens. If it breaks the old stuff, I can't make the change. I also noticed that new crossdomain.xml start with a different DOCTYPE cross-domain-policy SYSTEM dtd location. Our old one is using www.macromedia.com, and the new one is using www.adobe.com. When I changed that line of code, all of my old apps stopped connecting to the arcgis server. Thanks again for the pointers. I'll let you know what happens with your recommended change shortly.
... View more
07-28-2011
06:22 AM
|
0
|
0
|
409
|
POST
|
No, because the ArcGISServer does not reside on that machine. I am using <esri:ArcGISDynamicMapServiceLayer url="http://morrisgis.co.morris.nj.us:8399/arcgis/rest/services/MCPRIMA_4X_HistoricInventory/MapServer"/> where morrisgis.co.morris.nj.us:8399 is arcgis3 which is another Windows Server 2003 machine. JBoss (web server) resides on a local machine (192.168.111.60 - not working, and 192.168.90.32 - working). ArcGIS Server resides on a different machine than both of these, yet the 192.168.90.32 machine is connecting to ArcGIS Server, but 192.168.111.60 is not.
... View more
07-28-2011
06:00 AM
|
0
|
0
|
409
|
POST
|
The url I am using that connects appropriately to ArcGISServer (shows the map) through the deployed SWF: http://192.168.90.32/MCPRIMA_5x-war/HistoricInventory The url I am using that does not connect to ArcGISServer (no map and Error #2032): http://192.168.111.60/MCPRIMA_5x-war/HistoricInventory My swf connects to the map in this fashion: <esri:ArcGISDynamicMapServiceLayer url="http://morrisgis.co.morris.nj.us:8399/arcgis/rest/services/MCPRIMA_4X_HistoricInventory/MapServer"/> Now then, morrisgis.co.morris.nj.us:8399 is the same as arcgis3. It sounds like that shouldn't work on the working Windows 2003 Server machine (192.168.90.32), but it does! I neglected to mention also that the Windows7 machine is 64 bit, and the Windows Server 2003 machine is 32 bit. Not sure if that is what's making the difference.
... View more
07-28-2011
05:37 AM
|
0
|
0
|
409
|
POST
|
Greetings! I am in a quandry and was wondering if someone could help me. I am attempting to deploy a sample from the Flex API 2.3.1 samples (just load a map) as an *.ear through JBOSS6/NetBeans. I have a Windows Server 2003 machine running JBOSS 6 and I can deploy the application just fine (I can see the map). BTW, ArcGISServer(Java) resides on a different machine. I have a new development environment (Windows7) also running JBoss6. When I attempt to access the same application through this machine, I get an Error #2032 (no map), which I have read is a crossdomain issue. I have updated the crossdomain.xml file located in <ArcGISServer Install location>/Server10.0/java/manager/web-output to include the ip address of the Windows7 development machine, and I am still getting the error and no map. I am completely new to server configurations, etc. and was wondering if I'm missing something important. Why can't I get this new development server to connect to the ArcGISServer maps if the new machine's ip is listed in the crossdomain.xml file? Here's the current crossdomain file hosted in my *.EAR: <?xml version="1.0"?> <cross-domain-policy> <site-control permitted-cross-domain-policies="all"/> <allow-access-from domain="*" to-ports="8399" /> <allow-access-from domain="*" to-ports="8080" /> </cross-domain-policy> Pretty simple....here's the crossdomain.xml from the ArcGISServer server: <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="192.168.111.60" />><!--IP of Windows7 machine that doesn't work--> <allow-access-from domain="192.168.90.32" /><!--IP of Windows Server 2003 machine that works--> <allow-access-from domain="arcgis3" /><!--name of machine of ArcGISServer --> </cross-domain-policy> I'm at day 25 of this, with no formal training, and I'm not getting anywhere! Any guidance would be greatly appreciated. If I'm leaving out an important tidbit, please let me know and I'll post it.
... View more
07-28-2011
05:22 AM
|
0
|
8
|
1750
|
POST
|
I need to accomplish the same task. I created the renderer class in an external flex library project(MyRenderer), but how do I implement the renderer in the GraphicsLayer (mxml)? When I tried to point the renderer to the class: <esri:GraphicsLayer id="debugGL2" symbol="{sfs}" renderer="{test.MyRenderer}"/> I get 1067: Implicit coercion of a value of type Class to an unrelated type com.esri.ags.renderers:Renderer. I am fairly new at this, so apologies in advance for my naivete. Many thanks in advance for your assistance.
... View more
07-26-2011
05:04 AM
|
0
|
0
|
238
|
POST
|
Sorry, I neglected to mention that I did run the "clean" on the project and the error still exists. Maybe I just have to start a new project from scratch and copy/paste the code back in. Perhaps that will fix it. I'll give that a shot and let you know how I make out. Thanks again for your guidance.
... View more
07-18-2011
05:21 AM
|
0
|
0
|
302
|
POST
|
Janice, I was wrong it is under the root of the project not the src folder. So you need to check there is there is a older agslib-***.swc and if there is delete it. Then From the Project menu run a "clean" command. I checked ALL over the project and the library that is also linked to said project and found no reference to the old library anywhere. Any more ideas? I've spent the past month learning how to upgrade a web server....this is just one more hideous nuisance in my upgrade process. Thanks again.
... View more
07-18-2011
05:11 AM
|
0
|
0
|
302
|
POST
|
I don't have a libs folder there. Should I? The only libs folder I have in that project is under the root, with a sub-folder called air that has an assortment of swfs and js files (we're not running in air). Oh wait...I found a lib folder under bin with a bunch of jar and txt files...would a reference to the library be in there? I know the framework of this application is OLD, so even the build folders look different than a freshly started project in 4.5.Our programmer left and it's up to me to figure this out (I'm a newbie to this). Thanks for your guidance.
... View more
07-18-2011
04:22 AM
|
0
|
0
|
302
|
POST
|
Thank you for your reply. I checked this in the Referenced Libraries in the project and there are no references to the old library. I am at a loss as to what to do next. Is there somewhere else (besides the Flex Build Path folder under the project's Properties) I should be looking?
... View more
07-18-2011
04:05 AM
|
0
|
0
|
302
|
Title | Kudos | Posted |
---|---|---|
12 | 03-02-2015 06:25 AM | |
2 | 04-16-2015 08:25 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|