RSS-input with FeatureUpdate-Output problems.

2772
3
09-11-2013 02:41 AM
Ivan_LeHjelmeland
New Contributor
The RSS links I've tried;

http://www.p4.no/rss/trafikk.aspx
http://www.nrk.no/norge/siste.rss
http://www.vegvesen.no/trafikk/xml/savedsearch.rss?id=600

Here is the data I am getting from the TCP-console;

[ATTACH=CONFIG]27344[/ATTACH]

My auto-generated definition looks like this;

[ATTACH=CONFIG]27345[/ATTACH]

And here is my problem;

If I create a feature service with one field named "id", I get points on my map.

If i create a feature service with "title", "pubDate", "link", "description", I get the title but nothing more.

I've tried importing the definitions from the feature service, but it doesnt seem to help.

I also tried the Field Mapper, but without any luck.

If anyone got a clue, please scream 🙂
0 Kudos
3 Replies
Ivan_LeHjelmeland
New Contributor
Found the problem with my case.

I fields in my geodatabase were to short (50). I checked the ArcGIS for server log and figured I had to set them at a higher number.
0 Kudos
by Anonymous User
Not applicable
Original User: aboulola

hi

can you guide me with a documentation if available or the steps needed to get weather or route feeds and present it on a map.

I did the twitter exercise because there is a documentation for it.


http://api.metro.net/agencies/lametro/routes/

also have a xml for weather which i have attached.

Thanks


The RSS links I've tried;

http://www.p4.no/rss/trafikk.aspx
http://www.nrk.no/norge/siste.rss
http://www.vegvesen.no/trafikk/xml/savedsearch.rss?id=600

Here is the data I am getting from the TCP-console;

[ATTACH=CONFIG]27344[/ATTACH]

My auto-generated definition looks like this;

[ATTACH=CONFIG]27345[/ATTACH]

And here is my problem;

If I create a feature service with one field named "id", I get points on my map.

If i create a feature service with "title", "pubDate", "link", "description", I get the title but nothing more.

I've tried importing the definitions from the feature service, but it doesnt seem to help.

I also tried the Field Mapper, but without any luck.

If anyone got a clue, please scream 🙂
0 Kudos
by Anonymous User
Not applicable
Original User: RJ Sunderman

Omar -

I would recommend approaching your problem by thinking of the RSS feed events and the features you want to write out to a feature service as two separate sets of events with different schemas (e.g. different geoevent definitions). You will want to use a Field Mapper processor element to select fields from the input you want sent to the output. There is some discussion on why you want to use this approach in the draft of the RSS tutorial I posted to the RSS" rel="nofollow" target="_blank">http://forums.arcgis.com/threads/91551-RSS-problem]RSS problem forum thread.

You should allow the RSS adapter, part of the Input connector configured to poll the specified RSS feed, to create an event definition based on its discovery of the event schema. Don�??t edit this event definition �?? instead plan on mapping fields from it to the schema of a feature service you will publish. I�??m attaching a PDF which shows the REST service specification for the feature service I published to accept data from the http://www.p4.no/rss/trafikk.aspx data feed. Note in particular that the feature service has only the Title, PubDate, and Link fields from the feed. I�??m not sure what field you were using for the "description". You should create the feature service then import its event definition; don't try to create a single event definition which will satisfy both the Input and the Output.

I�??ve attached a second PDF which shows what a simple GeoEvent Service, using a Field Mapper to map fields from the incoming RSS to the target feature service should look like.

Here�??s a screenshot of a basic web map consuming the feature service being updated from the RSS feed.
[ATTACH=CONFIG]29188[/ATTACH]

I hope you find this information helpful -
RJ
0 Kudos