[GRASSLIST:9073] Re: 3D blocks again

Ing.Peter Misovic peter.misovic at gmail.com
Tue Nov 15 03:50:43 EST 2005


Hallo Hamish,
yes it is repeating stuff because of it's still open. I know that you
have already written about modification of panlel_site.tcl (there is
code only for providing new checkbox and change_marker method calling)
and tweaking of existing symbol. But as I have already written in
[GRASSLIST:8933] editing exising sybol took no effect at all (for
example - BOX). Why ? Because it is source of 2D symbols (for GRASS
GIS manager). Diamond, Sphere and X have no conenction to symbols in
$GISBASE/etc/symbols. We tried to add existing symbol BOX (from
$GISBASE/etc/symbols) but with no effect. We got the answer with hint
that only hacking NVIZ code is the right possible way how to add new
symbol INTO NVIZ tool. Is it more clear now ? NVIZ has no connection
to $GISBASE/etc/symbols. Where are the symbols from NVIZ ? In Mesa ? I
don't know I'm not programmer in language of NVIZ. And actually there
is no time to hack code to provide new symbol for NVIZ by this way.
Therefore I'm (and me friend Peter) trying to find new solutions by
several directions. One of existing possible ways is to use GML or
PovRay. Or like Jachym wrote - ASCI as he illustrated. Or ...I don't
know yet.

That't the reason, why we're repeating our problem. We're developing
Mining system based on OpenSource GIS tools (Mapserver, Grass, Postgis
etc.). We planned to use GRASS for 3D visualization. But we are in
troubles now. Any help , any good or bad possibility we can try to
apply in our system and it could affort final concept for our system.

In short : we compute some geostat. parameters for mining production.
We split main mining unit into small minining units (500 000) - blocks
(based on geostat computing). As I have already written, for every
block X,Y,Z as coordinates of centroid are available; width, length
and height are known. We only need generate those boxes and display
them in 3D. Our main task is find - HOW TO - store them like 3D
objects in PostGIS and import into GRASS - no way (as I know, but I
hope I'm mistaken) ? etc etc ...GML ? I have no answer from GDAL forum
for my question : Doeas gdal suport 3D GML objects ? etc. etc.

You know, our main work is computing geostat. variables, we thought
build GIS for visualization should not be complicated ...but we are in
troubles now :(


Peter



On 11/15/05, Hamish <hamish_nospam at yahoo.com> wrote:
> > In fact I have 3D matrix of points. Nature of data source is table in
> > postgres/Postgis with columns : x, y, z, the_geom (for 3d point) etc.
> > X,Y,Z are coordinates of centroid. I need display those centriods like
> > cubes (or it's better to say cuboids, blocks, not cube) with specific
> > colour.
>
>
> Hi,
> D
> This is repeating stuff we have already said, but I think the easiest
> way to do this given cube centroids is to extend the NVIZ point-shapes
> to include cubes along with the existing sphere, diamond, and "X". You
> should be able to cut and paste one of the others (ie diamond) then
> rename and tweak it. I can't help you with the exact code you need to
> change, maybe someone else knows. But I think that is the easiest way.
>
>
> Hamish
>




More information about the grass-user mailing list