Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the url of submodule PrintPreview. #176

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
f2b3230
Update readme.md
Jan 10, 2013
4a13fa2
Update readme.md
Jan 10, 2013
4f1dfcc
Update readme.md
Jan 10, 2013
375da43
Update readme.md
Jan 10, 2013
5161247
Update readme.md
Jan 10, 2013
82084b4
Update readme.md
Jan 10, 2013
03e0a40
Update .gitmodules
Jan 11, 2013
f8b38ad
update url from PrintPreview into gitmodules file and add resources t…
Jan 11, 2013
70ea3d5
Merge branch 'master' of https://github.com/FuncateMobile/gxp
Jan 11, 2013
1ff6133
add pt-br language to i18n
Jan 14, 2013
f586950
Merge branch 'master' of https://github.com/FuncateMobile/gxp
Jan 14, 2013
c37e66c
Merge branch 'master' of https://github.com/opengeo/gxp
Jan 28, 2013
851fa11
correction same words of translation
Jan 28, 2013
8921a61
add resource to gitignore
Jan 28, 2013
d899a4a
add popup with question zoom to max extent when user add layer
Feb 25, 2013
16a063c
corrigido o zoom to extent ao adicionar layer
Feb 26, 2013
3750d79
Change module protocol to https
gustavofoa Feb 26, 2013
ed43904
Message localization in add layer
gustavofoa Feb 26, 2013
edfd4c8
adicionado mensagem de aviso ao adicionar layer que nÃo está visível
Mar 1, 2013
083b0d1
Remoção da pergunta ao adicionar layer
gustavofoa Mar 11, 2013
cc84e71
Remoção da pergunta ao adicionar layer
gustavofoa Mar 11, 2013
170867b
Remoção da pergunta ao adicionar layer
gustavofoa Mar 11, 2013
96180ae
T
gustavofoa Mar 20, 2013
1cd2f2f
teste de correção de bug
gustavofoa Apr 5, 2013
fe7a759
correção do erro do Build
Apr 8, 2013
6bdb3ba
correção da remoção das Layers do array que armazena as Layers corren…
Apr 9, 2013
a77b6ad
(RemoveLayer.js)Mudança da variável 'this.target.mapPanel.layers.prun…
Apr 9, 2013
144b46f
Custom Color Picker
gustavofoa Apr 15, 2013
d4e39e9
Alteração do add layer para não configurar time quando layer for raster
gustavofoa Apr 18, 2013
0a5e20d
Implementado recurso de visualização de visibilidade dos Layers (ícon…
Apr 23, 2013
1f804a5
Redimensionamento dos ícones verde e vermelho da visibilidade das Layers
Apr 23, 2013
97ea764
Correção de bug de campo numérico da edição do estilo
gustavofoa Apr 24, 2013
08124b9
Merge branch 'master' of github.com:FuncateMobile/gxp
Apr 25, 2013
cd8c338
Retirada do combobox de escala
gustavofoa Apr 29, 2013
f0dded6
Alteração do texto da layer para exibir a data ou periodo
gustavofoa May 2, 2013
3e7056d
Salvando o estado da visibilidade da Layer. Fixação dos ícones de vis…
May 3, 2013
dbf2a40
Salvando o estado da visibilidade da Layer. Fixação dos ícones de vis…
May 3, 2013
4b8bd43
Refatoração do método que faz a requisição dos Estilos da Layer e ver…
May 3, 2013
db11599
fixes #14 Adição da data no nome da layer e correcao de bug dos icone…
gustavofoa May 7, 2013
9277773
Carregando getCapabilities no client sincronamente fixes #26
Jun 3, 2013
c337738
Merge branch 'master' of github.com:FuncateMobile/gxp
Jun 3, 2013
83121b5
Status do lado da Layer (Verde e Vermelho) atualiza quando a escala f…
Jun 4, 2013
7bc09c1
Commit necessário para inclusão de externas/geoext no gxp
gustavofoa Jun 5, 2013
fbfcc75
fixes #12 Alteração para permitir adição de layers wms/wfs/wcs e corr…
gustavofoa Jun 14, 2013
89df712
Alterado tooltip dos botões Zoom in e Zoom out para Zoom + e Zoom -
claudiobogossian Jul 3, 2013
336fee3
Alteração desnecessária, agora o arquivo LayerTree, bem como o arquiv…
gustavofoa Jul 4, 2013
428eef8
Merge branch 'master' of https://github.com/FuncateMobile/gxp
gustavofoa Jul 4, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,22 @@ src/doc/lib/menu
src/doc/lib/plugins
src/doc/lib/widgets
src/doc/lib/util.rst
build/
build/
.idea/

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
12 changes: 6 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[submodule "externals/geoext"]
path = externals/geoext
url = git://github.com/geoext/geoext.git
url = https://github.com/geoext/geoext.git
[submodule "externals/openlayers"]
path = externals/openlayers
url = git://github.com/openlayers/openlayers.git
url = https://github.com/openlayers/openlayers.git
[submodule "externals/ringo"]
path = externals/ringo
url = git://github.com/ringo/ringojs.git
url = https://github.com/ringo/ringojs.git
[submodule "externals/buildkit"]
path = externals/buildkit
url = git://github.com/opengeo/buildkit.git
url = https://github.com/opengeo/buildkit.git
[submodule "externals/PrintPreview"]
path = externals/PrintPreview
url = git://github.com/opengeo/PrintPreview.git
url = https://github.com/opengeo/PrintPreview.git
[submodule "externals/DimensionManager"]
path = externals/DimensionManager
url = git://github.com/opengeo/openlayers.git
url = https://github.com/opengeo/openlayers.git
65 changes: 64 additions & 1 deletion examples/data/describe_feature_type.xml
Original file line number Diff line number Diff line change
@@ -1 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?><xs:schema targetNamespace="http://www.openplans.org/topp" xmlns:topp="http://www.openplans.org/topp" xmlns:gml="http://www.opengis.net/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0"><xs:import namespace="http://www.opengis.net/gml" schemaLocation="http://localhost:8080/geoserver/schemas/gml/2.1.2.1/feature.xsd"/><xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" name="states_Type"><xs:complexContent><xs:extension base="gml:AbstractFeatureType"><xs:sequence><xs:element name="the_geom" minOccurs="0" nillable="true" type="gml:MultiPolygonPropertyType"/><xs:element name="STATE_NAME" minOccurs="0" nillable="true"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2147483647"/></xs:restriction></xs:simpleType></xs:element><xs:element name="STATE_FIPS" minOccurs="0" nillable="true"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2147483647"/></xs:restriction></xs:simpleType></xs:element><xs:element name="SUB_REGION" minOccurs="0" nillable="true"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2147483647"/></xs:restriction></xs:simpleType></xs:element><xs:element name="STATE_ABBR" minOccurs="0" nillable="true"><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="2147483647"/></xs:restriction></xs:simpleType></xs:element><xs:element name="LAND_KM" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="WATER_KM" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="PERSONS" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="FAMILIES" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="HOUSHOLD" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="MALE" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="FEMALE" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="WORKERS" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="DRVALONE" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="CARPOOL" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="PUBTRANS" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="EMPLOYED" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="UNEMPLOY" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="SERVICE" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="MANUAL" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="P_MALE" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="P_FEMALE" minOccurs="0" nillable="true" type="xs:double"/><xs:element name="SAMP_POP" minOccurs="0" nillable="true" type="xs:double"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType><xs:element name="states" type="topp:states_Type" substitutionGroup="gml:_Feature"/></xs:schema>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.openplans.org/topp" xmlns:topp="http://www.openplans.org/topp"
xmlns:gml="http://www.opengis.net/gml" xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
<xs:import namespace="http://www.opengis.net/gml"
schemaLocation="http://localhost:8080/geoserver/schemas/gml/2.1.2.1/feature.xsd"/>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema"
name="states_Type">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="the_geom" minOccurs="0" nillable="true" type="gml:MultiPolygonPropertyType"/>
<xs:element name="STATE_NAME" minOccurs="0" nillable="true">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="STATE_FIPS" minOccurs="0" nillable="true">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SUB_REGION" minOccurs="0" nillable="true">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="STATE_ABBR" minOccurs="0" nillable="true">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LAND_KM" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="WATER_KM" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="PERSONS" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="FAMILIES" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="HOUSHOLD" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="MALE" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="FEMALE" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="WORKERS" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="DRVALONE" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="CARPOOL" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="PUBTRANS" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="EMPLOYED" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="UNEMPLOY" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="SERVICE" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="MANUAL" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="P_MALE" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="P_FEMALE" minOccurs="0" nillable="true" type="xs:double"/>
<xs:element name="SAMP_POP" minOccurs="0" nillable="true" type="xs:double"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="states" type="topp:states_Type" substitutionGroup="gml:_Feature"/>
</xs:schema>
6,228 changes: 6,227 additions & 1 deletion examples/data/getfeature.xml

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions examples/data/getstyles.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
<sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"
version="1.0.0">
<sld:NamedLayer>
<sld:Name>usa:states</sld:Name>
<sld:UserStyle>
<sld:Name>usa_states</sld:Name>
<sld:Title>Population in the United States</sld:Title>
<sld:IsDefault>1</sld:IsDefault>
<sld:Abstract>A sample filter that filters the United States into three
categories of population, drawn in different colors</sld:Abstract>
categories of population, drawn in different colors
</sld:Abstract>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:Name>{"group":"Population","method":"graduated","args":["PERSONS",3,"NATURAL_BREAKS"]}</sld:Name>
<sld:Name>{"group":"Population","method":"graduated","args":["PERSONS",3,"NATURAL_BREAKS"]}
</sld:Name>
<sld:Title>Population &lt; 2M</sld:Title>
<ogc:Filter>
<ogc:PropertyIsLessThan>
Expand All @@ -27,7 +31,8 @@
</sld:PolygonSymbolizer>
</sld:Rule>
<sld:Rule>
<sld:Name>{"group":"Population","method":"graduated","args":["PERSONS",3,"NATURAL_BREAKS"]}</sld:Name>
<sld:Name>{"group":"Population","method":"graduated","args":["PERSONS",3,"NATURAL_BREAKS"]}
</sld:Name>
<sld:Title>Population 2M-4M</sld:Title>
<ogc:Filter>
<ogc:PropertyIsBetween>
Expand All @@ -48,7 +53,8 @@
</sld:PolygonSymbolizer>
</sld:Rule>
<sld:Rule>
<sld:Name>{"group":"Population","method":"graduated","args":["PERSONS",3,"NATURAL_BREAKS"]}</sld:Name>
<sld:Name>{"group":"Population","method":"graduated","args":["PERSONS",3,"NATURAL_BREAKS"]}
</sld:Name>
<sld:Title>Population &gt; 4M</sld:Title>
<ogc:Filter>
<ogc:PropertyIsGreaterThan>
Expand Down
58 changes: 29 additions & 29 deletions examples/histogram.js
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
var histogram, slider, grid;
Ext.onReady(function() {
Ext.onReady(function () {
var sld = '<?xml version="1.0" encoding="ISO-8859-1"?><StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"><NamedLayer><Name>USA states population</Name><UserStyle><Name>population</Name><Title>Population in the United States</Title><Abstract>A sample filter that filters the United States into threecategories of population, drawn in different colors</Abstract><FeatureTypeStyle><Rule><Title>&lt; 2M</Title><ogc:Filter><ogc:PropertyIsLessThan> <ogc:PropertyName>PERSONS</ogc:PropertyName> <ogc:Literal>2000000</ogc:Literal></ogc:PropertyIsLessThan></ogc:Filter><PolygonSymbolizer> <Fill><!-- CssParameters allowed are fill (the color) and fill-opacity --><CssParameter name="fill">#4DFF4D</CssParameter><CssParameter name="fill-opacity">0.7</CssParameter> </Fill> </PolygonSymbolizer></Rule><Rule><Title>2M - 4M</Title><ogc:Filter><ogc:PropertyIsBetween><ogc:PropertyName>PERSONS</ogc:PropertyName><ogc:LowerBoundary><ogc:Literal>2000000</ogc:Literal></ogc:LowerBoundary><ogc:UpperBoundary><ogc:Literal>4000000</ogc:Literal></ogc:UpperBoundary></ogc:PropertyIsBetween></ogc:Filter><PolygonSymbolizer> <Fill><!-- CssParameters allowed are fill (the color) and fill-opacity --><CssParameter name="fill">#FF4D4D</CssParameter><CssParameter name="fill-opacity">0.7</CssParameter> </Fill> </PolygonSymbolizer></Rule><Rule><Title>&gt; 4M</Title><!-- like a linesymbolizer but with a fill too --><ogc:Filter><ogc:PropertyIsGreaterThanOrEqualTo> <ogc:PropertyName>PERSONS</ogc:PropertyName> <ogc:Literal>4000000</ogc:Literal></ogc:PropertyIsGreaterThanOrEqualTo></ogc:Filter><PolygonSymbolizer> <Fill><!-- CssParameters allowed are fill (the color) and fill-opacity --><CssParameter name="fill">#4D4DFF</CssParameter><CssParameter name="fill-opacity">0.7</CssParameter> </Fill> </PolygonSymbolizer></Rule><Rule><Title>Boundary</Title><LineSymbolizer><Stroke><CssParameter name="stroke-width">0.2</CssParameter></Stroke></LineSymbolizer><TextSymbolizer><Label><ogc:PropertyName>STATE_ABBR</ogc:PropertyName></Label><Font><CssParameter name="font-family">Times New Roman</CssParameter><CssParameter name="font-style">Normal</CssParameter><CssParameter name="font-size">14</CssParameter></Font><LabelPlacement><PointPlacement><AnchorPoint><AnchorPointX>0.5</AnchorPointX><AnchorPointY>0.5</AnchorPointY></AnchorPoint></PointPlacement></LabelPlacement></TextSymbolizer></Rule> </FeatureTypeStyle></UserStyle></NamedLayer></StyledLayerDescriptor>',
format = new OpenLayers.Format.SLD({multipleSymbolizers: true}),
format = new OpenLayers.Format.SLD({multipleSymbolizers:true}),
style = format.read(sld).namedLayers["USA states population"].userStyles[0],
store = new Ext.data.Store({
reader: new gxp.data.GroupStyleReader(),
data: style
reader:new gxp.data.GroupStyleReader(),
data:style
});
// Only work with the classification rules
store.filterBy(function(rec) {
return rec.get("filter");
});
// Only work with the classification rules
store.filterBy(function (rec) {
return rec.get("filter");
});

histogram = new gxp.Histogram({
width: 280,
height: 60,
quantities: [7, 5, 4, 0, 3, 3, 3, 2, 3, 4, 1, 1, 2, 2, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
renderTo: "histogram"
width:280,
height:60,
quantities:[7, 5, 4, 0, 3, 3, 3, 2, 3, 4, 1, 1, 2, 2, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
renderTo:"histogram"
});

slider = new gxp.slider.ClassBreakSlider({
renderTo: Ext.getBody(),
width: 280,
store: store,
minValue: 453588,
maxValue: 29760021,
renderTo: "slider"
renderTo:Ext.getBody(),
width:280,
store:store,
minValue:453588,
maxValue:29760021,
renderTo:"slider"
});

grid = new Ext.grid.EditorGridPanel({
width: 280,
height: 115,
columns: [
{dataIndex: "symbolizers", width: 26, xtype: "gx_symbolizercolumn"},
{header: "Filter", dataIndex: "filter", editor: {xtype: "textfield"}}
width:280,
height:115,
columns:[
{dataIndex:"symbolizers", width:26, xtype:"gx_symbolizercolumn"},
{header:"Filter", dataIndex:"filter", editor:{xtype:"textfield"}}
],
autoExpandColumn: 1,
store: store,
sm: new Ext.grid.RowSelectionModel(),
renderTo: "grid"
autoExpandColumn:1,
store:store,
sm:new Ext.grid.RowSelectionModel(),
renderTo:"grid"
});
});
18 changes: 17 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# gxp
gxp
----------

High level components for GeoExt based applications.

The gxp components are used by OpenGeo in their applications, such as GeoExplorer and GeoEditor.

See the [tutorial](http://workshops.opengeo.org/gxp/), [API docs](http://gxp.opengeo.org/master/doc/) and [examples](http://gxp.opengeo.org/master/examples/) for more detail.


Quickstart
----------

. Clone the repository:

$ git clone https://github.com/FuncateMobile/gxp.git
$ cd gxp

. Initialize submodule dependencies:

$ git submodule update --init --recursive


6 changes: 3 additions & 3 deletions src/script/ColorManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ Ext.apply(gxp.ColorManager.prototype, {

(function() {
// register the color manager with every color field
Ext.util.Observable.observeClass(gxp.form.ColorField);
gxp.form.ColorField.on({
//Ext.util.Observable.observeClass(gxp.form.ColorField);
/*gxp.form.ColorField.on({
render: function(field) {
var manager = new gxp.ColorManager();
manager.register(field);
}
});
});*/
})();

gxp.ColorManager.picker = null;
Expand Down
Loading