Discussion:
[Paraview] View geotiff in Paraview?
Adam Dershowitz
2016-10-17 15:11:50 UTC
Permalink
I have a geotiff that I would like to view in preview. I’m able to open it, and view it, but the problem is that the scale and origin are not correct. It seems that preview is just opening it as a TIFF and is ignoring the origin, corners and pixel size in the geotiff. The problem is that I want to overlay some other polygons that are in a known location, so this placement is important (and off by hundreds of thousands of meters.)
Can paraview open a geotiff? If not, is there an easy way to just offset and scale data in Paraview? It seems like it can be done by manually adding a Transform filter and then forcing it to scale and translate as necessary. Although getting it all lined up is not trivial.

Thanks,


-- Adam
p***@web.de
2016-10-18 09:00:35 UTC
Permalink
Hi Adam

I usually make a vtp File with just a frame from the image coordinates. Then I
can load the image as texture to the plane.

Cheers
Venke
I have a geotiff that I would like to view in preview. I’m able to open it,
and view it, but the problem is that the scale and origin are not correct. It
seems that preview is just opening it as a TIFF and is ignoring the origin,
corners and pixel size in the geotiff. The problem is that I want to overlay
some other polygons that are in a known location, so this placement is
important (and off by hundreds of thousands of meters.)
Can paraview open a geotiff? If not, is there an easy way to just offset and
scale data in Paraview? It seems like it can be done by manually adding a
Transform filter and then forcing it to scale and translate as necessary.
Although getting it all lined up is not trivial.
Thanks,
-- Adam
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/m
Adam Dershowitz
2016-10-18 14:00:53 UTC
Permalink
I don’t want a texture, but instead it is elevation data so I want to use Warp by Scalar. Will that still work?
And, a separate issue. I don’t see a way to select a texture. I important a vtk that I created that has a polygon for my region. Then, I selected the TextureMapToPlane filter. But, in that filter properties, I don’t see a place to select the texture. Shouldn’t it show up there?

-- Adam
Post by p***@web.de
Hi Adam
I usually make a vtp File with just a frame from the image coordinates. Then I
can load the image as texture to the plane.
Cheers
Venke
I have a geotiff that I would like to view in preview. I’m able to open it,
and view it, but the problem is that the scale and origin are not correct. It
seems that preview is just opening it as a TIFF and is ignoring the origin,
corners and pixel size in the geotiff. The problem is that I want to overlay
some other polygons that are in a known location, so this placement is
important (and off by hundreds of thousands of meters.)
Can paraview open a geotiff? If not, is there an easy way to just offset and
scale data in Paraview? It seems like it can be done by manually adding a
Transform filter and then forcing it to scale and translate as necessary.
Although getting it all lined up is not trivial.
Thanks,
-- Adam
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yy-o7WM3pL2BUPF6CpTjbKH4LHER0UUOf5r7BLqMqKE&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yHRr7HXYEfFn8q8DzXJGEFYv5hK_xDIvrgo7pwNumBU&e=
Search the list archives at: https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=HBu2hYG3reK9wTLYUX1NsRHQa__SI4AXSDEgDr2g5cI&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_paraview&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=9hv4td6FZ-iBaIt_2yrKtoSXhH_-StkdRtyVYpe_5Jo&e=
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mai
Adam Dershowitz
2016-10-18 14:19:36 UTC
Permalink
I did figure out how to load the texture. But, now I’m just seeing a solid color on the plane. This is because the region is fairly flat, at a higher elevation, and the tiff contains elevation data anyway.
So, this doesn’t do the job. I can’t seem to select Warp by Scalar from the texture map.
Any other suggestions?

-- Adam
Post by p***@web.de
Hi Adam
I usually make a vtp File with just a frame from the image coordinates. Then I
can load the image as texture to the plane.
Cheers
Venke
I have a geotiff that I would like to view in preview. I’m able to open it,
and view it, but the problem is that the scale and origin are not correct. It
seems that preview is just opening it as a TIFF and is ignoring the origin,
corners and pixel size in the geotiff. The problem is that I want to overlay
some other polygons that are in a known location, so this placement is
important (and off by hundreds of thousands of meters.)
Can paraview open a geotiff? If not, is there an easy way to just offset and
scale data in Paraview? It seems like it can be done by manually adding a
Transform filter and then forcing it to scale and translate as necessary.
Although getting it all lined up is not trivial.
Thanks,
-- Adam
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yy-o7WM3pL2BUPF6CpTjbKH4LHER0UUOf5r7BLqMqKE&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yHRr7HXYEfFn8q8DzXJGEFYv5hK_xDIvrgo7pwNumBU&e=
Search the list archives at: https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=HBu2hYG3reK9wTLYUX1NsRHQa__SI4AXSDEgDr2g5cI&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_paraview&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=9hv4td6FZ-iBaIt_2yrKtoSXhH_-StkdRtyVYpe_5Jo&e=
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/pa
p***@web.de
2016-10-19 04:49:27 UTC
Permalink
Maybe there is a way to achieve what you want for tiff - but I am not aware of
it.

Would it be suitable for you to convert your data to the Netcdf format? That you
can import and then use the warp by scalar filter to show the elevation. This is
what I usually do for topography data.

