A space to discuss FME Form
Recently active
A Tester: what could be simpler? I feel silly asking this, but I must. I have two sets of features, both resulting from reads from the same geodatabase (GDB). One set comes from a FeatureReader through the <Schema> port. The second set comes from a PythonCreator that uses fmeobjects/arcpy to create FME features having a few attributes containing schema information but not geometry. The plan is to run the two sets through a FeatureMerger to add the attributes of the second set to the first set. All well and good. Before sending all the features to the FeatureMerger, though, I wanted to remove from each set any features that have "OBJECTID," "SHAPE_AREA," or "SHAPE_LENGTH" values for a particular attribute. So, I send each feature set through its own Tester. The tests in each Tester are the same, except for the attribute name holding the tested value. The test is essentially if UpperCase(@Value(<attribute_name>)) = OBJECTID OR UpperCas
Please help me to solve this problem How do I convert this file from citygml to a shapefile With the construction site set on the map by knowing its coordinates on Google?
Hi everyone!Maybe someone knows, how could I pull out information from feature information block? I have description of appearance reference, but I can't use it in transformers.Thank you in advance!
Hi,When I try to read data from ArcGIS Online this error appear: "Python Exception <TypeError>: unsupported type for timedelta milliseconds component: str". The connection is OK since I manage to read data from others dataset (fature layer) from AGOL. I have tried to find som answers and it seems to be something with dateformat, but my lack of knowlegde makes it difficult to find a solution. Is there anyone who have had experiene whit this error and know a solution?
HI there I am alittle confused by this error as I am writing several shp files into AGOL, I am using the same area for clipping the data which is aggregated into one area using the tools you can see below.On the other shps file I am writing I have no ran into this issue, they are fine to upload etc but on the last couple of shp files this is the error I am getting. I was wondering if anyone had seen this before? I am not trying to write the area used for clipping to AGOL, but just the output of the data which is clipped, so im not 100% sure why im running into this error.
Im trying a simpel setup. One reader one Writer.The reader reads a WFS service, and the Writer writes down in a local esri file gdb. Im trying to access this url: https://services.drift.kortinfo.net/kortinfo/services/Wfs.ashx?Site=Aalborg&Page=Aalborg_Forsyning&Service=WFS It shows up nicely in the inspector, and if you run the reader alone, it loads everything. But as soon as I add the writer I get geometry errors. What is wrong? Regards David
Hi,I want to insert or replace a json document in a collection using PUT and mongodb_id with a Featurewriter.If the document don't exists, no problemeIf the document exist, there is an errror message: E11000 duplicate key error collection: fdppma_dev_pdpg.Couche index: _id_ dup key: { : ObjectId('62b01e134c2300007e0001a5') }: generic server error I believe that Put delete the object before insert it. Someone have got an idea ? Thanks
I have a feature class in a file geodatabase with a Raster data type field, whose values I want to write to an SDE feature class with an equivalent Raster field.When I use the GEODATABASE_FILE reader, the raster column is not listed in the resulting feature class. Likewise with the FILEGDB. To make sure I wasn't missing something I tried the GEODATABASE_FILE_RASTER_DATASET and GEODATABASE_FILE_RASTER_CATALOG readers, which, as expected, would not recognize the feature class.When I use the GEODATABASE_SDE writer the raster field is also omitted. Again, trying the raster readers, GEODATABASE_SDE_RASTER_CATALOG and GEODATABASE_SDE_RASTER_DATASET did not recognize the feature class.Does FME handle the ArcGIS geodatabase Raster field type? Using FME Version 2019.0.1.0 Build 19253
I need to undo deletions of large number of files in a AWS S3 bucket. The deletions were done on S3 versioned files. I can manually delete "delete marker" to restore the latest version or wrote python code to do this (https://console.aws.amazon.com/support/home#/case/?displayId=11035724071&language=en and https://medium.com/@jbirdvegas/crap-so-you-deleted-all-your-customers-s3-artifacts-now-what-d684d76437d3), but wondering if FME can do this quick. I have used FME to upload and delete files to S3, but don't know if it can remove the "delete marker" to restore the latest version of files.
Hello, How to remove inner boundaries of polygons? For example, on the screenshot above, I would like to remove the central part of the selected polygon so that it does not have inner boundary anymore. Thanks!
I am attempting to convert the date format of an Esri layer file and am met with "The loaded plugin's FMEPluginCapabilities 'LogCount_func' has changed the process locale to 'English_United Kingdom.1252' which is incompatible with FME 'English_United Kingdom.utf8' locale. Please see 'pluginbuilder/cpp/fmeplugincapabilities.h' documentation"https://www.safe.com/support
XML to excel convert- how to convert below xml file in excel?All attributes should be populate in single row with separate columns<PlaceList><Place><LocationList><Location type="MAIN"><Address><ParsedList><Parsed languageCode="en-GB"><CountryCode>IND</CountryCode><PostalCode>303805</PostalCode><Admin><AdminLevel><Level2>Rajasthan</Level2><Level3>Jaipur</Level3><Level4>Amber</Level4></AdminLevel></Admin></Parsed><Parsed languageCode="hi-Latn" languageType="TRANSLITERATION"><CountryCode>IND</CountryCode><PostalCode>303805</PostalCode><Admin><AdminLevel><Level2>Rajasthan</Level2><Level3>Jayapur</Level3><Level4>Ambar</Level4></AdminLevel></Admin></Parsed><Parsed languageCode="hi"><CountryCode>IND</Coun
I have a workspace that creates .png (image) files based on business needs. I'd like to send one email with the png files attached. The problem is, the name and number of the png files will vary with each run. Currently, I have one aggregate feature with the paths of each png file stored in a list. This one feature is being fed into the emailer to trigger the send of one email. How can I configure the feature coming into the emailer transformer, and the emailer attachments section, to send the png files regardless of how many there are? Thanks!
Hi all,I need to connect to a linked server in my SQL Server. Is there a method of connecting to a Server Object using FME?Alternatively I have a query that collects my data but running it through the SQLCreator doesn't produce any attribution (presumably because FME doesn't natively connect to the data).ThanksNeil
I am trying to drop features in the PythonCaller (see below my code). I manage to delete attributes and geometry in the last else statment, but for some reason the feature itself is not deleted. The number of features in the input and output is namely the same, while the geometry is gone (Look at the image below) . I just find it interesting to see that the features without geometry are still kept. Does anyone know how I can drop the features in the Pythoncaller in the else statement when I am removing the redundant geometry?import fmeobjects def processFeature(feature): lstAttributes = feature.getAllAttributeNames() testList:=['B-OI-KL_ET_MS_KABELBED-G'] for lvl in lstAttributes: if lvl == 'igds_level_name': levelName = feature.getAttribute(lvl) if levelName in testList: print(levelName) #print(levelName) for attr in lstAttributes: if len(at
Hi! Is there any way to set up a XYZ Tile background such as https://tile.openstreetmap.org/{z}/{x}/{y}.png (works fine in QGIS) into the FME Data Inspector?I suppose this type of service doesn't work like a WMTS service. Thanks for your clarifications! Best regards, Olivier
Now I'm suffering from keeping the attributes with the same schema. My workspace is quite simple, just reading IFC and writing IFC. I only need to remove some fearture types. So I think it's not necessary to do some touchups. And I'm trying to change some reader/writer parameters to solve the problem. Unfortunately, it doesn't work.From the IFC reader, we can see some IFC attributes which are regarded as geometry traits (IFMENull).After running the workspace, I found the all the IFMEAggregate with named "IFCPropertySet" were disappeared. Originally, there are 15 IFMEAggregates, including "Part 0:IMEAggregate (18 Parts)", Part 1 which is IfcMaterial, and Part 2 to Part 14 which are IfcPropertySet. After running the workspace, only 18 Parts are kept from original "Part 0:IFMEAggregate (18 Parts)" and its level is going up to the top.I'm not sure whether it's related to the setting of Representation Contexts. Does anyone have any idea?
Hi all, I'm running into an issue when trying to INSERT & TRUNCATE an existing ArcGIS Portal feature layer via an FME writer. The error message I am receiving can be seen below: ArcGIS Portal Feature Service Writer: Encountered an unexpected error. The error code from the server was '500' and the message was: 'Cannot perform operation. Invalid operation parameters.'. Details: '' I've read through a couple of older posts about this issue and followed the suggested fixes, but these don't seem to help in my case - fixes include checking there isn't a mismatch in schemas, and reducing the 'Feature Per Request' in the writer settings. To see if there was an issue with updating more complex feature layers, I have tested with a simple feature layer and still having the same error message. This polygon feature layer (3x rows, 1x string field) was published from ArcGIS Pro to Portal and can be read into FME with no issue, but the same error oc
Similar question is already asked here Does any one has migrated data or know how to migrate data into raster data type into ESRI feature class. Screenshot attached for better understanding...
Only the latest version of Proj (version 9.x) supports transformation (3D -heights!) between the norwegian Nautical Sea Chart Zero (EPSG:9672 and EPSG:9883) and NN2000 (EPSG:5941, EPSG:5942, EPSG:5973 etc.), but also between Nautical Chart Zero and ellipsoidal heights. This does provide a number of advantages, including the possibility of seamless transformation of z-values between sea and land data in Norway. (E.g. from EPSG:5973 to EPSG:9883) FME currently uses PROJ version 7 in the PROJReprosjector- Are there any plans to upgrade to version 9? Do you have any other suggestions on how to transform data in FME from EPSG:5973 to EPSG:9883? Thank you.
Is there a way to write a new line in an excel cell?
After transforming some bands of a raster (CSAR) in the Rasterexpressionevaluator, they are renamed to the same name (3bands get the same name) but I would like them to keep the original name. I think this is an error in the Rasterexpressionevaluator. In order to set the bandnames to their original name, I have tried the rasterbandnamesetter but it does not work as the bandnames are no attributes. The transformer does not seem able to reach the bands stored in the IFMERaster object. How to rename these bandnames ? Thank you!
Hi all, In the last few days we've set many small steps leading up to the problem we now have. We have polygons, where one attribute of each polygon is a list of bird species, which occur in that area. This list is of course different for all polygons, the polygon-specific list. We also have a list of bird species which should occur in that area. This list is the same for all polygons (in this subset), the general list. Now, we would like to compare the list of each polygon, with the list for all polygons. We have tried many transformers, and our last option (at the moment) is the PythonCaller, where we hardcode the second list as a set, and compare it with the polygon-specific list, converted to a set. We group by the id of the polygon, because we want to compare each polygon-specific list to the general list. This is our Python-code:import fmeimport fmeobjects x = {'item 1','item 2','item 3'} class FeatureProcessor(object): def __init__(self): self.feature_list = []
I am trying to update a shp file in Arconline with new data. I am trying to replace the data which is the same and add new data that may have been added. I am using truncate and " update "in the ESRI AGOL writer to make sure this happens. But I run into this error when running this "ArcGIS Online Feature Service Writer: Encountered a feature for feature type 'WatercourseLink_Clip_test' that is missing the ID attribute 'OBJECTID'. This attribute is requiredARCGISONLINEFEATURES writer: A fatal error has occurred. Check the logfile above for detailsClipper_INSIDE_-1_17_Player (RecorderFactory): ARCGISONLINEFEATURES writer: A fatal error has occurred. Check the logfile above for details" But as far as I can tell both the source data which is being uploaded to update the exisiting data and the exisiting data in AGOL both already have ObjectID's. Any help would be greatly appreciated as I think im missing something quite simple here