AnsweredAssumed Answered

XML to Geoevent and Convert string to geometry

Question asked by sagaigis-com-tw-esridist Employee on Mar 17, 2016
Latest reply on Mar 18, 2016 by sagaigis-com-tw-esridist

I have a xml and want to feed to geoevent, the format:

 

<geog:DIM_DISASTER_INFO xmlns:geog="http://geog.eoc.gov.tw/disaster_info">

<geog:EVENT_NAME>0206Disaster</geog:EVENT_NAME>

<geog:DISASTER_LIST>

<geog:DISASTER_DATA>

<geog:CASE_ID>042016020001339</geog:CASE_ID>

<geog:CASE_DT>2016-02-14T11:01:02.000+08:00</geog:CASE_DT>

<geog:COUNTY_N>Taiwan</geog:COUNTY_N>

<geog:TOWN_N>Taipei</geog:TOWN_N>

<geog:CASE_LOC>some location</geog:CASE_LOC>

<geog:GEOMETRY_TYPE>point</geog:GEOMETRY_TYPE>

<geog:COORDINATE>120.298583,22.960019</geog:COORDINATE>

<geog:DISASTER_MAIN_TYPE>A</geog:DISASTER_MAIN_TYPE>

<geog:DISASTER_SUB_TYPE>B</geog:DISASTER_SUB_TYPE>

<geog:CASE_DESCRIPTION>desc。</geog:CASE_DESCRIPTION>

<geog:CASE_STATUS>unknow</geog:CASE_STATUS>

<geog:SOURCE_TYPE>web</geog:SOURCE_TYPE>

<geog:CASE_INFORMER/>

<geog:INJURED_NO>0</geog:INJURED_NO>

<geog:DEATH_NO>0</geog:DEATH_NO>

<geog:TRAPPED_NO>0</geog:TRAPPED_NO>

<geog:MISSING_NO>0</geog:MISSING_NO>

<geog:SHELTER_NO>0</geog:SHELTER_NO>

<geog:IS_TRAFFIC>否</geog:IS_TRAFFIC>

<geog:IS_SERIOUS>否</geog:IS_SERIOUS>

</geog:DISASTER_DATA>

</geog:DISASTER_LIST>

</geog:DIM_DISASTER_INFO>

 

How to set the "geog:COORDINATE" to geometry field?

Outcomes