Using transformers to modify data.
Recently active
Hi,We want to capture a view or clip contents (just like clipper tool works for 2D objects) inside a 3D solid object of an 3D AutoCAD file. That's way, we want to take screenshots or directly copy objects individually (they are generally made by block references) to visualize every office department with its floor plans. I tried to read DWG file and then support clipper tool with a geometry extractor, which is extracting 3D solids from same DWG file. Somehow, clipper tool rejects 7 of 8 individual parts and extract only one.Do you suggest any other solutions or workflows for my issue? Floor Plan made by block references inside a 3D solid geometry:A part from my workflow in FME:Also i added clipper log below:Clipper_Vector(ClippingFactory): Processed 1 input feature(s), of which 1 feature(s) were clipped, 0 feature(s) were totally inside and 0 feature(s) were totally outsideClipper_Nuker(TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)Clipper INSIDE Splitter(TeeFactory):
While reading arc geometry from smallworld, FME converting geometry as a linear, Could any one help us to resolve the issue ? The conversion of the geometry is done by FME internally?
Hi,I would like to create a csv file and set that to Schema mapper.. cause I have a requirement which will generate data dynamically from the folder which contains multiple zip files..Looping through Folder --> FeatureReader(Merging all shape files)-- > Generic --> Schema Mapper (My idea is to create a schema mapper dynamically and setting here)--> Dynamic writer or Featurewriter ..At the same time i have to run through all the folders and then through zip files and set the data to one fgdb.Requirement is.. Here shape files don't have consistent names..1.zip Folder-->1.shp-->Point2.shp-->Polyline3.shp-->Polygon2.zip Folder-->2.shp-->Point2.shp-->Polyline2.shp-->PolygonWill go the FGDB.XXXFeatureClass(Point)XXXFeatureClass(Polyline)XXXFeatureClass(Polygon)Please help me on this...Cheers,Srikanth Dasari
I'm working on a workflow that uses the PythonCaller to extract coordinates from a source file of my choice and puts them in a results attribute. My plan is to replace the existing geometry with the one extracted using the GeometryReplacer with the OGC WKT encoding.As an example:This format needs to go into the GeometryReplacerLINESTRING(161274.467 453784.372,161277.253 453785.924,161279.958 453787.131,161280.921 453787.508)What i got is something like this, but it could be longer or shorter but always has a x and y coordinate but rounding after the comma could be different:161274.467 453784.372 161277.253 453785.924 161279.958 453787.131 161280.921 453787.508 How can you replace every second space with a comma without making it too static?This example contains four coordinates but it could have 8, 100 or more. After this stap i use LINESTRING(@Value(result)) to add the linestring text.
Hi, I have a table with values that I would like to map to different values via an external file. I can kind of make the AttributeValueMapper work the way I want, but only on one "source attribute" at a time. I've been trying to read about the SchemaMapper but the documentation is a little confusing and I'm not sure how to relate the help files to my example. So if I have a table with multiple names and "M" columns like below:And an external file with related values like below:What is the easiest way to map the number values to the letter values of the external file to result like below?Is the SchemaMapper the correct transformer for this? It seemed like it would need the attribute column names to match between the table and the external file, but I cannot rename the table headers. Seems like there should be an easy way to do this that I'm missing. Hopefully I've explained this well enough, any help would be appreciated thanks!
As all we are know there is two type of raster: 1) color raster (e.g. satellite Image) and 2) numeric raster (e.g. DEM). I am find in FME, there is tutorial available for converting numeric raster (DEM) to polygon but I want to precisely converting agriculture crops field which is almost rectangle shape from satellite Image to polygon.Until here, i am segmented NIR image by using new tools in ArcMap Segment Mean Shift. out put of that 8 bit RGB image which has mean value of input RGB NIR image based on spatial and spectral parameter. Now in FME, i want to make pure shapefile of natural rectangle shapes like field in image. i think there is fme raster expression which can done my job. Now in FME i have to design expression based on segmented raster value RGB and once again they marge apropriyetly and make pure one rectangle segment.. Last using RasterToPolygonCoercer we should achieve our goal.Attached file “Sample_Data.rar” has 2 sample file: 1. Originals Image (NIR_Originals.tif)
Hi, I have a work space that creates an error report for a dataset, that I would like to amend. The current error report brings back the error "Area of Outstanding Natural Beauty (AONB)' fails check for case is 'FULL_TITLE", however this isn't an error as the of being lower case is to be expected. In FME, for strings like the above, how can I allow 'of' to be lower case and not be included in the error report please?I think it might be require a regular expression of some sort, but not sure if \\bof\\b would do the trick.Would really appreciate your help. Thanks,JB
Hello, I am trying to join parcel number to parcel in FME. I am importing geodetic plan in .DWG but I decomposed it in layers in .SHP to manipulate it easily. I am facing a few problems. My plan is consisted of few layers. All parcels are made of lines and points and first thing I need to do is to make polygons(area) of these lines and points but LineBuilder and LineCloser are not helping me. I also tried with NeighborFinder but that doesn't work for me neither. What transformer could I use to make area because after that I know how to join attributes (parcel number) to an area. Thank You in advance, MaliodPalube
I have a CAD file that looked to be in local coordinates and I finally found the handy tool 'Local Coordinate System Setter' and I reprojected it into state plane and almost got the CAD drawing in the correct location but it is still off by a bit and not sure what I am missing. I've tried the Affiner tool to get the direction correct since i noticed in the CAD drawing it has _xdir_x and _ydir_y and so on.Adding those directions into the Affiner tool, it rotated at least correctly but not quite in the right location (blue CAD, green GIS):Is there another tool that i need to use to make it align better or at least get the CAD drawing in the exact locations?Thanks!
i am developing on an offline GIS application and i'm using open street map as my map source .at first i was using postgreSQL but i had to switch to oracle . now the problem is in osm schema . i used osm2pgsql for converting osm data to postgres database with schema in the links below using osm PBF filehttp://wiki.openstreetmap.org/wiki/Osm2pgsql/schemabut the problem is when i add a reader of pbf file in FME , the schema is different as you can see in the image belownow what should i have to do to get the right schema as you see in the link above , cause that schema has more flexibility and references in geometry communities
Hello: I have a surveymonkey survey responses that I have to loop through to capture all of the responses from 1 page. I capture the number of responses from an attribute returned from the GET from the API endpoint and I use that as my loop counter. My question is can I loop through the response body and pass the loop counter to capture the next survey response on this page? For instance, if I have data{}.id as an attribute, in a JSONFlattener can I dynamically set the value within the {} to @Value_count? Any help is greatly appreciated.
Hi! I would like to extract the middle coordinate of a three point arc. With the ArcPropertyExtractor I only get start, end and center point coordinates. The mid point does not necessarily be in the middle of the arc, but helps to describe it, together with the start and end point.Thanks a lot!!
I have the geometry of the route. And a list of stops on it. The length of the path to each of the stops is known. How do I create a point with this data? In total my task is to apply Z to my 2D route. I have Z for each stop and a route-based distance. As I can understand TopologyBuilder can accumulate that in one 3D route, but do not know how to create that points or how to get XY for them. Thanks for any hint!
Thoughts on creating an arbitrary number of equispaced lines between two reference lines? If there is an odd number of lines I could probably do something iteratively with thiessan polygons, but I'm a bit stymied with an even number of lines.
Folks,Wondering if anyone else has had this problem.I have previously been successful with passing data to CAD attributed blocksI have a CAD attributed block where the TAG is called XX:8.5However when I configure this as a USER ATTRIBUTE in my AutoCAD writer layer the decimal point is converted to an underscore.XX:8_5Unfortunately when the block is generated a new attribute is added to the block(which I didn't know could be done) called XX:8_5 in parallel with the EMPTY XX:8.5 which is actually a visible attribute. Is there an escape character or something I can add to the attribute to point it at the correct block attribute?
please guide to how convert geotif to table as reade by postgres sql
I have one track stored in MID/MIF, and a couple of points from other source. It is something like bus route with list of stops. All what I need is to know, how far from the very first stop each other bus stop is. Looks like it is a task for a LengthToPointCalculator, but I can not achieve right way how to use it.:( From what I am starting: I use two MID/MIF readers as sources - one for route, another for stops. Then I use CoordinateExtractor to get X and Y as attributes for each point. And after some alchemy we reach that LengthToPointCalc. I do not want to explain all variants I've tried, but in any case I got only zero as lengths. There are no problem to get length between every pair of sequential bus stops. But I can not imagine how to sum it after that. I will appreciate any help!
Hi allI have an interesting task of joining 2 datasets: One dataset is a table with house numbers, the table has roadids, housenumbers (including letters) and an attribute that shows if the house number is an even number og uneven.The second datasat contains roadids that matches the first dataset but instead of specific house numbers the second dataset contains 2 attributes: house_number_from and house_number_to, the second dataset also has an attribute telling if the intervals are even or uneven numbers.The second dataset also has a district_id attribute.I have to join these datasets to get the district_id joined on the first dataset. I somehow have to determine if the adresses in the first datasets fall between the intervals in the second grouped by the roadidI have attached both datasets here:does anyone have an idae how to go about this?
Google kml writer creates duplicate <multigeometry> tag for multi-part or multipolygons. Is this expected ?I have attached a sample kml that has a duplicate <multigeometry> tag which seems rather redundant
Dear all,I am currently trying to expand an existing ASCII file with a single row. I have an ASCII file with X, Y, Z, R, G, B and an Intensity (Scalar field). My second ASCII file has the same X, Y, Z and Intensity but instead of R, G and B one single row, named Scalar field #2.I have both files imported as readers in CSV and connected them with an Aggregator. Now I get an ASCII file which has everything I want: X, Y, Z, R, G, B, Intensity and Intensity 2. My problem is, this task takes +40 hours, since I'm dealing with over 40.000.000 data points each row. Is there a chance to just copy X, Y, Z, R, G, B and Scalar field from ASCII 1 to a file and extend it with Scalar field #2 from ASCII 2? Do I really have to Aggregate the whole process?Thank you in advance!
Hi,I am working on a use case of dissolving features that are touching (or share a common boundary) and also based on certain attribute criteria that these features need to fulfill. While I was successful in doing that (I can say that by seeing samples of the output), I was also hoping if I could distinguish the actual dissolved features so that I have an accurate account of where the change happened, especially for a large dataset (a million polygons)If someone can let me know that would be greatly helpful to test my work. Thanks very much in advance
Hi,as you can see in the attached screenshot, I have a dataset that consists of lines partly with the same geometry. The selected feature on the left side is partly identical to the one on the right (and can be seen as a "segment"). I only want to keep the feature on the right side, because the line on the left is obsolete and a "duplicate". How can I identify these "duplicates", that are "segments" of other lines to keep them out of my dataset? Thanks a lot for your help in advance!