Skip to main content

Hi, I’m fairly new to FME and having some issues with the PointOnRasterValueExtractor.

All datasets are in EPSG:7850 (GDA2020, zone50) and the PointOnRasterValueExtractor seems to be working as I can see the correct values when I interrogate the points.

The issue is when I try to write the output to a Shapefile.  The Q__band values are all zeros.

What am I doing wrong here?

 

 

Hi @spatialriq 

Thank you for reaching out! Great question!

This webpage may be able to assist when it comes to the PointOnRasterValueExtractor.
There could be a slight issue with the coordinate systems that may need to be reprojected (though it shouldn’t be an issue if their in the same system already). 

If you could share your workspace I can look into this further and try find a solution for this.

Thank you!
Donal.


Hi Donal,

Thanks for the reply, attached is the workspace.

Regards,

Richard


Hi @spatialriq,

Thank you for the workbench, however if possible could you send me the .fmwt file as this will include all the data needed to recreate this problem.
You can also send the original source data and I can work from there!

Apologies about the confusion!

Thank you,
Donal.


Sorry, where do I find a .fmwt file?  I can only see .fmw and .log files in the workspaces directory.


Donal,

Found what a .fmwt file is, so have created and zipped one.

Regards,

Richard.


Hi @spatialriq,

Thank you for sharing the workspaces! Appreciate it!

I believe the problem could be in the name of the band. Only attribute names which begin with “_” or numerals should be prefixed with the ‘Q_’ when written by the Esri Shapefile writer.

The ListExploder should be able to assist with this issue - this explodes each list member on each input feature out into its own feature.
If you add a ListExploder after PointOnRasterValueExtractor it should solve your issue. Be sure to 'Merge List Attributes' & 'Use List Attribute Values' in the Attribute Accumulation.

This should clear up the problem you are having! If you have any more issues let me know and I'll be happy to assist!

Thank you,
Donal.,


Thanks for your help, it’s now working.


Reply