[mapguide-dev] Load Raster

Andy Morsell amorsell at spatialgis.com
Mon Nov 20 11:15:30 EST 2006


 You are posting to the wrong list.  These types of items should be posted
to the [mapguide-users] list.

But, have you tried adding that layer to one of your existing Sheboygan
maps?  It may show up.  When looking at the layer definition in Studio, it
looks like it is not recognizing the image extents for the preview mode, but
it may work just fine when actually part of a map with bounding coordinates
defined.

I'm cc'ing the users list on this so that the discussion can be continued
there.


Andy 

-----Original Message-----
From: Albina Penitente [mailto:a.penitente at gepaspa.com] 
Sent: Monday, November 20, 2006 2:41 AM
To: dev at mapguide.osgeo.org
Subject: SPAM-LOW: [mapguide-dev] Re: [SPAM] Re: [mapguide-dev] Fw: Load
Raster

Hi Paul
I have configured the raster





The raster are Sheboygan_000_001.tif   Sheboygan_001_001.tif 
Sheboygan_001_000.tif   Sheboygan_000_000.tif
I think that the error is in the file config.xml





<?xml version="1.0" encoding="UTF-8"?>

<fdo:DataStore xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:xlink="http://www.w3.org/1999/xlink"

xmlns:gml="http://www.opengis.net/gml"

xmlns:fdo="http://fdo.osgeo.org/schemas"

xmlns:fds="http://fdo.osgeo.org/schemas/fds">

<gml:DerivedCRS gml:id="coordSys">

<gml:remarks>LL84</gml:remarks>

<gml:srsName>LL84</gml:srsName>

<gml:validArea>

<gml:boundingBox>

<gml:pos>-180.0 -90.0</gml:pos>

<gml:pos>180.0 90.0</gml:pos>

</gml:boundingBox>

</gml:validArea>

<gml:baseCRS>

<fdo:WKTCRS gml:id="coordSys">

<gml:srsName>LL84</gml:srsName>

<fdo:WKT>GEOGCS[&quot;WGS84 Lat/Long&apos;s, Degrees, -180 ==&gt; 
+180&quot;,DATUM[&quot;D_WGS_1984&quot;,SPHEROID[&quot;World_Geodetic_Sy
+stem_of_1984&quot;,6378137,298.257222932867]],PRIMEM[&quot;Greenwich&qu
+ot;,0],UNIT[&quot;Degree&quot;,0.017453292519943295]]</fdo:WKT>

</fdo:WKTCRS>

</gml:baseCRS>

<gml:definedByConversion

xlink:href="http://fdo.osgeo.org/coord_conversions#identity"/>

<gml:derivedCRSType

codeSpace="http://fdo.osgeo.org/crs_types">geographic</gml:derivedCRSTy

pe>

<gml:usesCS

xlink:href="http://fdo.osgeo.org/cs#default_cartesian"/>

</gml:DerivedCRS>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

targetNamespace="http://fdo.osgeo.org/schemas/feature/rasters"

xmlns:fdo="http://fdo.osgeo.org/schemas"

xmlns:gml="http://www.opengis.net/gml"

xmlns:rasters="http://fdo.osgeo.org/schemas/feature/rasters"

elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:element name="RasterType" type="rasters:RasterTypeType"

abstract="false" substitutionGroup="gml:_Feature">

<xs:key name="RasterTypeKey">

<xs:selector xpath=".//RasterType"/>

<xs:field xpath="Id"/>

</xs:key>

</xs:element>

<xs:complexType name="RasterTypeType" abstract="false"

fdo:hasGeometry="false">

<xs:complexContent>

<xs:extension base="gml:AbstractFeatureType">

<xs:sequence>

<xs:element name="Id">

<xs:annotation>

<xs:documentation/>

</xs:annotation>

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:maxLength value="256"/>

</xs:restriction>

</xs:simpleType>

</xs:element>

<xs:element name="Image" type="fdo:RasterPropertyType"

fdo:defaultImageXSize="200" fdo:defaultImageYSize="200">

<xs:annotation>

<xs:appinfo source="http://fdo.osgeo.org/schemas">

<fdo:DefaultDataModel dataModelType="Unknown"

dataType="Unknown" organization="Row" bitsPerPixel="32" tileSizeX="128"

tileSizeY="128"/>

</xs:appinfo>

</xs:annotation>

</xs:element>

</xs:sequence>

</xs:extension>

</xs:complexContent>

</xs:complexType>

</xs:schema>

<SchemaMapping provider="Autodesk.Raster.3.1" name="rasters"

xmlns="http://www.autodesk.com/isd/fdo/RasterFileProvider">

<complexType name="RasterTypeType">

<RasterDefinition name="rasters">

<Location name="D:\Programmi\Autodesk\MapGuideStudio2007\SampleData\Raster">



<Feature name="Sheboygan_000_000.tif">

<Band name="RGB" number="1">

<Image name="Sheboygan_000_000.tif" frame="1">

<Georeference>

<InsertionPointX>215086,9080</InsertionPointX>

<InsertionPointY>178712,0510</InsertionPointY>

<ResolutionX>1,000000</ResolutionX>

<ResolutionY>0,000000</ResolutionY>

<RotationX>0,000000</RotationX>

<RotationY>-1,000000</RotationY>

</Georeference>

</Image>

</Band>

</Feature>



<Feature name="Sheboygan_000_001.tif">

<Band name="RGB" number="1">

<Image name="Sheboygan_000_001.tif" frame="1">

<Georeference>

<InsertionPointX>216221,9080</InsertionPointX>

<InsertionPointY>178712,0510</InsertionPointY>

<ResolutionX>1,000000</ResolutionX>

<ResolutionY>0,000000</ResolutionY>

<RotationX>0,000000</RotationX>

<RotationY>-1,000000</RotationY>

</Georeference>

</Image>

</Band>

</Feature>



<Feature name="Sheboygan_001_000.tif">

<Band name="RGB" number="1">

<Image name="Sheboygan_001_000.tif" frame="1">

<Georeference>

<InsertionPointX>215086,9080</InsertionPointX>

<InsertionPointY>177716,0510</InsertionPointY>

<ResolutionX>1,000000</ResolutionX>

<ResolutionY>0,000000</ResolutionY>

<RotationX>0,000000</RotationX>

<RotationY>-1,000000</RotationY>

</Georeference>

</Image>

</Band>

</Feature>



<Feature name="Sheboygan_001_001.tif">

<Band name="RGB" number="1">

<Image name="Sheboygan_001_001.tif" frame="1">

<Georeference>

<InsertionPointX>216221,9080</InsertionPointX>

<InsertionPointY>177716,0510</InsertionPointY>

<ResolutionX>1,000000</ResolutionX>

<ResolutionY>0,000000</ResolutionY>

<RotationX>0,000000</RotationX>

<RotationY>-1,000000</RotationY>

</Georeference>

</Image>

</Band>

</Feature>



</Location>

</RasterDefinition>

</complexType>

</SchemaMapping>

</fdo:DataStore>





Can you help me?



Thank you



Alba











More information about the Mapguide-internals mailing list