<div dir="ltr">Estou tentando conectar um arquivo .map numa tabela do Postgres migrada a partir de uma imagem .tif. Usei o executável <span style="font-size:12.8px">raster2pgsql para gerar a tabela e inserir os dados.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Quero exibir essa imagem de satélite convertida na interface Google Maps do I3GEO.<br></span><div><span style="font-size:12.8px"><br></span></div><div><b><u>ARQUIVO .MAP:</u></b></div><div><br></div><div><div>MAP</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>FONTSET "../symbols/fontes.txt"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>SYMBOLSET "../symbols/simbolosv6.sym"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>LAYER</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>  NAME teste</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">  </span>  TYPE raster</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>  METADATA</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>"wms_title" "teste"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>  END    </div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>  STATUS ON</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>  DATA "PG:host=localhost port=5432 dbname='cogerh' user='postgres' password='postgres' schema='public' table='teste'"      </div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>  PROCESSING "NODATA=-9999"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>  PROCESSING "SCALE=AUTO"</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>END</div><div>END</div></div></div><div><br></div><div><br></div><div><b><u>TABELA DO BANCO:</u></b></div><div><br></div><div><br></div><div><div>CREATE TABLE teste</div><div>(</div><div>  rid serial NOT NULL,</div><div>  rast raster,</div><div>  CONSTRAINT teste_pkey PRIMARY KEY (rid),</div><div>  CONSTRAINT enforce_height_rast CHECK (st_height(rast) = 4999),</div><div>  CONSTRAINT enforce_max_extent_rast CHECK (st_envelope(rast) @ '0103000020E61000000100000005000000AE6E314C3EC5124132B763D2CE626241AE6E314C3EC512413A0904D0036F6241B3AF3B00DE4B14413A0904D0036F6241B3AF3B00DE4B144132B763D2CE626241AE6E314C3EC5124132B763D2CE626241'::geometry),</div><div>  CONSTRAINT enforce_nodata_values_rast CHECK (_raster_constraint_nodata_values(rast) = '{NULL,NULL,NULL,NULL,NULL}'::numeric[]),</div><div>  CONSTRAINT enforce_num_bands_rast CHECK (st_numbands(rast) = 5),</div><div>  CONSTRAINT enforce_out_db_rast CHECK (_raster_constraint_out_db(rast) = '{f,f,f,f,f}'::boolean[]),</div><div>  CONSTRAINT enforce_pixel_types_rast CHECK (_raster_constraint_pixel_types(rast) = '{8BUI,8BUI,8BUI,8BUI,8BUI}'::text[]),</div><div>  CONSTRAINT enforce_same_alignment_rast CHECK (st_samealignment(rast, '0100000000AB93774E02011440AB93774E020114C0AE6E314C3EC512413A0904D0036F624100000000000000000000000000000000E610000001000100'::raster)),</div><div>  CONSTRAINT enforce_scalex_rast CHECK (round(st_scalex(rast)::numeric, 10) = round(5.00098536114539, 10)),</div><div>  CONSTRAINT enforce_scaley_rast CHECK (round(st_scaley(rast)::numeric, 10) = round(- 5.00098536114539, 10)),</div><div>  CONSTRAINT enforce_srid_rast CHECK (st_srid(rast) = 4326),</div><div>  CONSTRAINT enforce_width_rast CHECK (st_width(rast) = 4999)</div><div>)</div><div>WITH (</div><div>  OIDS=FALSE</div><div>);</div><div>ALTER TABLE teste</div><div>  OWNER TO postgres;</div></div></div>