IMAGINE Discussions

Discuss and share topics of interest using ERDAS IMAGINE the world’s leading geospatial data authoring system.
Showing results for 
Search instead for 
Do you mean 
Reply
Valued Contributor
Posts: 565
Registered: ‎10-27-2015
Accepted Solution

Interpolating shapefile of points

I am looking for a method to interpolate points from a shapefile to a raster, using values from an attribute. 

Do you know any tools or spatial model in ERDAS IMAGINE than can help me?
Thank you

Staff
Posts: 127
Registered: ‎07-04-2016

Re: Interpolating shapefile of points

[ Edited ]

Dear Giuseppe,

 

If the task is to create Surface Layer or DEM, so you can use Surfacing Tool:

 

2016-10-11 11_45_47-Untitled_1 - ERDAS IMAGINE 2016.png

 

Here you can choose a shapefile and as attribute for Z pick up the one from the shapefile:

 

2016-10-11 11_48_56-Input Data.png

 

Hope this helps.

 

 

Kind regards,

Marina Vardovska

 

Post-Sales Engineer Remote Sensing

Hexagon Geospatial Division

Kind Regards,
Marina Vardovska
Hexagon Geospatial Support
Valued Contributor
Posts: 565
Registered: ‎10-27-2015

Re: Interpolating shapefile of points

Thank you Marina,

I didn't think to use the Terrain Prep Tool for it, because the values I want to interpolate are not Z, but I think it can work the same.

I'm tryng to use it but  I cannote select the attribute I want to Interpolate. Attribute for Z is not active

 

Capture.JPG

Have you never experienced the same thing?
thank you

Staff
Posts: 127
Registered: ‎07-04-2016

Re: Interpolating shapefile of points

Dear Giuseppe,

 

I believe this can happen only if you have no other attributes with values then PrimaryKey.

If you have, so look in Column Properties of your shapefile and check the Type of attribute you wanted to select, if it's Real or Integer and not String.

 

Kind Regards,

Marina

Kind Regards,
Marina Vardovska
Hexagon Geospatial Support
Highlighted
Valued Contributor
Posts: 565
Registered: ‎10-27-2015

Re: Interpolating shapefile of points

D'oh! 

Valued Contributor
Posts: 565
Registered: ‎10-27-2015

Re: Interpolating shapefile of points

Well, actually the 'ag' attribute is string. So I have to convert it in Real. 

Do I can do it using the Spatial Modeler?

I'm trying to find a way:

Capturess.JPG
I have to convert a table...is it possible?
Thank you very much!

Staff
Posts: 127
Registered: ‎07-04-2016

Re: Interpolating shapefile of points

[ Edited ]

Dear Giuseppe,

 

I will look for some other ways, but here one, which work:

 

2016-10-11 17_14_21-Untitled_1 - ERDAS IMAGINE 2016.png

 

So here I select some attribute, then create a Table File Output.

 

Then double-click on Custom Table Input, specify the Data Type as Float and from possible options choose From File... There select my *.tbl file.

 

2016-10-11 17_18_49-Table Source.png

 

Then you can attach new attribute using Add Attribute By Order operaor.

 

I do believe that there is some other way. I want to find it.

 

Kind Regards,

Marina Vardovska

 

 

Kind Regards,
Marina Vardovska
Hexagon Geospatial Support
Staff
Posts: 127
Registered: ‎07-04-2016

Re: Interpolating shapefile of points

Dear Giuseppe,

 

Here is the another way, it's definitely better: 

 

2016-10-12 13_26_50-Untitled_1 - ERDAS IMAGINE 2016.png

 

Kind Regards,

Marina Vardovska

Kind Regards,
Marina Vardovska
Hexagon Geospatial Support
Valued Contributor
Posts: 565
Registered: ‎10-27-2015

Re: Interpolating shapefile of points

Thank you very much Marina!

you are very kind

The models works but I have only 1 and 0 values in the new float column,

I'm looking for a way to mantain a three numbers precision , for mantain this kind of values: 0.633, 0.755 etc

Staff
Posts: 127
Registered: ‎07-04-2016

Re: Interpolating shapefile of points

Dear Giuseppe,

 

I actually tested with similar values and not getting just 1 and 0 as an output. 

 

Can you provide your shapefile? 

 

Also try to use the model attached, which worked for me.

 

Kind Regards,

Marina

Kind Regards,
Marina Vardovska
Hexagon Geospatial Support