POST
|
Hi, I copied one of the GEP sample: "sample-adapter" to another directory. I was able to build it and import it to GEP. Then I did two changes: 1. Deleting all the properties files with a 'locale' so that there is only the 'sample-adapter.properties' left. 2. In the 'sample-adapter.properties' file, I changed the label value and the description value. However, after importing the new adapter, the result still shows in a local language. (The version number looks strange too because I thought it is from the pom.xml where I don't see 10.5.0) Can anyone help me with it? I tried with the other samples, the results are the same. Thank you very much for your help!
... View more
12-02-2019
05:52 PM
|
0
|
1
|
306
|
POST
|
Hi Stefan, Thank you! Yes, after switching a different network, I was able to build it. It's definitely an internet issue. Bests, Tony
... View more
11-21-2019
05:19 PM
|
0
|
0
|
3801
|
POST
|
Hi, I'm trying to follow the Geoevent Developer Guide to run the samples. But meet a problem while trying to run the "mvn clean install" with sample "sample-adapter": Is it because of maven version stated in the pom.xml is too old? (The maven I installed is version 3.6.2, the eclipse version is 4.13, the m2e version is the latest 1.13). Has anyone meet the same problem and maybe have a suggestion? Thank you so much for your help!
... View more
11-20-2019
02:17 AM
|
0
|
2
|
4073
|
POST
|
Thank you Alan! It's very helpful! It does solve my problem when I set them to NULL. One more question, very similar. What if I want the endpoint of one line feature (Feature A) to be connected to a edge on another line feature (Feature B). This endpoint is not connected to any endpoint or vertex, just on a edge from Feature B. I set the elevation field for the coincident endpoint of Feature A to NULL. But the routing didn't work. Do you know how can I deal with that situation?
... View more
02-22-2018
01:04 AM
|
0
|
2
|
809
|
POST
|
Hi Joe, Thank you! The link you sent gave a solution of "Splitting the line at junction". However, I still want to keep the line 'un-split'. Because I have other data on the streets such as 'Address Range' that will get messed up by splitting the line. Besides, if I draw a new street crossing a Vertex, where it become a X-junction, the routing works fine. And the line does not get split. Any thoughts?
... View more
02-10-2018
03:47 AM
|
0
|
1
|
809
|
POST
|
Dear Experts, I was trying to create a T-Junction in my network. But it didn't work. Here is how I created it: 1. Got a street with several vertex: 2. Create a new street from one of the vertex (Snapping had turned on): 3. Give the new street proper F and T_ZLEV value (both are 0), which are the same as the existing one: 4. ND connectivity property set to "Any Vertex": 5. Build and run a Route: The Network Identify Tool also shows that this newly created street do not have adjacent edges. However, if I create a T-junction, but connect to a Junction Point, instead of Vertex Point, it will work. Besides, if I create a X-junction, crossing a Vertex Point, it work too. Is there anything that I'm missing here?
... View more
02-09-2018
03:25 AM
|
0
|
8
|
1177
|
POST
|
Hi mvolz47 , After I change the wjid in outSpatialReference, I can finally see the highlight! Thank you very much!!
... View more
04-24-2014
12:18 AM
|
0
|
0
|
578
|
POST
|
Hi Minxue, It looks like you are specifying 100% transparency for the Color in the selection symbol. Change: var selectionSymbol = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255,255,0,0]), 3); to: var selectionSymbol = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255,255,0]), 3); Hi Jake, Thank you for replying. I did change the transparency, but it is still not highlighted. What else shall I check?
... View more
04-23-2014
05:05 AM
|
0
|
0
|
578
|
POST
|
Hello! I'm trying to add a feature layer(a simply line feature, storing locally in arcgis server) to a map. Then select it for querying and highlighting. The query part works fine. But I couldn't get it highlighted. Can someone have a look at my code and show me the hint? Thank you very much for help. <!DOCTYPE html> <html> <head> <title>Pigeon Schematics</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <link rel="stylesheet" href="http://js.arcgis.com/3.9/js/dojo/dijit/themes/claro/claro.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.9/js/esri/css/esri.css" /> <style> html, body { width: 100%; height: 100%; margin: 0; } /*left*/ #leftContainer{ width: 12%; } /*middle*/ #middleContainer{ padding: 0; } #handle{ background: url(../handle.png) center center no-repeat; cursor: ew-resize; width: 10px; position: absolute; top: 0; right: 0; bottom: 0; } #mapDiv1{ padding: 0; height: 70%; } #mapDiv2{ padding: 0; height: 30%; } /*right*/ #rightContainer{ padding:0; width:10%; font-size: 15px; } #legendDiv{ font-size: 10px; } #att1{ height:50%; } #att2{ height:50%; } </style> <script src="http://js.arcgis.com/3.9/"></script> <script> // function init() { // //alert("Dojo ready, version:" + dojo.version); // // More initialization here // } require([ "esri/map", "esri/InfoTemplate", "esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "esri/Color", "esri/arcgis/utils", "esri/dijit/Legend", "esri/layers/FeatureLayer", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/graphic", "esri/tasks/query", "esri/tasks/QueryTask", "dojo/parser", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/layout/AccordionContainer", "dijit/layout/TabContainer", "dojo/domReady!" ], function(Map, InfoTemplate, SimpleLineSymbol, SimpleFillSymbol, Color, arcgisUtils, Legend, FeatureLayer, ArcGISDynamicMapServiceLayer, Graphic, Query, QueryTask, parser){ parser.parse(); //add services var map1; var url3 = "http://localhost:6080/arcgis/rest/services/Pigeon/PigeonShape/FeatureServer/3"; map1 = new Map("mapDiv1",{ basemap: "topo", center: [6.161323, 52.256595], zoom: 16, slider: false, }); var featureLayerSpoor = new FeatureLayer(url3, { mode: FeatureLayer.MODE_ONDEMAND, outFields: ["*"] }); map1.addLayers([featureLayerSein, featureLayerWisselNummber, featureLayerSpoor, featureLayerWissel]); //add legend var legend = new Legend({ map: map1 },"legendDiv"); legend.startup(); var selectionSymbol = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255,255,0,0]), 3); featureLayerSpoor.setSelectionSymbol(selectionSymbol); //map1 Click evt // map1.on("click", executeQueryTask); queryTaskSpoor = new QueryTask(url3); querySpoor = new Query(); querySpoor.outSpatialReference = {"wkid":28992}; querySpoor.returnGeometry = true; querySpoor.outFields = ["*"]; dojo.connect(map1, "onClick", executeQueryTask); dojo.connect(map1.infoWindow, "onHide"); function executeQueryTask(evt){ map1.infoWindow.hide(); map1.graphics.clear(); var centerPoint = new esri.geometry.Point(evt.mapPoint.x,evt.mapPoint.y,evt.mapPoint.spatialReference); var mapWidth = map1.extent.getWidth(); //Divide width in map units by width in pixels var pixelWidth = mapWidth/map1.width; var tolerance = 8 * pixelWidth; console.log(mapWidth, tolerance); //Build tolerance envelope and set it as the query geometry var queryExtent = new esri.geometry.Extent(1,1,tolerance,tolerance,evt.mapPoint.spatialReference); querySpoor.geometry = queryExtent.centerAt(centerPoint); queryTaskSpoor.execute(querySpoor, function(fset){ showFeature(fset.features[0],evt)}); }; function showFeature(feature, evt){ map1.graphics.clear(); var graphic = feature; // graphic.setSymbol(symbol); var graphic =new Graphic(feature.geometry, selectionSymbol); // graphic.setInfoTemplate(infoTemplate_spoorshp); console.log(feature); console.log(graphic); map1.graphics.add(graphic); var attr = feature.attributes; var content_spoorshp = "objectid_1 : " + attr.objectid_1 + "<br />spoornumme : " + attr.spoornumme + "<br />objectnaam : " + attr.objectnaam + "<br />objectid : " + attr.objectid + "<br />van : " + attr.kmvan + "<br />to : " + attr.kmtot + "<br />length : " + attr.shape_leng; map1.infoWindow.setTitle("Spoor"); map1.infoWindow.setContent(content_spoorshp); (evt) ? map1.infoWindow.show(evt.screenPoint,map1.getInfoWindowAnchor(evt.screenPoint)) : null; }; }); </script> </head> <body class="claro"> <div id="topContainer" data-dojo-type="dijit/layout/BorderContainer" style="width: 100%; height: 100%;"> <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'">Pigeon Schematics</div> <div id="leftContainer" data-dojo-type="dijit/layout/AccordionContainer" data-dojo-props="region:'left'"> <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Tool', selected:true"> <div id="tool1"></div> </div> <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="title:'Others'"> This pane could contain tools or additional content </div> </div> <div id="middleContainer" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'center', design:'sidebar'"> <div id="mapDiv1" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'" > </div> <div id="mapDiv2" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'" > </div> </div> <div id="rightContainer" data-dojo-type="dijit/layout/TabContainer" data-dojo-props="region:'right'" > <div data-dojo-type="dijit/layout/ContentPane" title="Legend"> <div id="legendDiv"></div> </div> <div data-dojo-type="dijit/layout/ContentPane" title="Attribute"> <div id="att1" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'">1</div> <div id="att2" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'">2</div> </div> </div> <div id="bottomContainer" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'">CGI GEO-ICT</div> </body> </html>
... View more
04-22-2014
01:30 AM
|
0
|
5
|
1075
|
POST
|
On a Windows installation, the elements you create from within GeoEvent Processor Manger... RJ Thank you very much Sunderman! It really helps!
... View more
03-18-2014
12:04 AM
|
1
|
0
|
221
|
POST
|
Hello! After working with GeP for a long time, i got too many input,output,definitions and etc. When I wanted start something new, I tried to delete all those configurations. But if I do it manually, it will take ages. Is there any way to initiate GeP without re-installation? Thank you very much in advance!
... View more
03-14-2014
12:31 AM
|
0
|
2
|
2205
|
POST
|
It's possible that your firewall may be blocking the transmission of your authorization info. Can you try the following?: 1. Log in under an Administrator account. 2. Go to C:\Program Files\ESRI\License10.2\sysgen. 3. Move the file called 'keycodes' to a different folder. 4. Rerun the Software Authorization Wizard. Hope this helps. Thank you Jesvin Valencia, and happy new year first! I have tried the steps you suggested. However, no new 'keycodes' file was generated after the authorization (the authorization was successful). I turned off the firewall and I'm running as Admin. The sysgen folder is written-able. Do you have any idea about this?
... View more
01-01-2014
10:27 PM
|
0
|
0
|
376
|
POST
|
Hi, I met this problem when I want to open SDK sample. I've re-installed SDK runtime for several times and it is stll not working. Besides, I used my ESRI developer license for authorization. [ATTACH=CONFIG]30143[/ATTACH] Please help me with it.
... View more
12-30-2013
02:03 AM
|
0
|
2
|
1601
|
Title | Kudos | Posted |
---|---|---|
1 | 03-18-2014 12:04 AM |
Online Status |
Offline
|
Date Last Visited |
12-25-2023
08:58 PM
|