Skip to main content

I have several shapefiles in different UTM coordinate system. I want to:

a. reproject each of them into LL84

b. Then merge the re-projected feature into a single shapefile

 

I need help in

a. Merge features after reprojecting them.

b. Find a better way to do it than the way I am trying to do it (see image below). As you can see, I am stuck and I do not know how to do the last part.

 

image.png

Something like this?

image


Yes @geomancer​ 

 

Something like that. But, connecting two reprojectors to a shapefile writer does not work (Well, it did not for me). I have attached a figure of the conceptual workflow of my requirement.

 

image.png


You don't describe what part of your process did not work, so I'l try to describe several possible reasons for the failure.

Just to be sure: a shapefile can only contain one geometry type (point, line or polygon).

And a shapefile actually consists of several files; some mandatory and some optional (Wikipedia). You will pass the name of the .shp file to FME, and FME will read all related files as part of the import.

A shapefile can also be passed to FME as a zipfile, containing all files that make up one shapefile.

Like you say, the list of shapefile locations can be fed to a FeatureReader. Usually the path to each shapefile is passed in an attribute, so the attribute is set as the Data Set to read.

Maybe the shapefiles for the different UTM zones don't come with projection information (in a .prj file)? In that case you would have to add the projection with a CoordinateSystemSetter.

It should be enough to reproject while writing to the final shapefile.


Hi @geomancer​ 

 

The part where I connect two REPROJECTORs to the SHAPEFILE WRITER does not work.

 

Anyway, let me do this step-by-step. Let's go to the first problem:

Step 1. HOW do you read several shapefiles with different coordinate system (with projection files) with a Feature reader.

 

This is how I did it

 

image 

Step 2. Reproject them all to LL84.

Here I am stuck.


There should be no need for a Reprojector. FME knows the coordinate systems of your source shapefiles, and you tell FME you want to export to a shapefile in LL84.

Shapefiles


On a side note... can you explain with what you mean with "does not work"?

 

Do you get an error message? If so, what does it say?

 

Do you get output but it's not what you expect? If so, in what way does it not match your expectations.

 

There's a number of potential issues (a lot may have nothing to do with reprojection at all) and by giving us a bit more information we can quickly narrow it down and help you.


Reply