Hi all
I have a gml file to need to export any vector format.I used many transformer but not achieved. You can find int the attached gml sample file.
Do you have any idea?
Thankyou
Hi all
I have a gml file to need to export any vector format.I used many transformer but not achieved. You can find int the attached gml sample file.
Do you have any idea?
Thankyou
work_gml.zip
The geometry is in the _response_body attribute but that is not encoded properly:
<?xml version="1.0" encoding="UTF-16"?><fme:_response_body xmlns:fme="http://www.safe.com/gml/fme" xmlns="http://tempuri.org/"><string><wfs:FeatureCollection xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs">
<gml:featureMember id="OBJECTID">
<TBB_KAPI.TBB.TBB_KAPI>
<OBJECTID>528293</OBJECTID>
<CINSI>Ba??ms?z Ana Giri?</CINSI>
<UAVT_KOD>37417778</UAVT_KOD>
<M_DATE>2019-09-02T00:00:00</M_DATE>
<GEO_DURUM>1</GEO_DURUM>
<MAHALLE_ADI>GÜNDO?DU-TURGUT</MAHALLE_ADI>
<YOL_ADI>SOYSAL Sokak</YOL_ADI>
<YOL_TURU_ID>5</YOL_TURU_ID>
<YOL_TURU>Sokak</YOL_TURU>
<KAPI_NO>24/2A</KAPI_NO>
<KAPI_ADI>-</KAPI_ADI>
<KBS_BINA_NO />
<ADA_PARSEL />
<MAHALLE_ID>360</MAHALLE_ID>
<YOL_ID>15217</YOL_ID>
<PARSEL_ID />
<YAPI_ID>769655</YAPI_ID>
<PAFTA />
<ADA />
<PARSEL />
I suggest you try to get the GML in a correct annotation and then use the GML reader or GeometryReplacer on the response attribute.
The geometry is in the _response_body attribute but that is not encoded properly:
<?xml version="1.0" encoding="UTF-16"?><fme:_response_body xmlns:fme="http://www.safe.com/gml/fme" xmlns="http://tempuri.org/"><string><wfs:FeatureCollection xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="http://www.opengis.net/wfs">
<gml:featureMember id="OBJECTID">
<TBB_KAPI.TBB.TBB_KAPI>
<OBJECTID>528293</OBJECTID>
<CINSI>Ba??ms?z Ana Giri?</CINSI>
<UAVT_KOD>37417778</UAVT_KOD>
<M_DATE>2019-09-02T00:00:00</M_DATE>
<GEO_DURUM>1</GEO_DURUM>
<MAHALLE_ADI>GÜNDO?DU-TURGUT</MAHALLE_ADI>
<YOL_ADI>SOYSAL Sokak</YOL_ADI>
<YOL_TURU_ID>5</YOL_TURU_ID>
<YOL_TURU>Sokak</YOL_TURU>
<KAPI_NO>24/2A</KAPI_NO>
<KAPI_ADI>-</KAPI_ADI>
<KBS_BINA_NO />
<ADA_PARSEL />
<MAHALLE_ID>360</MAHALLE_ID>
<YOL_ID>15217</YOL_ID>
<PARSEL_ID />
<YAPI_ID>769655</YAPI_ID>
<PAFTA />
<ADA />
<PARSEL />
I suggest you try to get the GML in a correct annotation and then use the GML reader or GeometryReplacer on the response attribute.
Hi @itay
Firstly thanks.
I guess I achieved the correct structure.
My second question is how I can convert below attributes to as field.
You can find enclosed the sample data.
Thankyou.
work9_edit.zip
Hi @itay
Firstly thanks.
I guess I achieved the correct structure.
My second question is how I can convert below attributes to as field.
You can find enclosed the sample data.
Thankyou.
work9_edit.zip
Hi @outlook (?), the issue is still there, the XML doesn't look like XML should...if you are receiving the GML/XML from a webservice I suggest you try receiving it in the correct annotation/encoding since then it won't be an issue to read and transform.
Can you share the webservice you are using?