load raster

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

load raster

alba
Hi all,
 
 
I create the document
 
<?xml version="1.0" encoding="utf-8" ?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
  <Provider>Autodesk.Raster.3.1</Provider>
  <ConfigurationDocument>config.xml</ConfigurationDocument>
</FeatureSource>
 
as raster.xml
 
and file:
 
</fdo:WKTCRS></gml:baseCRS><gml:definedByConversion xlink:href="<A href='http://fdo.osgeo.org/coord_conversions#identity"/'>http://fdo.osgeo.org/coord_conversions#identity"/>
<gml:derivedCRSType codeSpace="
<A href='http://fdo.osgeo.org/crs_types">geographichttp://fdo.osgeo.org/crs_types">geographic</gml:derivedCRSType>
<gml:usesCS xlink:href="
<A href='http://fdo.osgeo.org/cs#default_cartesian"/'>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="c:\raster">
<Feature name="prova.tif">
<Band name="RGB" number="1">
<Image name="prova.tif" frame="1">
</Image>
</Band>
</Feature>
</Location>
</RasterDefinition>
</complexType>
</SchemaMapping>
</fdo:DataStore>
 
as config.xml
in the folder c:\raster are prova.tif e prova.tfw
with the browser
http://localhost:8008/mapguide /mapagent/index.html I set  SETRESOURCE and SETRESOURCEDATA
on the autodesk Studio I create feature source and layer raster with success, but the raster don't see
 
why?
 
thanks
alba