Using transformers to modify data.
Recently active
Hello, I am new to FME, so I'm asking just in case someone faced the same problem as I do.I am trying to convert an autocad DWG file to an SVG file.I succeeded in generating the SVG by mapping an autocad reader to an SVG writer, but the generated SVG contains a transformation :<g fill="none" stroke="black" stroke-width="0.885356531023703" transform="translate(0,6886.85) scale(1, -1)">My svg is consummed by a js componnent which doesn't support scales other than (1,1)I tried to use a scaler transformer with 1x/-1y factors but it was unsuccessfulIs there any way to fix this ?
Hi allsimple question ... I have a street network with polyline and I need to extract a centroid of polylines but the polylines are aggregates so if I use CenterPointReplacer I obtain the centroid but not on the polyline Can you help please ? In Arc also if the polyline are aggregates feature to pint create a centroid along the line. Francesco
Morning, I have a list of attributes that I've created with DateTimeConverter in the format %H:%M:%S. However, there is a decimal point at the end with a couple of numbers.Eg. 08:13:56.236Does anyone know a way to get rid of everything after and including the decimal point? I've tried attribute splitter and rounder and also @int() and @floor(). But nothing seems to be workingThanks in advance :)
Hello During the clinging process I get the result below, is there a way we could remove the highlighted lineusing FME Thanks
I have a raster representing rainfall intensity as detected by radar.The image is in a custom gnomonic projection. I want to reproject into a Lat/Long GDA94 projection.How do I define a new custom projection in FME?The projection information I have been supplied with, in a .map file is;IDR663.map66 Brisbane (128 km) projection = Gnomonic center_longitude = 153.24001 center_latitude = -27.71810 lon0 = 151.93095 lat0 = -28.85765 lon1 = 151.95828 lat1 = -26.55640 lon2 = 154.53113 lat2 = -26.55632 lon3 = 154.55867 lat3 = -28.85755Thanks!
What does the term "FME orchestrator" mean?
So, I have two files. File 1 contains 1 point and file 2 contains 10 points. Basically, for every point in file 2, connect it to file 1 and I will end up with 10 points.I can do this in Python easily but not sure how to do it in FME yet. I am using FME 2016 btw.Thanks in advance!
Hi! Is it possible to add layers to an empty (contains no features) dwg-file which already contains some layers? The new layer's names are contained in an Excel-file. Unfortunately I can't upload the empty dwg-file for some reason (the upload progress bar comes to 100% but then nothing happens; the file is only 97 kb), so the Excel-file is the only attached file. Best regards, Ken
Dears,My purpose is to find routes which connect the pink polylines (by Shortest Path Finder) within the area features to the black marked network elements, taken into consideration one attribute value (_sum, the higher the better) of joining lines of the same network (displayed by green) at every intersection. I have already created a loop, containing two SpatialFilter transformers, where Filter is the pink polyline and the Candidates are the green ones. By using this, I could iterate through the green marked network, but it neither considers the value of '_sum' attribute nor the location of the black network elements. Therefore my question is: how can I spatially select those green lines which hve the highest value of '_sum' attribute in order to form a continuous connection between the black and pink networks?I hope, my explanation was clear, but let me know if you need additional information.Every suggestion is very appreciated.Kind regards,Niki
Using infoworks ICM we have run 2d simulations on a flooding scheme. We have run a baseline series and two solution scenarios however due to the solution involving a water basin, the ground model has been altered and therefore the mesh is not identical to the baseline.I previously created a tool which takes the baseline 2d results for each mesh triangle and compares to the flood depth to the solution 2d results but this tool only functions correctly when the mesh tables are identical. Therefore we believe that the next best way to do a comparison with two different mesh tables would be to create a raster for each and calculate the following (baseline depth raster - solution depth raster) in order to gauge the solution performance. However being new to the software I am struggling to work out how to create the rasters and furthermore, how to compare them. Any tips?FYI - The current tool uses max mif files exported from the simulations in ICMCheers
Hi,I thought I'd solved this issue with a spreadsheet reader however I appear to be experiencing the same thing with a CSV reader. Whenever a record with a null date field hits the writer it will have the error "attribute could not be written. The containing feature has been dropped." - but I still require that record. With the spreadsheet reader once the spreadsheet date fields were cleaned up so they only had either a date or a null value (the cell contents were cleared in excel) it worked fine. I would've thought that a CSV reader would have less difficulty. Is there a transformer/parameter out there that remedies this issue?Any ideas FMEers?Cheers,Mike
Hello all,I have two layers, one of roads (lines) and one of electorates (polygons). The roads intersect the electorates and one road can intersect more than one electorate.For each road feature, I want to add the name of the electorate that the majority of the road falls within.I am using a SpatialFilter to populate the roads with the names of electorates but I don't know how the transformer chooses which electorate to populate the road feature with. Is it just the first electorate that happens to intersect?
I have a large raster with 1 band (NDVI) though it could also be multiple bands (different vegetation indices). I also have several hundreds of polygons. I would like to use zonal statistics to determine min/mean/max/stdev of NDVI values of these polygons. How can I do this in FME? In ArcGIS and QGIS this is a one click affair.I am aware of the existence of Rasterstatisticscalculator, but it does not have that much documentation. My current workflow is as follows:but the following things are confusing me: Why does rasterstatisticscalculator turn the three clipped rasters into 1 raster? And how do I extract the results back into the shapefile? Example workflows of how to perform an efficient zonal statistics would help immensely!Thanks!
Hi all,I'm fairly new to FME and have an issue I hope you can help with. I have a shapefile of overhead powerline spans and have been using the FuzzyParrallelLineFinder custom transformer to find spans which (likely) share a right of way (ROW). Each span of the line is a separate feature. Often the ROWs are more complex with not quite parallel lines (hence the Matcher not quite doing the job) but this is just an example:My ultimate goal is to merge these spans into a single ROW centreline with attributes taken from all of the input spans. The transformer has been working great and the matches I am getting back are really promising and make sense. It provides each matched feature with a _line_id and a _match_id linking to the best case match _line_id, along with various other stats I can use to filter matches. There is also a list of best case and additional matches. I can use the stats to filter out matches that aren't useful but beyond this I am unsure how to use the output t
What's the best way to rasterize a 3D polygon (not constant Z value)?The NumericRasterizer is very efficient (3.2 seconds) but uses a single z value (first vertex?) for the entire polygon. The RasterDemGenerator produces the desired results, but takes over 1.5 hours to run. Is there an alternative to the RasterDemGenerator that is more efficient?
I want to warp the image to the oblique photo footprint (the trazpazoid polygon). I can geoference the image to the image footprint (the geoferenced image is represented by the rectangular polygon) but when I perform an AffineWarper transformation the image incorrectly shifts, as represented by the image. I'm using all four sides of the oblique trapazoid (extracted with Chopper) as the control for the AffineWarper. Please note that my exposure to photogrammatry is limited.
I'm making a tree map. Every tree species gets a different color with the FeatureColorSetter. I put the fme_color in the KMLstyler. But in google I only get one color. In the KML I do not get the hex colors.I'm working in FME2015 due to the fact of an old smallworld application.How can I change the colorsettings for KML?
I'm trying to transform Aircom Enterprise Map/Data Asset file to ESRI ShapefileI get empty ShapefileAs input I've : index.txt, menu.txt and two binary files: g2 and g3 .I can open my files in FME data inspector .I tried to transform Asset files to 2D Shapefile or 2D with measurements, as result both transformations skipped the 2 features : g2 and g3Please help , log file attached
Is there any way to calculate an n-ary summation in the expressionEvaluator or equivalent?I have an expression to calculate that includes the following component, where n and a are attributes:?na2n-1
I sShould preface this post with this subject-matter is foreign to me. Seeking solution – with detailed instructions – to offset points on a map. The end application requires lat/long, which I have. I need to take these lat/longs and offset the map points (preferably, in random directions) by 350’.Thanks in advance!
Hi, How can I change the brightness of TIF Raster? I have made same attemps with the RasterExpressionEvaluator but I didn't see any changes in the result. Best regards Steve
Hi,I have created a workbench which migrates data from WFS to spatialite. Only issue I am facing is that I use numeric data types (containing lat and long among other things), the data merges from many wfs into a few spatialite tables, the schema is the same but the precision on the data types differs.As a result I get notices like this:SPATIALITE writer: Existing feature type 'x' contains attribute 'longitude' of type 'real(20,10)' that does not match the schema attribute of type 'real(31,15)'. Attributes named 'longitude' on incoming features will be written to the existing feature type as type 'real(20,10)'Is there a way I can override the schema so that I can set it to a larger precision and avoid this issue?Thank you for your help in advance
we have WS running with no encoding issue on the desktop, when published on the server and used as API we are getting a result with encoding issue we did add an ecoder into the WS , but it didnt solve the problem Any idea, please
In one case, I am getting a random problem with Esri Geodatabase:2017-03-16 12:10:36| 2.1| 0.0|ERROR |Could not open the Enterprise Geodatabase. The error number from ArcObjects is: '-2147155644'. The error message from ArcObjects is: {Cannot connect to database because the database client software failed to load. Be sure the database client software is installed and configured correctly.}In another case I am having a random problem with Oracle:2017-03-15 19:48:48| 248.5| 0.2|ERROR |Execution of statement `INSERT INTO "WELL_HELLO"."TABLE" ( "PKEY_HELLO",.....) VALUES ( :"PKEY_HELLO",.....)' did not succeed; error was `ORA-03135: connection lost contact Process ID: 12345 Session ID: 4321 Serial number: 98765'. (serverType=`ORACLE8I', serverName=`someserver', userName=`SOMEUSER', password=`***', dbname=`')These workspaces are run on FME Server. How can I figure out the problem?
Hi, I want to create a 3D tileset of trees of an city. Whenever i searched for similar process in Cesium and FME related communities, i noticed that people mostly used "instanced 3D tiles" (Cesium3Dtiles with i3dm file format) to represent the objects sharing same geometries (like trees, billboards, citylights etc.). Actually FME have very useful transformers to calculate coordinates of center points of these objects, but it doesn't support i3dm tilesets.Do you know any option or suggestions about creating i3dm tilesets using only FME or with help of a 3rd party solution?