Cheers
Venke
Post by Adam Dershowitz
I did figure out how to load the texture. But, now I’m just seeing a solid
color on the plane. This is because the region is fairly flat, at a higher
elevation, and the tiff contains elevation data anyway.
So, this doesn’t do the job. I can’t seem to select Warp by Scalar from the
texture map.
Any other suggestions?
-- Adam
Post by p***@web.de
Hi Adam
I usually make a vtp File with just a frame from the image coordinates. Then I
can load the image as texture to the plane.
Cheers
Venke
I have a geotiff that I would like to view in preview. I’m able to open it,
and view it, but the problem is that the scale and origin are not correct.
It
seems that preview is just opening it as a TIFF and is ignoring the origin,
corners and pixel size in the geotiff. The problem is that I want to overlay
some other polygons that are in a known location, so this placement is
important (and off by hundreds of thousands of meters.)
Can paraview open a geotiff? If not, is there an easy way to just offset and
scale data in Paraview? It seems like it can be done by manually adding a
Transform filter and then forcing it to scale and translate as necessary.
Although getting it all lined up is not trivial.
Thanks,
-- Adam
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yy-o7WM3pL2BUPF6CpTjbKH4LHER0UUOf5r7BLqMqKE&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yHRr7HXYEfFn8q8DzXJGEFYv5hK_xDIvrgo7pwNumBU&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=HBu2hYG3reK9wTLYUX1NsRHQa__SI4AXSDEgDr2g5cI&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_paraview&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=9hv4td6FZ-iBaIt_2yrKtoSXhH_-StkdRtyVYpe_5Jo&e=
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paravie
Adam Dershowitz
2016-10-19 14:00:16 UTC
Permalink
That does it.
Thank you!

-- Adam
Post by p***@web.de
Maybe there is a way to achieve what you want for tiff - but I am not aware of
it.
Would it be suitable for you to convert your data to the Netcdf format? That you
can import and then use the warp by scalar filter to show the elevation. This is
what I usually do for topography data.
Cheers
Venke
Post by Adam Dershowitz
I did figure out how to load the texture. But, now I’m just seeing a solid
color on the plane. This is because the region is fairly flat, at a higher
elevation, and the tiff contains elevation data anyway.
So, this doesn’t do the job. I can’t seem to select Warp by Scalar from the
texture map.
Any other suggestions?
-- Adam
Post by p***@web.de
Hi Adam
I usually make a vtp File with just a frame from the image coordinates. Then I
can load the image as texture to the plane.
Cheers
Venke
I have a geotiff that I would like to view in preview. I’m able to open it,
and view it, but the problem is that the scale and origin are not correct.
It
seems that preview is just opening it as a TIFF and is ignoring the origin,
corners and pixel size in the geotiff. The problem is that I want to overlay
some other polygons that are in a known location, so this placement is
important (and off by hundreds of thousands of meters.)
Can paraview open a geotiff? If not, is there an easy way to just offset and
scale data in Paraview? It seems like it can be done by manually adding a
Transform filter and then forcing it to scale and translate as necessary.
Although getting it all lined up is not trivial.
Thanks,
-- Adam
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yy-o7WM3pL2BUPF6CpTjbKH4LHER0UUOf5r7BLqMqKE&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__paraview.org_Wiki_ParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=yHRr7HXYEfFn8q8DzXJGEFYv5hK_xDIvrgo7pwNumBU&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3DParaView&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=HBu2hYG3reK9wTLYUX1NsRHQa__SI4AXSDEgDr2g5cI&e=
https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_paraview&d=DQIFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=j-vV04azxSGZe-9mQWNFQ8RXiqbk6qw78S3jJl3IyZE&s=9hv4td6FZ-iBaIt_2yrKtoSXhH_-StkdRtyVYpe_5Jo&e=
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailm
Magician
2016-10-20 22:17:43 UTC
Permalink
Hi Adam,
Post by p***@web.de
I can?t seem to select Warp by Scalar from the
texture map.
Warp By Scalar couldn’t apply to Image data directly.
So you should convert images to surfaces, and apply the warping filter.

TIFF image
-> Extract Surface
-> Warp By Scalar (or Vector)

If your images are not 1 or 3 channels (cf. includes Alpha channel),
you should extract elevation channel(s) by Calculator Filter.


Magician
Date: Wed, 19 Oct 2016 14:00:16 +0000
Subject: Re: [Paraview] View geotiff in Paraview?
Content-Type: text/plain; charset="utf-8"
That does it.
Thank you!
-- Adam
Post by p***@web.de
Maybe there is a way to achieve what you want for tiff - but I am not aware of
it.
Would it be suitable for you to convert your data to the Netcdf format? That you
can import and then use the warp by scalar filter to show the elevation. This is
what I usually do for topography data.
Cheers
Venke
I did figure out how to load the texture. But, now I?m just seeing a solid
color on the plane. This is because the region is fairly flat, at a higher
elevation, and the tiff contains elevation data anyway.
So, this doesn?t do the job. I can?t seem to select Warp by Scalar from the
texture map.
Any other suggestions?
-- Adam
Post by p***@web.de
Hi Adam
I usually make a vtp File with just a frame from the image coordinates. Then
I
can load the image as texture to the plane.
Cheers
Venke
I have a geotiff that I would like to view in preview. I?m able to open
it,
and view it, but the problem is that the scale and origin are not correct.
It
seems that preview is just opening it as a TIFF and is ignoring the origin,
corners and pixel size in the geotiff. The problem is that I want to
overlay
some other polygons that are in a known location, so this placement is
important (and off by hundreds of thousands of meters.)
Can paraview open a geotiff? If not, is there an easy way to just offset
and
scale data in Paraview? It seems like it can be done by manually adding a
Transform filter and then forcing it to scale and translate as necessary.
Although getting it all lined up is not trivial.
Thanks,
-- Adam
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.k

Loading...