Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8850439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:54:15+00:00 2026-06-14T12:54:15+00:00

I have raster table in postgresql that I create it using PostGIS raster. If

  • 0

I have raster table in postgresql that I create it using PostGIS raster. If I want to have average raster of 3 raster records considering that the Null pixel values shouldn’t be involved in the averaging operation. I mean that pixel values of the resulting raster record should be mean value of the corresponding pixel values of the 3 existing raster records. The raster records contain some pixels with Null values and the Null values should not be involved in the computation. Is it possible? the sample_data_link is the link for sample data which are images. If Postgis 2.0 is installed in your system the following commands in commandline of windows and for the folder you copied the sample data will create the results:
raster2pgsql -r *_cropped.tif -F -I myschema.mytable > cropped_1.sql
and
raster2pgsql -r *_cropped.tif -F -I myschema.mytable > cropped_1.sql

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:54:16+00:00Added an answer on June 14, 2026 at 12:54 pm

    you can turn it to an array and do the computation on it and then convert the array to the raster.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Following up from my previous question: Pixel values of raster records to be inserted
I have been trying to create a new raster object that contains only a
I have a python script that makes an attribute table of a raster. This
I have a game with a big raster map Now we are using jpeg
hey guys, i have a c++ programming assignment that asks me to create a
I have a map that I converted from a raster graphic into an SVG
I have a 2D raster of say 200pixels x 200pixels I want to subdivide
I have several polygons & I like to extract mean values from several raster
I have a web application where I play back video. I am considering using
I have a roster of teaching slots that I am trying to fill with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.