|
POST
|
Hello Q �?? Here�??s a summary of the steps you need to follow to use �??Receive Features on a REST endpoint�?? input connector. The forum only allows five images to be uploaded per post, so I've included a PDF of the remarks below with additional screenshots as a separate reply. 1) Create an Input using the provided �??Receive Features on a REST endpoint�?? input connector template a. I�??d recommend configuring the input connector to create a GeoEvent Definition for you: [ATTACH=CONFIG]28448[/ATTACH] 2) Create an Output using the provided �??Write to a .json file�?? output connector template a. You�??ll need to register a system folder with GEP as a Data Store b. I registered C:\arcgisserver\GeoEvent_Files as �??GeoEvent_Files�?? and have my connectors write to an �??output�?? sub-folder (see screenshot below) [ATTACH=CONFIG]28449[/ATTACH] 3) Design and publish the GeoEvent Service which uses the input and output connectors to receive the feature JSON and write the created GeoEvents out to a system file as a *.json text file. [ATTACH=CONFIG]28450[/ATTACH] 4) Obtain some valid feature JSON for posting. a. An easy way to do this is to query your local ArcGIS for Server sample service �?� [ATTACH=CONFIG]28452[/ATTACH] Note: You can copy the entire block of feature JSON, or you can locate and copy just one of the features: [ATTACH=CONFIG]28451[/ATTACH] 5) Download an HTML Poster application for your preferred browser a. http://code.google.com/p/chrome-poster is one such app for Chrome 6) Configure the poster to identify the MIME type in its header a. �??Content-Type�?? / �??application/json�?? (see screenshot below) 7) Post the JSON block to the GeoEvent Processor�??s REST endpoint a. http://localhost:6180/geoevent/rest/receiver/<name-of-the-input> (e.g. rest-features-in) 😎 Locate your output *.json file in your registered system folder. You should be able to format the JSON as a list by adding an opeingin �??[�?? and closing �??]�?? set of brackets around the text in the file �?� and replacing every �?? {�?? with �??,{�?? so that the individual JSON blocks are comma separated. Here�??s what I got for a query of the World Cities whose OBJECTID is less-or-equal to 10.
[
{
"CITY_NAME": "Brasilia",
"POP": 2207718,
"POP_RANK": 2,
"POP_CLASS": "1,000,000 to 4,999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -47.897705078125,
"y": -15.7921142578125,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Goiania",
"POP": 1171195,
"POP_RANK": 2,
"POP_CLASS": "1,000,000 to 4,999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -49.2550048828125,
"y": -16.72698974609375,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Cuiaba",
"POP": 521934,
"POP_RANK": 3,
"POP_CLASS": "500,000 to 999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -56.093017578125,
"y": -15.614990234375,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Campo Grande",
"POP": 729151,
"POP_RANK": 3,
"POP_CLASS": "500,000 to 999,999",
"LABEL_FLAG": 0,
"shape": {
"x": -54.61590576171875,
"y": -20.45098876953125,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Salto del Guaira",
"POP": 7385,
"POP_RANK": 7,
"POP_CLASS": "Less than 50,000",
"LABEL_FLAG": 0,
"shape": {
"x": -54.2833251953125,
"y": -24.04998779296875,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Encarnacion",
"POP": 74983,
"POP_RANK": 6,
"POP_CLASS": "50,000 to 99,999",
"LABEL_FLAG": 0,
"shape": {
"x": -55.85101318359375,
"y": -27.37701416015625,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Posadas",
"POP": 312060,
"POP_RANK": 4,
"POP_CLASS": "250,000 to 499,999",
"LABEL_FLAG": 0,
"shape": {
"x": -55.906005859375,
"y": -27.39801025390625,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
},
{
"CITY_NAME": "Puerto Maldonado",
"POP": 37543,
"POP_RANK": 7,
"POP_CLASS": "Less than 50,000",
"LABEL_FLAG": 0,
"shape": {
"x": -69.1920166015625,
"y": -12.60302734375,
"z": 0,
"spatialReference": {
"wkid": 4326
}
}
}
]
... View more
10-18-2013
01:16 PM
|
0
|
0
|
5686
|
|
POST
|
Hey Bradley - When you indicate "whenever my server gets restarted", are you saying whenever the server machine itself is rebooted? Do you see this same behavior (opening the Service Designer and finding no services) when you stop and restart the ArcGISGeoEventProcessor windows service? Do you typically exit/close the Service Designer application and the GeoEvent Processor Manager web page before the restart occurs? I believe you are describing a different manifestation of an issue we"?ve seen before. Let"?s say that for some reason a published GeoEvent Service is not valid when the GeoEvent Processor starts up. Maybe an input component was deleted or failed to load; maybe the bundle supporting a processor component of the service is missing; maybe the GEP configuration was not persisted to disk correctly due to an abrupt system shutdown "? there could be several possible reasons... If GeoEvent Processor encounters an invalid service on startup, at 10.2.0 the service will not be loaded into the framework. There have been improvements made with 10.2.1 which handle this situation more defensibly. Also with 10.2.1, the application you know as the Service Designer is being retired and its functionality incorporated into the GeoEvent Processor Manager "? so you won"?t have two separate application which you need to "?refresh"? or use to configure and manage your inputs, outputs, and services. If you"?d like, send us your GeoEventConfig.xml and we can review your configuration. Regardless, I"?m comfortable saying that when the 10.2.1 release is available "? sometime in the next several weeks "? you won"?t continue to experience this issue. Best Regards - RJ
... View more
10-17-2013
11:16 AM
|
0
|
0
|
2750
|
|
POST
|
Referring to your screenshot, the username discovered by the GEP installer, arcgis, does not contain .\ The .\arcgis you see in the dialog indicates that the user arcgis is a local user, not a domain or AD user (e.g. MyDomain\user1234). I have worked to recreate your issue, using a local user arcgis on Windows 2012, installing ArcGIS Server 10.2 and the 10.2 release of GEP. I made sure that the local user"?s password included an "?_"? character. Unfortunately, I was unable to reproduce the issue. The GEP installer is discovering the user configured to run the "?ArcGIS Server"? service. GEP will create and configure its service ("?ArcGIS GeoEvent Processor"?) to run using the same account. That is why you are unable to change the username from within the GEP installation wizard; you must authenticate by providing the discovered user"?s password and allow GEP to create and configure the Windows service used to run the GEP product. The two Windows system services are run using the same operating system account as part of the prerequisite that GEP is run as an extension to ArcGIS Server. At this point your best option is to open an incident with Esri Technical Support. They have the ability to remotely view your system and work with you to resolve the product installation issue. Best Regards - RJ
... View more
10-14-2013
11:04 AM
|
0
|
0
|
3540
|
|
POST
|
You would not normally need to do this, but to convince myself that I do indeed have the correct username and password for the ArcGIS Server windows service I have gone so far as to stop the AGS service, edit the service"?s properties to change the "?Log On"? to an invalid password, verify that the service will not start, then restore the "?Log On"? properties to what I believe the username and password ought to be and verify that I can restart the ArcGIS Server service. Once I have verified that I have the correct username and password, I"?ve always been able to authenticate as part of the GeoEvent Processor installation wizard. My own experience and that of folks I"?ve helped is normally that we think we have the correct password when in fact we don"?t. Is the user running your ArcGIS Server windows service a local user (default is "?arcgis"?)? Does the local user"?s password have any special characters: < > / : ! @ # $ % ^ & * ( ) ?
... View more
10-09-2013
01:37 PM
|
0
|
0
|
3541
|
|
POST
|
Hey Matt - What I would recommend is that you publish the data you want GeoEvent Processor to be able to edit to your local ArcGIS for Server with the 'Feature Access' capability toggled on so that you have both a 'Map Service' and a 'Feature Service'. Then you can register your Server connection with GEP and configure a GeoEvent Service to add or update features. From your AGOL account you then 'Add Item' > 'On the web' and provide the URL to your local Server's Map Service. For example:[HTML]http://localhost:6080/arcgis/rest/services/SampleWorldCities/MapServer/0[/HTML] This way, AGOL should not allow you to toggle editing capability on the "republished" map service. Public consumers accessing the data through AGOL shouldn't be able to make any edits, and AGOL administrators shouldn't be able to accidentally edit the feature data. Now, if your ArcGIS for Server site is within a DMZ, this may become a network topology issue. You may need to install and configure the Web Adapter to provide a publicly accessible URL for AGOL to use when accessing the map service you have hosted locally. Is this approach viable for you? - RJ
... View more
09-27-2013
09:59 AM
|
0
|
0
|
1546
|
|
POST
|
Hello Vassilo, No, there is no easy way to do what I think you are wanting to do, for two reasons: 1) At the 10.2.0 release the input connector you are most likely using (Text/TCP) does not support ASCII space characters as field delimiters. We expanded the adapter for this connector at 10.2.1 to add support for using any unicode character as a field delimiter, but unless you have some influence over the feed provider and can get the data as comma separated values (for example) you will have trouble at 10.2.0 getting the day/month/year/hour/minute/second values as separate Integer values. 2) The feed currently has separate values for "months" and "days". Using a Field Calculator you can add a number of milliseconds (as a Long) to a value from a Date field to compute a relative value. For example, the expression DateTime + (8 * 3600 * 1000) would add "8 hours worth of milliseconds" to the value currently in the field DateTime, advancing the value by eight hours. The problem is that there is no easy way to adding N months to a Date value using the Field Calculator. You would have to lookup the number of days in each month and count up the total number of days in however many months you have ... and then add "NN days worth of milliseconds" to an established Date value. We are looking for common functions needed in Field Calculator. A DateAdd() Function like what is found in Visual Basic might be useful here. It would be helpful if you could visit http://ideas.arcgis.com/ and post the ideas you have for GeoEvent Processor. The more votes a particular idea gets the easier it is to prioritize an enhancement. When you do post an idea, please be sure to enter "GeoEvent Processor" as a tag value and check the 'ArcGIS Server' category. This will help route the idea to the team. Best Regards - RJ
... View more
09-25-2013
11:58 AM
|
0
|
0
|
922
|
|
POST
|
I've been told that in the next update to ArcGIS Online, the map viewer will support a configurable refresh interval. You might look for that capability and use AGOL to view a web map rather than relying on a Flex-based map viewer. If you can live with a user needing to pan or zoom to force a display refresh, I suppose that's another option, but I don't have any good high-level suggestions for avoiding the display flicker/flash when you need to frequently and programmatically refresh feature layers to update a map display. I know that the Operations Dashboard was developed using the Windows WPF SDK for ArcGIS Runtime. That choice of development platform may be what's providing the ability to smoothly update features on the display, but I really don't know. That development is handled by another team; if you're interested I can probably find someone who can discuss the technical implementation. Every other client application map viewer I've seen tends to flicker or flash when the feature layers are updated. There are techniques a developer can use to "blit" graphics from a secondary buffer into a primary graphics buffer. Basically you're building an image from the feature data and then copying a prerendered image to the graphics buffer being used by the viewer. That's really low-level graphics manipulation though, not something that you'd be able to do using one of the Web APIs, Flex in your case, to build a simple map viewer.
... View more
09-24-2013
09:22 AM
|
0
|
0
|
2743
|
|
POST
|
Thank you for checking to confirm that the output connector you're using in your GeoEvent Service is not still configured to delete old features. I suspect that an old output connector, still configured and running, may be responsible for the periodic deletion of features. An Input does not need to be participating in a GeoEvent Service to receive event input. Likewise an Output does not necessarily need to be participating in a GeoEvent Service to have an effect on the system. If you want to export an XML of your GeoEvent Processor configuration I'll take a look and see if I can find anything to explain the behavior you're observing with features being deleted. - RJ
... View more
09-23-2013
08:30 AM
|
0
|
0
|
2743
|
|
POST
|
Client-side viewers must actively refresh their displays. In the Introduction to GeoEvent Processor tutorial's 'Making Features Come Alive' exercise, we use the Operations Dashboard because, as a web map viewer, it can be configured to refresh its display automatically every 1, 5, 10, ... seconds. It seems odd that your viewer is displaying features which are "updated" as new rows are added to the database table, but not displaying the features whose existing entries were updated. As for features getting deleted after a minute or so - have you configured the 'Update a Feature' output connector to delete old features? That is the only part of the GeoEvent Processor workflow you've described which would attempt to remove data from your output dataset. - RJ
... View more
09-19-2013
06:24 PM
|
0
|
0
|
2743
|
|
POST
|
Hello Jason - What output connector are you using? There are connectors for writing GeoEvent data to a feature service as new/updated features. You'll want to look at 'Add a feature' and 'Update a Feature' and create an output connector for updating features, if you're target output is a feature service. - RJ
... View more
09-19-2013
08:13 AM
|
0
|
0
|
2743
|
|
POST
|
Hello Joe - As Jonathan mentions, using an ArcGIS for Server managed geodatabase to store your data would prevent the data from being copied to the Server and provide you a way to update the feature class supporting the service - perhaps using Python and the ArcPy Data Access module. That is probably your ideal solution. Alternatively you could update an off-line copy of the data and then develop a mechanism which would automatically republish the service (overwriting the existing service and continue copying the data up to the Server). To leverage data store approach, the database and the ArcGIS Server would need to be on the same network. A third alternative, relying on GeoEvent Processor, would be to use GEP's capability to watch a folder for files. This isn't ideal for your workflow however as the input connector out-of-the-box at 10.2.0 does not consider file size or last modified date; it only looks at the filename. This means that users who want to use CSV to send continuous updates into GEP need to have whatever mechanism they use to place the CSV files into the registered data folder uniquely name the files. This can be done by appending a date/time to the filename (e.g. FireRiskAssessment-09Sep13-102236.csv). /RJ
... View more
09-09-2013
03:18 PM
|
0
|
0
|
677
|
|
POST
|
Chris, There is currently no documentation on the built-in store GEP uses to manage its users. Similar to ArcGIS for Server, you can use the Manager to created users and assign them either 'User' 'Publisher' or 'Administrator' roles. Only 'Administrators' can log in to GEP Manager and administer the Inputs, Outputs, Services, and other configurable items. You must be a 'Publisher' or 'Administrator' to run the Service Designer web application. The GEP approach to its "User Roles" and "Identity Store" is changing with the 10.2.1 release due out Winter 2013. This next product release will better support server connections to ArcGIS Online and server connections to Portal for ArcGIS. We're also working on supporting the federated security model used by Portal and AGOL for enterprise authentication. /RJ
... View more
09-06-2013
02:29 PM
|
0
|
0
|
800
|
|
POST
|
Have you tried registering any other system folder? The Introduction to GeoEvent Processor tutorial chose to use C:\arcgisserver as the base folder only because that is the default server directory used by ArcGIS for Server, and we discovered that permissions for the OS-level user responsible for running the ArcGIS for Server and GeoEvent Processor services needed to be added to 'My Documents' folder when attempting to register folders such as C:\Users\<user>\Documents\ArcGIS. Try creating a folder C:\GeoEvent on the local HDD and registering that folder. The user you've logged-in as should be the owner of that folder. If the folder fails to register with GeoEvent Processor as a Data Store, try adding the OS-level user responsible for running the 'ArcGIS GeoEvent Processor for Server' service as a local user with 'Full Control' over the folder and any sub-folders. /RJ
... View more
09-05-2013
01:07 PM
|
0
|
0
|
1956
|
|
POST
|
Hey Adam - Thank you for the details and including the error from the GEP logs. It may be that that your feature service output (at an instant in time) didn't have one or more required properties. I've seen this "validation failed" error message however when I know that the object in question is fully defined ... so I'm not going to focus too much on this particular error message. I'm more interested in your report that when you open the Data Stores page in Manager you see that the registered server connection displays as not valid. If you click the 'Validate All' button at this point, can the connection be validated? (If the GEP cannot access the registered data store to locate the service folder, I"?d expect that opening the configuration page for the output connector would display empty fields for the "?Service Name"?, "?Layer"? and (if updating features) the "?Unique Field Identifier"?.) To your comment that restarting appears to fix the issue - are you restarting the GEP Windows service? I'm wondering if it is possible that an attempt by GEP to connect to the AGS site using the configured Server connection failed, but restarting GEP forced a second attempt which then succeeded... I think we may be dealing with a Server connection which is intermittently unavailable. Is there a way you can manually verify the connection from your GEP server to your AGS server when you are seeing this issue (outside of GEP Manager)? To your question of submitting incidents/tickets with Esri Technical Support - yes, if we have an issue that can be reproduced (since that is what Esri Support is supposed to do), then please open a new Support incident. Otherwise, posting to the forum as you are gets the issue in front of the development team and we can help diagnose it as quickly as we can make time for the investigation. Thanks for working with us ... /RJ
... View more
08-30-2013
08:20 AM
|
0
|
0
|
1304
|
|
POST
|
Hey Simon - What you are describing ought to work. I conducted tests just the other day in which my GeoEvent Definition had fields 'CodedName' and 'CodedValue' and I sent multiple SMS messages: Message to {$CodedName}: ${CodedValue} We've never referred to these as "macros", but that's kind of like what they are. The ${FieldName} gets expanded in-line to the value contained in that field. The field names are case sensitive. What are you seeing in the SMS you receive? Can you screenshot the entire sms-text-out connector configuration as well as your GeoEvent Definition? Have you tried running the output to a TCP text output to confirm which GeoEvent Definition is being used to handle the event's attribute values? Do you, by chance, have more than one SMTP dependent output connector configured? The "?Send a text message"? and "?Send an email"? output connectors both rely on SMTP... /RJ
... View more
08-28-2013
10:54 AM
|
0
|
0
|
938
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-11-2026 11:38 AM | |
| 1 | 02-11-2026 10:38 AM | |
| 1 | 01-05-2023 11:37 AM | |
| 1 | 02-20-2025 03:50 PM | |
| 1 | 08-31-2015 07:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
02-17-2026
02:45 PM
|