PAMML Model Design

Example problem: Modeling population density

Task Outline

traditional flow diagram

hierarchical diagram based on the cascading application of design patterns   abstract design pattern for the population density modeling problem
 

PAMML instantiation (full XML Schema here)
<?xml version="1.0" encoding="UTF-8"?>
<VectorDataModel
xsi:type="VectorQuantile"
xmlns="http://web.mit.edu/rajsingh/www/xml/ns/pamml"
xsi:schemaLocation="http://web.mit.edu/rajsingh/www/xml/ns/pamml file:///Users/rajsingh/projects/pamml/schema/pamml.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
srsName="EPSG:26986"
name="Basic Population Density by quintile"
useFeatureType="popdensity"
numRanges="5">
<Metadata>
<Description>Classified population density of Cambridge, MA based on Census 2000</Description>
</Metadata>
<Permissions user="rwxa" group="ruxa" other="ruxa"/>
<AttributeInfo>
<Attribute name="popdensityquintile" dataType="xs:decimal"/>
<Attribute name="uniqueid" dataType="xs:int"/>
</AttributeInfo>
<BaseVector xsi:type="InternalVector" name="censusdata" srsName="EPSG:26986">
<RemoteInfo modelLoc="file:///./cambma_popdensity.xml"/>
</BaseVector>
</VectorDataModel>