Using readers and writers to extract and load data.
Recently active
Hi,I'm merging a DGN file with excel table writing into a SHP (feature type definition 'import from Dataset' - I used a template given to me)The excel table contains date, I've used DateFormater- DestinationDateFormat: %d"/"%m"/"%Y, it looks like it should work and it is working when I run the workspace redirected for FME Data Inspector, dated are coming up perfect, fields with no no date have <missing> instead.When I view the SHP in Data Inspector as to 'open a dataset in a new view' dates are missing as they are missing when I view in in ArcGIS.How to make it the date viable?I've tried the FeatureWriter, dynamic properties and used the template .shp a s schema definition, that doesn't work either.Would anybody have any idea why the date is so difficult to write into a SHP? I use FME Desktop 2016.1.3.Would the proper XML workspace exported from GDB help? There is a .shp.xml given to me within the shapefile template anyway.Kamil
HiI'm having a problem reading and then writing shapefile into MS SQL database. Shapefile contains multiple polygons (and multi polygons), but apparently there are few with only single pair of LAT / LON coordinates. These are rejected and not written. Is there a way how to write them anyway?Thanks,
Hello everyone,after creating a few excel files in my workbench I wanted to sum them up in a pdf file. I used the FeatureWriter to create the Excel files. After each FeatureWriter I inserted a PDFPageFormatter which I connected to a normal Writer for the PDF. What happens is nothing. The Excel files and the PDF file has been created but the pages in the pdf are empty. I'd be thankful for hints.Best regards,Felix
I have a Microstation DGN file, and inside it is an imported raster (not a referenced raster file). In FME this raster image is coming through as a nongeometric collection. How Do I go about extracting the raster file from the DGN so I can use it as a raster image? I have tried using the geometry filter, but since fme reads the raster as a nongeometric collection it thinks there is no geometry instead of filtering it through the raster port. Are there certain attributes that need to be set on the raster image in Microstation in order for fme to register it as a raster?
Hi all, I am trying to create a workbench that will read/download 52 individual URLs and write them as 52 individual feature classes in a file geodatabase as well as 52 individual dwgs both using part of the original URL as the file name and for the file geodatabase as an attribute under the feature class. I will hopefully have this run monthly as a batch file.I have a list of 52 URLs that are stored in a spreadsheet (example of a few attached). Each URL is a download link for a .zip file that contains an individual GML file. I can pass the URLs successfully to my HTTPCaller which saves the response body to file. An example of the original URL called is this below:http://data.inspire.landregistry.gov.uk/Kensington_and_Chelsea.zipWhereas the response file that is saved is called 'http_download_1497369123968_8888.zip'I need to have a way to transfer the actual URL name from the spreadsheet so that it can be an attribute of my output. I'm not sure how to do this?Below is a
Hello, I have one question regarding conversion 3D city from SHAPEFILE to CityGML.I have more classes of objects (vegetation, cityfurniture, buildings, ...). I would like to ask how can I follow the structure of creating _AbstractClasses in FME workspace? How can I create abstract features and use them as gml_parent_id in those features which are in the hierarchy down below? Thank You Michal
Hi, I have some trouble when I want export the custom properties of a Revit file. After exporting in rvz with the "Export Revit property sets" checked, I can see them when I open it in the inspector, but I can't access them in the workbench, or export the properties in a csv (with the ID I could reaggregate the data).Could you help me ?
Hi,Does anyone know why FME server is unable to handle an SDE connection file with OS authentication? I have several FME desktop workspaces using OS Authentication and I publish it to FME server and run my FME Job Submitter service. I also have the conection file uploaded, but somehow during translation it fails to utilize/recognise the SDE connection which is setup with OS Authentication. On the other hand, the windows server where FME Server is installed has ArcGIS Desktop installed too and I am able to connect to the database using the OS authentication SDE connection file.
I want to translat CityGML>IFC and i get this Error, at the end i cant get any geometry.
We run SSL and use a CNAME of gisdata.launceston.tas.gov.auFME Server 2017.0 is throwing:HTTPCaller(HTTPFactory): Received HTTP response header: 'HTTP/1.1 503 Service Unavailable' from 'http://papfme1.launceston.tas.gov.au:80/fmerest/configuration/migration/export'Terminator(TestFactory): Terminator: Termination Message: 'Unable to retrieve backup from FME Server `http://papfme1.launceston.tas.gov.au:80'. Please ensure that the credential are correct and that user `fmeadmin' has fmesuperuser role. The error was: HTTP/1.1 503 Service Unavailable - http://papfme1.launceston.tas.gov.au:80/fmerest/configuration/migration/export.'fmeadmin is in the fmesuperuser role and I have changed all hosts to use https and the CNAME above. The schedules>Backup Configuration form does keep reverting the password to 3 characters (which it isn't). If I paste http://papfme1.launceston.tas.gov.au:80/fmerest/configuration/migration/export into a browser it takes me
I successfully read autocad_insunits (Format Attribute) for any given DWG (In Autocad, this is the INSUNITS setting). Is it also possible to determine the DWGUNITS setting for any given DWG? I believe that I have tried all of the Format Attributes, with the word unit in the string, in FME 20160516 - Build 16494 - WIN64.Thanks.
We want to export a DGN V7 file to v8 version with some specifications. For example: In version 7 we have grouped some elements in the same level, but with different colors and styles. The objective would be to be able to make different selections of level, style and color and in the reader environment, and export that selection to a specific level in the output file v8. How can we do this? thanks for your help
Hi, is it possible to convert HTML page to jpg file.Thank you, cheers.
Good morning.I have the XML file of an ATOM feed. That XML has to be updated every time the resources provided by that service are updated. Several dates must be changed.My first approach is read the XML with the XML reader, calculate the current data, modify the XML using the XMLTemplater and wirting the same XML file using the Text File reader (with "Overwrite" set to YES)..The process reads the C:/ATOM_feed.xml, edits it and writes the file C:/ATOM_feed.xml.This doesn't work:"Error opening dataset 'Text File' for writing, ensure that file path and permissions allow for writing".I guess it makes sense.So, in order to avoid this, I have used "Creator" to create a feature with an attribute "join" set to "A". I have added the same attribute to the feed from the XML Reader and I have perfomed a Merge using "FeatureMerger" (Requestor = new feature, Supplier = XML). That way I can read and write the same XML file. The
Hi all, This might be completely in the world of fantasy! I've programmed FME to produce a MapInfo table (using MFAL writer) containing points at 25m intervals along road centres (using Ordnance Survey's ITN data), each point contains a URL including Long/Lat coordinates so that I can invoke Google Street View. In MapInfo, I need to add the Hotlinking capability after FME so that the URLs can be read and linked to. I've looked at the tab header file (in Notepad) and it seems to need a few lines of code at the bottom of it. I was thinking, could I program FME to add this automatically? Has anyone thought about this before? Perhaps this is beyond the use of FME. The closest way I could think of would be to create a text file and write the specific text to it then replace the actual .tab file component in Windows Explorer but it wouldn't be a tidy process. Regards, Ian
How can I download a file from Box.com, Google Drive, OneDrive or S3 by using the file name instead of the id?
Hello,I am evaluating FME for a project but have hit a hurdle trying to write to a MongoDB database. I have put together a very simple workspace that reads data from an Excel file and dumps it into MongoDB. When I run it, I get the following error:MONGODB writer: Existing feature type 'rawData' does not contain an attribute matching the schema attribute 'customerId'. Attributes named 'customerId' on incoming features will not be written to the existing feature typeI get the same error for each attribute that I have defined. The writer succeeds in creating the collection and populating it with documents, but all the documents only have the '_id' field set.On the writer, I've set Attribute Definition to Automatic and also given the collection name under the General tab. Otherwise I've left the defaults.Am I missing something?,Hello,I am evaluating FME for a project and put together a simple workspace that pulls data from an Excel spreadsheet and d
I've just opened one of my 2016.1 Workspaces that reads a ShapeFile in 2017.0 and some ArcSDE layers and writes to 2 File Geodatabases (FGDBs). I got the following message in the translation log:Attribute type 'fme_char' not found in ATTR_TYPE_MAP. Trying 'fme_int8' Attribute type 'fme_int8' not found in ATTR_TYPE_MAP. Trying 'fme_int16'I've still got 2016.1 installed so I'll run the Workspace in that, but I'd appreciate any explanations of what this means. I'll try re-creating the Readers and Writes in 2017.0 when I get a chance.
Hi,Yet another newbie here.I am just wondering if its possible to change writers output in some quick way (drop down list, etc).let me explain... I have an excel spreadsheet and 13+ feature classes (ArcGIS 10.3.1) I am using FeatureMerger to join the table with every single feature class (not always basing on the same common field). So far so good, it is working fine but sometimes i need to change an storing location, eg. output1: local test area, output2: internal server (SDE), output3: external server (SDE). How to change the output locations all at once. At the moment i have 13 writers and i don't want to change each of them every time and i don't want to create workbenches for each of the potential outputs. How to do that? Thanks,
Hi, is it possible to mix lod2 and lod3 geometries into a single CityGML file?
The area did not exist in the dwg-File, which parametres Needs the dwg polygon. In the DATA_Inspector out of des Workbench it Looks so:Which Settings are Missing for the Export to dwg?, to convert an area to dwg the area did nor exist. By Output in Dataexpector the Area are there. AutoCAD_entity=autocad_mypolygonDie Flächen werden nicht in im DWG gespeichert, bei der Ausgabe der Workbench in einen Datainspector werden diese angezeigt:autocad_entity (encoded: utf-8)= autocad_mpolygonautocad_mpolygon_object_type (encoded: utf-8)=0autocad_mpolygon_pattern_name (encoded: utf-8)=1autocad_with (64 bit integer)=2Für Hilfe wäre ich dankbar
I am trying to extract an Oracle spatial feature type to a text format. The geometry in Oracle has four dimension. I need to extract this fourth dimension in a text format. I was looking into extracting this into gml or geoJSON. However, I haven't managed to extract the Mth dimension coordinates...I was wondering if anyone has any idea how to do this?Thank you
Hello,I'm working on a workspace that will update a AGOL Feature Service. I need to pull from two different data sources, normalize the attributes and do some additional processing in the middle then write updates to the master. Both source data sets are fairly large so I am trying to not have to read each of them in their entirety every time the workspace runs. Rather I would like to leverage a "Modified On" field in the source data to only read in features that have been modified since the last time my workspace ran. I plan to push the workspace I'm building to FME Server and then sschedule it to run nightly. Currently I use the "time stamper" transformer to park the current data/time when the workspace runs in a .csv file. My thought is that I could then read in that timestamp and use it in my WHERE Clause. That's the thought however, I cannot seem to find a way to leverage that timestamp in my workspace parameters. Does anyone have some experience tr
Hello everyone, Does someone know how to set the srsName in a geometry for child nodes? So that it also appears in my AIXM File. This is how my ElevatedSurface looks like (ElevatedSurface has the right srsName=" urn:ogc:def:crs:EPSG::4326" but the srsName of curve is still "EPSG:4326" which is wrong) <aixm:ElevatedSurface srsName="urn:ogc:def:crs:EPSG::4326" srsDimension="2" gml:id="ts_4ccd28dc-d169-4905-bc3e-0d0908fa4042-0"> <gml:patches> <gml:PolygonPatch> <gml:exterior> <gml:Ring> <gml:curveMember> <gml:Curve gml:id="IDff4a11b2-b59c-4347-9b45-8872a5e8678b" srsName="EPSG:4326" srsDimension="2"> <gml:segments> <gml:LineStringSegment> <gml:posList>50.0298955820538...</gml:posList> </gml:LineStringSegment> </gml:segments> </gml:Curve> </gml:curveMember> </gml:Ring> </gml:exterior> </gml:PolygonPatch>