POST
|
Hey Esri guy, the WebAdaptor does not support to access the GeoEvent Manager, only the ArcGIS Server Manager that is also installed. But you can use URL Rewrite in the same IIS to forward the Requests to the GeoEvent Manager. You need to install: Microsoft Application Request Routing IIS URL Rewrite Module2 Next Step is to create the Inbound Rule on you Default Site (URL Rewrite). If you want the GeoEvent Manager available via https://yourdomain.com/geoevent/manager you could use the following Regular Expression: ^ geoevent / ( . * ) and perform the rewrite Action to: https : / / yourservername : 6143 / { R : 0 } Be aware, if you close the Port 6143 and you want to use Stream Service you have to configure some more stuff. In this case you need to install the WebSocket protocol on your IIS, add some additional rules to the URL Rewrite and add the WebSocketContextURL to your system properties. Best, Stefan
... View more
05-04-2020
12:14 AM
|
2
|
1
|
145
|
POST
|
Hi Georges Dupont, this file is part of your GeoEvent Server Installation: C:\Program Files\ArcGIS\Server\GeoEvent\system\com\esri\ges\framework\transport\http-transport Best, Stefan
... View more
04-20-2020
11:21 PM
|
0
|
1
|
15
|
POST
|
Hi Muhammad Waqar ul Islam, my favorite option would be to develop a custom transporter to create your own input connector that is able to connect to an oracle database. In this case you will receive the data very performant. For none developer I would try to use a query layer (pointing to the oracle view) and publish it as map service. GeoEvent is able to send a query to this map service containing the query layer. I am not sure how performant this solution is, but it should work. Best, Stefan
... View more
04-20-2020
02:53 AM
|
0
|
0
|
13
|
POST
|
Hi James Crandall, yes GeoEvent can Poll a REST Endpoint in a interval of you choice to receive the data and update a feature class. As Input Connector you can use "Poll an External Website for JSON". This Input Connector will perform a HTTP Request to the provided URL and expect JSON as result. There are a few parameters you should be aware of. "JSON Object Name" can be used to define the root node of your JSON. In this case it could be "results", but i am still not 100% clear with your JSON. It is not valid. Does result only contain on object and all the features you want to add are located at "results[0].result"? "Construct Geometry From Fields" can be used to automatically generate a Geometry from pointX and pointY. If the inner "result" is your root element you can just write the names of the fields as X and Y because they are on the root level. GeoEvent will also create a GeoEvent definition with a hierarchical structure that matches to your data. You should check if all datatypes are correct and maybe edit them if they are not correct. This is a automatic process according to the first feature that will be parsed. If you want to write everything to one feature class you have to flatten the incoming data. Not sure if you already know how the output should look like, but the samples list might be a challenge. To flatten the data you create one more GeoEventDefinition that contains all field on the root level and does not contain any list. Using the Processor "Field Mapper" in the GeoEvent Service you can map the fields to the new GeoEvent Definition. The last step would be to create an output "Update a Feature" to write all the data to your feature class. The output connector (wizard) can create publish a new feature class that matches to the GeoEvent Definition. Hope this helps. It should also be possible to write into two different outputs. You could write the results to a feature class and the samples to a Table adding some foreign key if available. But this is an advanced topic. First of all you should try if the easy way works like expected. Best, Stefan
... View more
04-08-2020
11:47 PM
|
0
|
1
|
59
|
POST
|
Hi James Crandall, i am not sure if i understand you question correct. First of all some questions from my side, is the JSON example generated by the Geoprocessing Service or is it manual generated? Looks like there are some bracket issues. But when i understand it correct, every result has the attributes pointX and pointY. Do you want to access this attributes to have a Geometry? For just xy this is easy using Build Geometry from Fields. Maybe I can help you if you provide some more information. Best, Stefan
... View more
04-08-2020
02:02 AM
|
1
|
3
|
59
|
POST
|
Hi Adam Repsher, another option could be to create a batch script that will copy the file from the network share to a the local directory. In this case GeoEvent can watch this local folder. You can create a task in the Windows Task Scheduler to run this batch script ever x hours. The batch script could look like this: net use \\remoteserver\sharedfolder / user :domain1\user1 password xcopy \\remoteserver\sharedfolder\ file . csv C:\ Temp \GeoEventWatch\ / Y net use \\remoteserver\sharedfolder / delete First of all you could test if this works like expected. It should do the same job that you already do manually. Next step would be to use the Task Scheduler to run the script as often as you want. Best, Stefan
... View more
03-23-2020
08:44 AM
|
1
|
5
|
182
|
POST
|
Hi Murugesa Pandian, if you check the PropertyDefinition class in the api you will find a method called setDependsOn, this method can be used to define the dependency. Have a look at the "sample-adapter-properties". This is one of the examples that comes with the GeoEvent installation (samples\adapters\sample-adapter-properties) and shows how to work with allowed values and dependencies. A few lines of code of the SampleInboundAdapterDefinition: PropertyDefinition purpleShadeProperty = new PropertyDefinition ( PURPLE_SHADE_PROPERTY , PropertyType . String , "Grape" , "${sample.gep.sample-adapter-properties.ADPATER_IN_PURPLE_SHAPE_LBL}" , "${sample.gep.sample-adapter-properties.ADPATER_IN_PURPLE_SHAPE_DESC}" , false , false , purpleShadeAllowedValues ) ; // Then set it's dependency. purpleShadeProperty . setDependsOn ( FAVORITE_COLOR_PROPERTY + "=Purple" ) ; propertyDefinitions . put ( PURPLE_SHADE_PROPERTY , purpleShadeProperty ) ; Best, Stefan
... View more
03-16-2020
03:05 AM
|
2
|
1
|
55
|
POST
|
Hi James Madden, please make sure that you have installed the following patch: ArcGIS Server Security 2019 Update 2 Patch This patch addresses the following issue: BUG-000117633 - In 10.6.1 and prior, the message bus platform service may not be initialized correctly in all environments. That should normally fix your issue. There have been some timing issues. This would also explain why it works some time when restarting it a few times. Best, Stefan
... View more
03-16-2020
02:20 AM
|
0
|
0
|
194
|
POST
|
Hi Murugesa Pandian, I did not had any problems working with dependsOn or getting the value of a dropdown list. I can show you a simple example how I realized the Property Configuration. In this case databaseType will be a dropdown list with three values. Only if the selected value is SQLServer the other property will be shown: < propertyDefinition propertyName = " databaseType " label = " ${...PARAMETER_DATABASE_TYPE_LABEL} " description = " ${...PARAMETER_DATABASE_TYPE_DESC} " propertyType = " String " mandatory = " true " readOnly = " false " defaultValue = " PostgreSQL " > < allowedValues > < value label = " ${...PARAMETER_DATABASE_TYPE_OPTION_POSTGRESQL} " > PostgreSQL </ value > < value label = " ${...PARAMETER_DATABASE_TYPE_OPTION_SQLSERVER} " > SQLServer </ value > < value label = " ${...PARAMETER_DATABASE_TYPE_OPTION_ORACLE} " > Oracle </ value > </ allowedValues > </ propertyDefinition > < propertyDefinition propertyName = " ...somePropertyForSQLServer " label = " ${...SOME_LABEL} " description = " ${...SOME_DESC} " propertyType = " String " defaultValue = " " mandatory = " false " readOnly = " false " dependsOn = " databaseType = SQLServer " > </ propertyDefinition > To get the selected value of the databaseType this works fine for me: if ( hasProperty ( "databaseType" ) ) { . . . . . = getProperty ( "databaseType" ) . getValue ( ) . toString ( ) ; . . } Are you defining the properties by XML or by Java Code? If my snippets does not help you, it would be the best if you provide an example that does not work like expected. Best, Stefan
... View more
03-11-2020
08:08 AM
|
2
|
3
|
55
|
POST
|
So you might forgot to map the GeoEvent Definition. The Definition that is received by the Ouput must match the one that has been used for publishing the service.
... View more
02-19-2020
07:48 AM
|
0
|
1
|
57
|
Online Status |
Offline
|
Date Last Visited |
Wednesday
|