Depends where you tried to set the coordinate system. If it was the writer, I don't think that's the best place. Try a CoordinateSystemSetter transformer. That might do the trick.
Hi!
Thanks for the answer.
I've tried to set up the correct coord.system in the reader and also in the writer. none of it did it right.
The coordinateSystemSetter brings 50% of the solution as it overwrites the projection "RAW" value with the correct EPSG, but not the DATUM "RAW". So thats why I thought about accessing the header info and overrule it.
Hi!
Thanks for the answer.
I've tried to set up the correct coord.system in the reader and also in the writer. none of it did it right.
The coordinateSystemSetter brings 50% of the solution as it overwrites the projection "RAW" value with the correct EPSG, but not the DATUM "RAW". So thats why I thought about accessing the header info and overrule it.
I'm not sure how it would set the projection but not the datum. Can you file this as a case with our support team? safe.com/support is the address to go to. They will be able to ask the raster developers directly if there is something to be done.
I want to modify which attributes I get when reading OSM data.
For example I want to see the "generator:source" tag as an attribute in the power feature.
I can add it as an atribute to all features by adding it to the list of attributes near the top of "fme_map_features_config.xml" as follows:
<fme_osm_config>
<add>
<geom_type name="aggregate"></geom_type>
<geom_type .....
<attribute name="id" type="string"></attribute>
<attribute name="timestamp" type="string"></attribute>
<attribute name ........
my addition-> <attribute name="generator:source" type="string"></attribute>
But there is a section further down for the power feature that looks like this:
<key k="power">
<value v="cable"></value>
<value v="cable_distribution_cabinet"></value>
<value v="catenary_mast"></value>
<value ......
</key>
Can I edit this section so that "generator:source" appears as an attribute in the power feature only? I have played around with all sorts of syntax but can't get the result I want.
Hi, I have been experiencing the same problem in that when trying to reproject an ECW I get the following error message:
"ECW writer: The datum in coordinate system 'RAW' is unsupported. The resulting file will be bave no datum."
I added the CoordinateSystemSetter after the reprojection transformers and this did not work either with the same error message appearing. However, when I added an Inspector out of the CoordinateSystemSetter (and made no other changes to the workflow) the reprojection did work! This seems quite strange and so I am wondering if there is some sort of bug?
Sorry for the late response. I wasn't able to answer earlier...
Thats what I've got back from FME Support:
The standard ECW Projection and Datum codes allow only a
relatively small set of the most common projections and datums.
If FME cannot map your output coordinate system to one of
the available projections, it writes the EPSG code of coordinate systems
instead, which is is a commonly accepted alternative.
If FME cannot map to a standard datum, it sets the datum
to 'RAW' instead, and provides a warning in the log file. Since the EPSG number
in the Projection inherently includes the datum information, this is usually
not a problem when reading the resulting ECW file.
You can find a list of the standard ECW datums at
'
http://www.pcigeomatics.com/geomatica-help/references/gdb_r/gdb4n170.html'