Skip to main content

I have Geotiff file and I need to convert in shape file with data

I am new in this so I don't know how to Extract fields and attributes from Geotiff +

 

this is the file

 

https://www.nhc.noaa.gov/gis/inundation/inundation.zip

Do I understand you want to convert the rastercells to points or polygons? This can be done but will result in a lot of points / polygons. About 5.000.000 for this raster.

Steps how you can do this:

  • Reader or FeatureReader to read the raster.
  • RasterCellCoercer to convert the rastercells to points or polygons.
  • AttributeCreator to convert the raster cell value to attribute. In this case _band{0}.value.
  • Writer or FeatureWriter to write the result to shape.

give me null Values

image


give me null Values

image

Correct. The values are in the list "case _band{0}.value" so you must create an attribute using the AttributeCreator where value is case _band{0}.value.

 

You can see this in the Feature Information window in the Visual Preview or Data Inspector.


still not getting it


Do I understand you want to convert the rastercells to points or polygons? This can be done but will result in a lot of points / polygons. About 5.000.000 for this raster.

Steps how you can do this:

  • Reader or FeatureReader to read the raster.
  • RasterCellCoercer to convert the rastercells to points or polygons.
  • AttributeCreator to convert the raster cell value to attribute. In this case _band{0}.value.
  • Writer or FeatureWriter to write the result to shape.

Attached workspace demonstrating this.

2022-06-27_16h00_33


Attached workspace demonstrating this.

2022-06-27_16h00_33

work perfectly fine

can we merge features with similar category

as in one multipolygon for each category

imageit's like each pixel has been inserted separately as a record

this doesn't seem right

adjoining features need to be merged as a single polygon

that way, they will represent a single region

 


Attached workspace demonstrating this.

2022-06-27_16h00_33

Merging adjoining polygons with similar attributes can be done using the Dissolver.


Attached workspace demonstrating this.

2022-06-27_16h00_33

but i need in polygon


Attached workspace demonstrating this.

2022-06-27_16h00_33

i am new and i have no idea how can I do that


Attached workspace demonstrating this.

2022-06-27_16h00_33

I think the best advise I can give is to work through the FME Academy first, to get up to speed working with FME.


Attached workspace demonstrating this.

2022-06-27_16h00_33

i am but atm this work is in urgent situation


still not getting it

Hi @asadamjad​ Currently in your AttributeCreator, you are assigning "_band{0}.value" to the New Attribute parameter. Instead of assigning it to the New Attribute parameter, try assigning it to the Attribute Value parameter. You can then assign the name of the attribute in the New Attribute parameter.

image

 

Hope this helps! - Dan M


Reply