![]() ![]() da.SearchCursor to get the PopupInfo string from the first row. use the arcpy KML to layer tool and Project tools to get into to the desired coordinate system (i ran into problems adding fields to the original conversion output, which may be due to the layer file associated with it)Ģ. I've been able to make this work using cursors and lists to split the PopupInfo xml field into useful valuesġ. There is a related workflow to extract attributes from extended data - if anyone needs this message me in GeoNet. The attributes you expose will then be written as properly typed fields in a Geodatabase. You may need a GeometryFilter transformer after the Reader to filter Placemarks of interest, and if handling date fields, a DateFormatter to make the values writable to Geodatabase (say %x input, FME date output). How to expose feature attributes from KML tag - FME Knowledge Center The data workflow between the Reader and Writer is this: Then author a Spatial ETL tool with KML Reader and Geodatabase Writer, manually specifying each output feature class' geometry and attributes. Usually only one Placemark geometry type is of interest, but if you need to convert multiple Placemark geometry types repeat the review for each one. Unfortunately there is no magic wand to wave to help with this, the data is untyped in the KML description and you need to do this clerical review. First, inspect the KML features in Earth and decide what attributes you want and what data type they are. While KML does support a schema object that Data Interoperabilty's Quick Import geoprocessing tool would see and honour, often KML files are received that contain only HTML data in description objects, and the data is frustratingly close but inaccessible.ĭata Interoperability is still the answer, but you need to author a Spatial ETL tool tailored to your data. An incomplete uninstallation of a program may cause problems, which is why thorough removal of programs is recommended.I am regularly asked how to extract the tabular data visible in KML description balloons in ArcGIS Earth into properly typed attributes that can be written to a Geodatabase feature class. There could be other causes why users may not be able to uninstall ExpertGPS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |