title: Issues with datasets when custom SLD loaded into geoserver

text: I have created my SLD's in QGIS and want to use them in Geoserver. I have imported and validated them without any problems but when I try to view the data using Layer Preview --> OpenLayers-->Go it tries to download the data rather than let me view it. With the default symbology it works fine. Is there something fundamental that I have to change in the SLD from Geoserver for it to work? One of the simple and 2 complex SLD's are below (roads at different zoom levels) Roads - Simple                   <?xml version="1.0" encoding="UTF-8"?>         <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="http://www.opengis.net/se">       <NamedLayer>         <se:Name>Roads_GHD_20121121</se:Name>         <UserStyle>           <se:Name>Roads_GHD_20121121</se:Name>           <se:FeatureTypeStyle>             <se:Rule>               <se:Name>GHD Roads</se:Name>               <se:MaxScaleDenominator>250000</se:MaxScaleDenominator>               <se:LineSymbolizer>                 <se:Stroke>                   <se:SvgParameter name="stroke">#ff0000</se:SvgParameter>                   <se:SvgParameter name="stroke-width">0.4</se:SvgParameter>                   <se:SvgParameter name="stroke-linejoin">bevel</se:SvgParameter>                   <se:SvgParameter name="stroke-linecap">square</se:SvgParameter>                   <se:SvgParameter name="stroke-dasharray">5 2</se:SvgParameter>                 </se:Stroke>               </se:LineSymbolizer>             </se:Rule>           </se:FeatureTypeStyle>         </UserStyle>       </NamedLayer>     </StyledLayerDescriptor>      Roads - Complex               <StyledLayerDescriptor version="1.0.0"                            xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"                            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">         <NamedLayer>             <Name>Road with border</Name>             <UserStyle>                 <Title>Road with border</Title>                      <!-- Local Roads -->                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>Y</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>0</MinScaleDenominator>                         <MaxScaleDenominator>1787</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#CDAA66</CssParameter>                                 <CssParameter name="stroke-width">12</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                     </Rule>                 </FeatureTypeStyle>                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>Y</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>0</MinScaleDenominator>                         <MaxScaleDenominator>1787</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#FFFFFF</CssParameter>                                 <CssParameter name="stroke-width">11</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                         <TextSymbolizer>                             <Label>                                 <ogc:PropertyName>road_name2</ogc:PropertyName>                             </Label>                             <Font>                                 <CssParameter name="font-family">Arial</CssParameter>                                 <CssParameter name="font-size">10</CssParameter>                                 <CssParameter name="font-style">normal</CssParameter>                             </Font>                             <LabelPlacement>                                 <LinePlacement/>                             </LabelPlacement>                             <Halo>                                 <Radius>                                     <ogc:Literal>1</ogc:Literal>                                 </Radius>                                 <Fill>                                     <CssParameter name="fill">                                         <ogc:Literal>#FFFFFF</ogc:Literal>                                     </CssParameter>                                     <CssParameter name="fill-opacity">                                         <ogc:Literal>1</ogc:Literal>                                     </CssParameter>                                 </Fill>                             </Halo>                             <Fill>                                 <CssParameter name="fill">#000000</CssParameter>                             </Fill>                             <VendorOption name="followLine">true</VendorOption>                             <VendorOption name="maxAngleDelta">30</VendorOption>                             <VendorOption name="maxDisplacement">800</VendorOption>                             <VendorOption name="repeat">1000</VendorOption>                         </TextSymbolizer>                     </Rule>                 </FeatureTypeStyle>                      <!-- Local Roads 1787 - 3573-->                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>Y</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>1787</MinScaleDenominator>                         <MaxScaleDenominator>3573</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#CDAA66</CssParameter>                                 <CssParameter name="stroke-width">7</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                     </Rule>                 </FeatureTypeStyle>                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>Y</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>1787</MinScaleDenominator>                         <MaxScaleDenominator>3573</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#FFFFFF</CssParameter>                                 <CssParameter name="stroke-width">6</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                         <TextSymbolizer>                             <Label>                                 <ogc:PropertyName>road_name2</ogc:PropertyName>                             </Label>                             <Font>                                 <CssParameter name="font-family">Arial</CssParameter>                                 <CssParameter name="font-size">10</CssParameter>                                 <CssParameter name="font-style">normal</CssParameter>                             </Font>                             <LabelPlacement>                                 <LinePlacement/>                             </LabelPlacement>                             <Halo>                                 <Radius>                                     <ogc:Literal>1</ogc:Literal>                                 </Radius>                                 <Fill>                                     <CssParameter name="fill">                                         <ogc:Literal>#FFFFFF</ogc:Literal>                                     </CssParameter>                                     <CssParameter name="fill-opacity">                                         <ogc:Literal>1</ogc:Literal>                                     </CssParameter>                                 </Fill>                             </Halo>                                                     <Fill>                                 <CssParameter name="fill">#000000</CssParameter>                             </Fill>                             <VendorOption name="followLine">true</VendorOption>                             <VendorOption name="maxAngleDelta">30</VendorOption>                             <VendorOption name="maxDisplacement">800</VendorOption>                             <VendorOption name="repeat">1000</VendorOption>                         </TextSymbolizer>                     </Rule>                 </FeatureTypeStyle>                      <!-- Local Roads 3573 - 28573-->                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>Y</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>3573</MinScaleDenominator>                         <MaxScaleDenominator>28573</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#CDAA66</CssParameter>                                 <CssParameter name="stroke-width">4</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                     </Rule>                 </FeatureTypeStyle>                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>      Points Complex with SVG files.                                       <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>Y</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>3573</MinScaleDenominator>                         <MaxScaleDenominator>28573</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#FFFFFF</CssParameter>                                 <CssParameter name="stroke-width">3</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                         <TextSymbolizer>                             <Label>                                 <ogc:PropertyName>road_name2</ogc:PropertyName>                             </Label>                             <Font>                                 <CssParameter name="font-family">Arial</CssParameter>                                 <CssParameter name="font-size">10</CssParameter>                                 <CssParameter name="font-style">normal</CssParameter>                             </Font>                             <LabelPlacement>                                 <LinePlacement/>                             </LabelPlacement>                             <Halo>                                 <Radius>                                     <ogc:Literal>1</ogc:Literal>                                 </Radius>                                 <Fill>                                     <CssParameter name="fill">                                         <ogc:Literal>#FFFFFF</ogc:Literal>                                     </CssParameter>                                     <CssParameter name="fill-opacity">                                         <ogc:Literal>1</ogc:Literal>                                     </CssParameter>                                 </Fill>                             </Halo>                             <Fill>                                 <CssParameter name="fill">#000000</CssParameter>                             </Fill>                             <VendorOption name="followLine">true</VendorOption>                             <VendorOption name="maxAngleDelta">30</VendorOption>                             <VendorOption name="maxDisplacement">800</VendorOption>                             <VendorOption name="repeat">1000</VendorOption>                         </TextSymbolizer>                     </Rule>                 </FeatureTypeStyle>                      <!-- Local Roads 28573 - 114287 -->                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>Y</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>28573</MinScaleDenominator>                         <MaxScaleDenominator>114287</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#D7C29E</CssParameter>                                 <CssParameter name="stroke-width">1</CssParameter>                             </Stroke>                         </LineSymbolizer>                     </Rule>                 </FeatureTypeStyle>                      <!-- State Roads - 0 - 1787 -->                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>state</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>0</MinScaleDenominator>                         <MaxScaleDenominator>1787</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#CDAA66</CssParameter>                                 <CssParameter name="stroke-width">13</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                     </Rule>                 </FeatureTypeStyle>                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>state</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>0</MinScaleDenominator>                         <MaxScaleDenominator>1787</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#FFFF00</CssParameter>                                 <CssParameter name="stroke-width">12</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                         <TextSymbolizer>                             <Label>                                 <ogc:PropertyName>road_name2</ogc:PropertyName>                             </Label>                             <Font>                                 <CssParameter name="font-family">Arial</CssParameter>                                 <CssParameter name="font-size">10</CssParameter>                                 <CssParameter name="font-style">normal</CssParameter>                             </Font>                             <LabelPlacement>                                 <LinePlacement/>                             </LabelPlacement>                             <Halo>                                 <Radius>                                     <ogc:Literal>1</ogc:Literal>                                 </Radius>                                 <Fill>                                     <CssParameter name="fill">                                         <ogc:Literal>#FFFF00</ogc:Literal>                                     </CssParameter>                                     <CssParameter name="fill-opacity">                                         <ogc:Literal>1</ogc:Literal>                                     </CssParameter>                                 </Fill>                             </Halo>                             <Fill>                                 <CssParameter name="fill">#000000</CssParameter>                             </Fill>                             <VendorOption name="followLine">true</VendorOption>                             <VendorOption name="maxAngleDelta">30</VendorOption>                             <VendorOption name="maxDisplacement">800</VendorOption>                             <VendorOption name="repeat">1000</VendorOption>                         </TextSymbolizer>                     </Rule>                 </FeatureTypeStyle>                      <!-- State Roads - 1787 - 3572 -->                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>state</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>1787</MinScaleDenominator>                         <MaxScaleDenominator>3573</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#CDAA66</CssParameter>                                 <CssParameter name="stroke-width">7</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                     </Rule>                 </FeatureTypeStyle>                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>state</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>1787</MinScaleDenominator>                         <MaxScaleDenominator>3573</MaxScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#FFFF00</CssParameter>                                 <CssParameter name="stroke-width">6</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                         <TextSymbolizer>                             <Label>                                 <ogc:PropertyName>road_name2</ogc:PropertyName>                             </Label>                             <Font>                                 <CssParameter name="font-family">Arial</CssParameter>                                 <CssParameter name="font-size">10</CssParameter>                                 <CssParameter name="font-style">normal</CssParameter>                             </Font>                             <LabelPlacement>                                 <LinePlacement/>                             </LabelPlacement>                             <Halo>                                 <Radius>                                     <ogc:Literal>1</ogc:Literal>                                 </Radius>                                 <Fill>                                     <CssParameter name="fill">                                         <ogc:Literal>#FFFF00</ogc:Literal>                                     </CssParameter>                                     <CssParameter name="fill-opacity">                                         <ogc:Literal>1</ogc:Literal>                                     </CssParameter>                                 </Fill>                             </Halo>                             <Fill>                                 <CssParameter name="fill">#000000</CssParameter>                             </Fill>                                                     <VendorOption name="followLine">true</VendorOption>                             <VendorOption name="maxAngleDelta">30</VendorOption>                             <VendorOption name="maxDisplacement">800</VendorOption>                             <VendorOption name="repeat">1000</VendorOption>                         </TextSymbolizer>                     </Rule>                 </FeatureTypeStyle>                      <!-- State Roads - 3572 - infinity -->                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>state</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>3573</MinScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#CDAA66</CssParameter>                                 <CssParameter name="stroke-width">5</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                     </Rule>                 </FeatureTypeStyle>                 <FeatureTypeStyle>                     <Rule>                         <ogc:Filter>                             <ogc:PropertyIsEqualTo>                                 <ogc:PropertyName>State_cont</ogc:PropertyName>                                 <ogc:Literal>state</ogc:Literal>                             </ogc:PropertyIsEqualTo>                         </ogc:Filter>                         <MinScaleDenominator>3573</MinScaleDenominator>                         <LineSymbolizer>                             <Stroke>                                 <CssParameter name="stroke">#FFFF00</CssParameter>                                 <CssParameter name="stroke-width">4</CssParameter>                                 <CssParameter name="stroke-linecap">round</CssParameter>                             </Stroke>                         </LineSymbolizer>                         <TextSymbolizer>                             <Label>                                 <ogc:PropertyName>road_name2</ogc:PropertyName>                             </Label>                             <Font>                                 <CssParameter name="font-family">Arial</CssParameter>                                 <CssParameter name="font-size">10</CssParameter>                                 <CssParameter name="font-style">normal</CssParameter>                             </Font>                             <LabelPlacement>                                 <LinePlacement/>                             </LabelPlacement>                             <Halo>                                 <Radius>                                     <ogc:Literal>1</ogc:Literal>                                 </Radius>                                 <Fill>                                     <CssParameter name="fill">                                         <ogc:Literal>#FFFF00</ogc:Literal>                                     </CssParameter>                                     <CssParameter name="fill-opacity">                                         <ogc:Literal>1</ogc:Literal>                                     </CssParameter>                                 </Fill>                             </Halo>                             <Fill>                                 <CssParameter name="fill">#000000</CssParameter>                             </Fill>                                                     <VendorOption name="followLine">true</VendorOption>                             <VendorOption name="maxAngleDelta">30</VendorOption>                             <VendorOption name="maxDisplacement">800</VendorOption>                             <VendorOption name="repeat">1000</VendorOption>                         </TextSymbolizer>                     </Rule>                 </FeatureTypeStyle>             </UserStyle>         </NamedLayer>     </StyledLayerDescriptor>


title: ArcSDE command registration issues

text: I have an ArcSDE 10.0 enabled SQL Server 2008 R2 database on a development server. We are using TeamCity to run continual deployment to this development server, which runs through the following steps:   1. The production database is restored from a recent backup.   2. ArcSDE deregistrations are run to remove a layer that isn't used anymore.   3. Some SQL scripts are executed to make any schema changes that are not in the backup.   4. Lastly, some ArcSDE registration are run to add new layers. The deregistration script that runs has no problems:               E:\ESRI\bin\sdelayer.exe -o delete -l jobsite,activityarea -i sde:sqlserver:[server]\[instance] -s [server]\[instance] -D [database] -u [redacted] -p [redacted] -N          ArcSDE 10.0  for SQL Server Build 685 Fri May 14 12:05:43  2010     Layer    Administration Utility     -----------------------------------------------------     Successfully Deleted Layer with Table jobsite.      The registration scripts are both having issues:               Executing E:\ESRI\bin\sdetable.exe  -o create_view -T spatial.vw_seasoncell -t RS_AOI_Grid_Final -c RS_AOI_Grid_Final.shape -i sde:sqlserver:[server]\[instance] -s [server]\[instance] -D [database] -u [user] -p [password]          ArcSDE 10.0  for SQL Server Build 685 Fri May 14 12:05:43  2010     Attribute    Administration Utility     -----------------------------------------------------         Error: DBMS table not found (-37).         Error: Unable to create view spatial.vw_seasoncell      And secondly... (note that JobSiteActivityArea is an existing SQL table with a spatial column ActivityArea)               Executing E:\ESRI\bin\sdelayer.exe -o register -l jobsiteactivityarea,activityarea -e p+ -C Id -t GEOGRAPHY -E [extent] -i sde:sqlserver:[server]\[instance] -s [server]\[instance] -D [database] -u [user] -p [password] -G 4283          ArcSDE 10.0  for SQL Server Build 685 Fri May 14 12:05:43  2010     Layer    Administration Utility     -----------------------------------------------------     Error: DBMS table not found (-37).     Error: Unable to create registration for table jobsiteactivityarea.      The real point of interest is if I run these commands remotely (i.e. in my own command prompt - I have ArcSDE on my local machine) targeting that server, everything works correctly. In my mind that would seem to rule out any permission issues with the credentials I'm supplying. This works from a couple of different machines. I've tried:   * Different casing for the tables, as I know they can be temperamental. The JobSiteActivityArea table is pascal cased, but again - it works when it's run remotely.   * Adding the schema to the table names. These tables and views are all in the spatial schema, and the credentials that I'm supplying is for the 'spatial' user (i.e. my user is the same name as my schema, because I know it's fussy about that too). Any suggestions would be greatly appreciated. I'm hoping I'm missing something obvious.


title: how to cluster points of interest by lat lon for my WP7 app

text: I have alread asked this question on SO, so I appologies if duplicating this is bad form. I will link to each of the sites if I get the right answer... http://stackoverflow.com/questions/5479589/how-to-group-points-of-interest-by- lat-lon-for-my-wp7-app I have a collection of my own `PointOfInterest` classes (approx. 1500) each having their own `Latitude` and `Longitude` double properties. Im trying to draw them on my screen, but at a certain logical zoom level, there is no point showing some of them because they are so close together. How can I very efficiently group POI's by their lat lon properties? I have this type of thing:               var pointOfInterests = (from p in PointsOfInterest select p).Distinct(new EqualityComparer()).ToList();      where the `EqualityComparer` is:               public class EqualityComparer : IEqualityComparer<PointOfInterest>     {         public bool Equals(PointOfInterest x, PointOfInterest y)         {             return Math.Round(x.Latitude.Value, PointOfInterest.DecimalPlaceFilterLevel) == Math.Round(y.Latitude.Value, PointOfInterest.DecimalPlaceFilterLevel) &&                 Math.Round(x.Longitude.Value, PointOfInterest.DecimalPlaceFilterLevel) == Math.Round(y.Longitude.Value, PointOfInterest.DecimalPlaceFilterLevel);         }              public int GetHashCode(PointOfInterest obj)         {             return Math.Round(obj.Latitude.Value, PointOfInterest.DecimalPlaceFilterLevel).GetHashCode() ^ Math.Round(obj.Longitude.Value, PointOfInterest.DecimalPlaceFilterLevel).GetHashCode();         }     }      and the `PointOfInterest.DecimalPlaceFilterLevel` is a static int property that I set when the user is at a certian zoom level. But this isnt working, I keep getting overlapping POI's and its not very fast... since I am on the phone, I need it to perform very well. Thanks for any help you can give


title: What's the difference between TOC and legend, _really_?

text: Like many folks here, I have played ESRI FlexViewer for quite a while. I couldn't help noticing there were still two widgets, one for TOC and the other for legend. It looks to me TOC is a layer tree with checkboxes but no icons, while legend is a layer tree with icons but no checkbox. I would like to ask the question: What's the difference between TOC and legend, _really_ , in a web mapping app or anywhere? Web apps certainly can do both. GeoPDF allows you to toggle layers. Unless you want to print a map out, personally I don't see a reason that those two are separated. For those who see significant differences, please take a look at the screenshots on my blog (The site doesn't allow me add an image because I am new?!). Or maybe try a custom widget on FlexViewer 2.2 for a clickable legend or a TOC with layer icons. And since search rules all nowadays, it allows you to search layers across services by keyword. Then tell me if you still see they are two or one. ![enter image description here](http://i.stack.imgur.com/ubT4b.gif)


title: animated map in R

text: everybody, sorry for disturb, but I am being quite new with r faced a crucial difficuty: I want to create an animated map of Russin with changes in unemployment with differnt years, like. On the image you can see data for one year![enter image description here](http://i.stack.imgur.com/AGBmB.jpg)               require(sp)     require(maptools)          require(RColorBrewer)     require(rgdal)      rus<-url("http://www.filefactory.com/file/4h1hb5c1cw7r/n/RUS_adm1_RData")     print(load(rus))               unempl <- read.delim2(file="C:\\unempl1.txt", header = TRUE,              sep = ";",quote = "", dec=",", stringsAsFactors=F)          gadm_names <-gadm$NAME_1     total <- length(gadm_names)     pb <- txtProgressBar(min = 0, max = total, style = 3)           order <- vector()     for (i in 1:total){              order[i] <- agrep(gadm_names[i], unempl$region,                           max.distance = 0.2)[1]      setTxtProgressBar(pb, i)               # update progress bar     }               col_no <- as.factor(as.numeric(cut(unempl$data[order],                         c(0,2.5,5,7.5,10,15,100))))               levels(col_no) <- c("<2,5%", "2,5-5%", "5-7,5%",                         "7,5-10%", "10-15%", ">15%")               gadm$col_no <- col_no     myPalette<-brewer.pal(6,"Purples")                    proj4.str <- CRS("+init=epsg:3413 +lon_0=105")     gadm.prj <- spTransform(gadm, proj4.str)          spplot(gadm.prj, "col_no", col=grey(.9), col.regions=myPalette,     main="Unemployment in Russia by region")      The result, which I willing to get is something like animation here: http://spatial.ly/2011/02/mapping-londons-population-change-2011-2030/ However, I googled a lot, read a number of themes in http://stackoverflow.com including the following: Creating a Movie from a Series of Plots in R, but couldn't do the right thing still. thank you in advance! **I've comed up with something like this, can anyone please tell me where is the mistake:**               require(animation)         require(sp)         require(RColorBrewer)          require(classInt)          require(rgdal)      rus<-url("http://www.filefactory.com/file/4h1hb5c1cw7r/n/RUS_adm1_RData")     print(load(rus))                         unempl1 <- read.delim2(file="C:\\unempl11.txt", header = TRUE,              sep = ";",quote = "", dec=",", stringsAsFactors=F)     unempl2<- read.delim2(file="C:\\unempl12.txt", header = TRUE,              sep = ";",quote = "", dec=",", stringsAsFactors=F)          gadm_names <-gadm$NAME_1               total <- length(gadm_names)     pb <- txtProgressBar(min = 0, max = total, style = 3)           order <- vector()          for (i in 1:total){              order[i] <- agrep(gadm_names[i], unempl1$region,                           max.distance = 0.2)[1]      setTxtProgressBar(pb, i)               # update progress bar     }               for (l in 1:total){              order[l] <- agrep(gadm_names[l], unempl2$region,                           max.distance = 0.2)[1]      setTxtProgressBar(pb, i)               # update progress bar     }          col_no_1 <- as.factor(as.numeric(cut(unempl1$data[order],                         c(0,2.5,5,7.5,10,15,100))))          col_no_2<- as.factor(as.numeric(cut(unempl2$data[order],                         c(0,2.5,5,7.5,10,15,100))))     saveHTML(           for(k in 1:2) {             try<-get(paste("col_no_", k, sep = ""))          levels(try) <- c("<2,5%", "2,5-5%", "5-7,5%",                         "7,5-10%", "10-15%", ">15%")               gadm$col_no <- try          myPalette<-brewer.pal(6,"Purples")                    proj4.str <- CRS("+init=epsg:3413 +lon_0=105")     gadm.prj <- spTransform(gadm, proj4.str)          spplot(gadm.prj, "col_no", col=grey(.9), col.regions=myPalette,     main="Unemployment in Russia by region")     },img.name = "map", htmlfile = "unrus2.html")      Here is data to be able to reproduce the code


title: GDAL loads in Python, but not IPython (Linux)

text: I am trying my hardest to utilize the work of the good folks at the GeoDa center, but I cannot seem to get all of the components to load. GDAL, in particular, has been giving me some difficulty. The biggest issue arises because I am operating within the IPython Notebook. If you are unfamiliar with the Notebook, to say it's worth a look is the understatement of the century. In any event, after some difficulty and some assistance, I was able to install the GDAL module. It was even importable at the Python prompt:               Python 2.7.5 |Anaconda 1.6.1 (64-bit)| (default, Jun 28 2013, 22:10:09)      [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2     Type "help", "copyright", "credits" or "license" for more information.     >>> import gdal     >>>       However, after my difficulties in the Notebook, I went back to the IPython prompt to discover the following difficulty:               Python 2.7.5 |Anaconda 1.6.1 (64-bit)| (default, Jun 28 2013, 22:10:09)      Type "copyright", "credits" or "license" for more information.          IPython 1.0.0 -- An enhanced Interactive Python.     ?         -> Introduction and overview of IPython's features.     %quickref -> Quick reference.     help      -> Python's own help system.     object?   -> Details about 'object', use 'object??' for extra details.          In [1]: import gdal     ---------------------------------------------------------------------------     ImportError                               Traceback (most recent call last)     <ipython-input-1-27bf4694dd2b> in <module>()     ----> 1 import gdal          /home/choct155/analysis/Anaconda/lib/python2.7/site-packages/gdal.py in <module>()           1 # import osgeo.gdal as a convenience     ----> 2 from osgeo.gdal import deprecation_warn           3 deprecation_warn('gdal')           4            5 from osgeo.gdal import *          /home/choct155/analysis/Anaconda/lib/python2.7/site-packages/osgeo/__init__.py in <module>()          19                 fp.close()          20             return _mod     ---> 21     _gdal = swig_import_helper()          22     del swig_import_helper          23 else:          /home/choct155/analysis/Anaconda/lib/python2.7/site-packages/osgeo/__init__.py in swig_import_helper()          15         if fp is not None:          16             try:     ---> 17                 _mod = imp.load_module('_gdal', fp, pathname, description)          18             finally:          19                 fp.close()          ImportError: /usr/lib/libgdal.so.1: undefined symbol: sqlite3_column_table_name      Has anyone else encountered this issue? I know that **sqlite3** is an installed module already, so if I can't see it being a dependency issue. That being said, I am not sure where to start beyond poking around the **osgeo** source. Any thoughts would be greatly appreciated. (I am using Ubuntu 13.04, by the way.) I first discovered this problem when having trouble with the R package, **rgdal** from within Notebook (but curiously not from within RStudio). Upon discovering deficiencies on the Python side as well, I thought it might be useful to talk to a more spatially-focused crowd. **UPDATE:** Thank you for the prompt responses. With respect to the first comment (SQLite), how would I verify that one was using a different version from the other? I checked the paths in os.environment, and they are the same. Thoughts? With respect to the latter, sys.executable was identical (and I initiated both from the same working directory):               >>> import sys, os     >>> sys.executable     '/home/choct155/analysis/Anaconda/bin/python'      * * *               In [2]: import sys, os          In [3]: sys.executable     Out[3]: '/home/choct155/analysis/Anaconda/bin/python'      _However_ , I did find differences in os.environ:               print set(python_environ.items())-set(ipython_environ.items())          print set(ipython_environ.items())-set(python_environ.items())     *****************************     set([('OLDPWD', '/home/choct155/analysis/fwtools/FWTools-linux-x86_64-3.0.6'), ('WINDOWID', '54529262'), ('_', '/home/choct155/analysis/Anaconda/bin/python'), ('C_INCLUDE_PATH', '/usr/include/gdal'), ('CPLUS_INCLUDE_PATH', '/usr/include/gdal')])     set([('WINDOWID', '54526233'), ('_', '/home/choct155/analysis/Anaconda/bin/ipython'), ('OLDPWD', '/tmp/pip-build-root/GDAL')])      To my eye, the environmental variables that I set in .bashrc (the include paths) are the elephant in the room. In fact, without these set, I couldn't get GDAL to install at all. What I am not clear on is why they would apply only to Python when IPython is using the same Python executable as the back end. **Sidenote:** To those that are working with these tools, in general it's probably a good idea to check out minrk's github page and GeospatialPython.org. **UPDATE:** Admittedly, I have very little theory behind this attempted fix, but I tried to harmonize the two environments by explicitly adding the missing environmental variables with a startup script in the default_profile for IPython. This, probably predictably, did not work. I am guessing that these variables are utilized only during installation. Since I already installed **gdal**...               !sudo pip install gdal     *********************     Requirement already satisfied (use --upgrade to upgrade): gdal in /home/choct155/analysis/Anaconda/lib/python2.7/site-packages     Cleaning up...      ...I am still not sure how to remedy this. Further, I am still unclear on how and why my Python and IPython platforms would be looking at different versions of SQLite when they have the same PATH. Any help would be greatly appreciated!


title: AxMapControl: How to set map extent in ArcObjects?

text: I have a stand-alone application written in C#. I want to be able to save and restore the current map view (extent) that the user sees. I assumed that it would be as simple as saving the active view's extent and then later resetting it, but that doesn't seem to work. Here is some code:               _myModel.Envelope = _axMapControl.ActiveView.Extent; // save it       ...               _axMapControl.Extent = _myModel.Envelope; // doesn't work     _axMapControl.ActiveView.Extent = _myModel.Envelope; // also doesn't work          _axMapControl.Refresh(); // doesn't do anything     _axMapControl.ActiveView.Refresh(); // doesn't do anything     _axMapControl.ActiveView.ContentsChanged();  // doesn't do anything      Note that after the assignments, both _axMapControl.Extent and _axMapControl.ActiveView.Extent values are unchanged.


title: Slow FeatureClass Sort

text: I am passing in a geofeatureLayer to a method that creates a UniqueValueRenderer. I am using the following code to sort that renderer so my values will be in some kind of order. This seems very slow, however. Is there a faster way to sort a featureClass?               IFeatureClass featureClass = geoFeatureLayer.FeatureClass;     ITableSort tableSort = new TableSortClass();     tableSort.Table = featureClass as ITable;     tableSort.Cursor = featureCursor as ICursor;     tableSort.Fields = classifyParms.ClassifyField.Name;     tableSort.set_Ascending(classifyParms.ClassifyField.Name, true);     tableSort.Sort(null);     featureCursor = tableSort.Rows as IFeatureCursor;


title: Installing ArcSDE 10 on SQL Server 2008 R2 Cluster 64bit or 32bit?

text: I am looking for Tips an Tricks on installing ArcSDE on SQL Server 2008 R2 Cluster. Our IT division would like to have all the databases on their new 2008 cluster. I've only done standard install before and I don't know how to go about it. Does SDE have to be install on each of the cluster servers? Does it have to be installed outside the cluster , on a seperate machine?


title: Identifying road intersections using PostGIS

text: I'm trying to identify where roads intersect each other, and to make a point at this intersection, with the number of roads that form the intersection listed. ![enter image description here](http://i.stack.imgur.com/zyLhL.png) I was wondering if there was some way of using ST_NumPoints to achieve this but I can't quite figure out what I should be doing. What I have done is to create a table of points where the lines intersect using the following code:               CREATE TABLE test_points as     SELECT               ST_Intersection(a.geom, b.geom),         a.gid     FROM         roads as a,         roads as b     WHERE         ST_Touches(a.geom, b.geom);      If I run this on a sample of roads I get the following grid of points (the roads are shown for illustration): ![enter image description here](http://i.stack.imgur.com/fqT7i.jpg) If I inspect one of the points, I see that there are many points stacked on top of each other: ![enter image description here](http://i.stack.imgur.com/7IrIV.jpg) The GID here is the road ID, but I don't understand why there are some many points. I can understand 4 points being counted for a central road intersection, but there are 12 points listed here. Is there a better way to perform this calculation in PostGIS?


title: Add button to map

text: I know this is a a stupid and direct question. How do I add a button to a normal map? Example: http://developers.arcgis.com/en/javascript/samples/map_simple/ I'm finding a way to make a button appear on the top of the screen.


title: unable to find "attribute" field in "ClassBreaksRenderer " class

text: I am trying to run Map ServerLayer sample given on arcgis resource center.When I pasted the code in my FlashBuilder 4.6 then it is showing error on this line `<esri:ClassBreaksRenderer attribute="POP2000">` .   Error is                 Multiple markers at this line:     -Cannot resolve attribute 'attribute' for component type com.esri.ags.renderers.ClassBreaksRenderer.     -ClassBreaksRenderer     -1 changed line      It means it is not recognizing the `attribute` field of `esri:ClassBreaksRenderer`. I am unable to understand the reason?Any suggestions?      **Note:** I am using `flex4.6.0` and latest version of arcgis API which is `agslib-3.3-2013-04-24.swc`


title: Where is the call to initialize pop up in FlexViewer 3.3?

text: Using FlexViewer 3.3, we created a basic map that met 80% of our needs. One of my tasks is to change the pop-ups programattically so that they display information from a web service, not just an XML file. I know this works in the current version and have successfully done so by adapting the Search widget to include this information in the result pop up. My problem now is that when you select an object in a layer without performing a search, it brings up the information specified in a pop up XML file. I have searched for this before, but because I am new to Flex and the FlexViewer application, I have not been able to find where the pop up is called from. Does anyone know where the pop up is initialized when the map is clicked so I can add the code for the web service to it?


title: snap GPS points to sidewalks

text: I have whole bunch of GPS coordinates collected from a device and sometimes they shift around 10m. Is there anyway to filter/modify points and snap them to sidewalks? So far I've written some javascripts to map those points to the center line of the nearest driving path but I still want them to be on sidewalks. I noticed ArcGIS can display street curbs. Is there any way to extract the curbs? I cannot finde APIs for curbs at all. There are some questions on this site regarding making sidewalk maps but no real solutions are available yet. I would prefer utilizing existing data sets like shape file and curbs to map points instead of adding sidewalks on google maps manually.


title: I have line strings in points and need to conver them to lon/lat degrees

text: I need to convert line strings back to latitude & longitude coordinates. Here are is an example, please keep in mind that they do NOT reference the same point. I have included the values to illustrate the differences between the way points are stored in PostGIS and what I need, which is the values in degrees. Example: The data used to expresses a point in QGIS looks something like... 663821.19 1185061.15 I want to convert it to degrees so it looks some thing like this... 10.679080000 -61.507780000 Any thoughts on this would be greatly appreciated.


title: Problem with wfs layer in OpenLayers

text: I'm trying to add a wfs layer and it's not working. Here is full code:                                  WebGis                                      .legend {                 padding-left: 18px;             }             .x-tree-node-el {                 border-bottom: 1px solid #ddd;                 padding-bottom: 3px;             }             .x-tree-ec-icon {                 width: 3px;             }             .gx-tree-layer-icon {                 display: none;             }                                                                               Ext.onReady(function() {         Ext.require(['*']);                      map = new OpenLayers.Map({      div: "map",      maxExtent: new OpenLayers.Bounds(      -20037508.34, -20037508.34, 20037508.34, 20037508.34      )      });           OpenLayers.ProxyHost= "proxy.cgi?url=";           var geographic = new OpenLayers.Projection("EPSG:4326");                 var mercator = new OpenLayers.Projection("EPSG:900913");                      var croatia = new OpenLayers.LonLat(16.083984375, 45.72152152227954).transform(                     geographic, mercator                 );                      var options = {                     units: "m",                     maxResolution: 'auto',                     maxExtent: croatia,                 };           var BingapiKey = "xxxxxx";           var streets = new OpenLayers.Layer.Google(      "Google Streets"      );      var physical = new OpenLayers.Layer.Google(      "Google Physical",      {type: google.maps.MapTypeId.TERRAIN}      );      var ghybrid = new OpenLayers.Layer.Google(      "Google Hybrid",      {type: google.maps.MapTypeId.HYBRID}      );      var satellite = new OpenLayers.Layer.Google(      "Google Satellite",      {type: google.maps.MapTypeId.SATELLITE}      );      // Bing's Road imagerySet     var road = new OpenLayers.Layer.Bing({         key: BingapiKey,         type: "Road"     });     // Bing's Aerial imagerySet     var aerial = new OpenLayers.Layer.Bing({         key: BingapiKey,         type: "Aerial"     });     // Bing's AerialWithLabels imagerySet     var bhybrid = new OpenLayers.Layer.Bing({         key: BingapiKey,         type: "AerialWithLabels",         name: "Bing Aerial With Labels"     });      var osm = new OpenLayers.Layer.OSM();      var highlight = new OpenLayers.Layer.Vector("Highlighted Features", {                 displayInLayerSwitcher: false,                  isBaseLayer: false              });                          //wfs layer            var wfsLayer = new OpenLayers.Layer.Vector("cjevovodi", {                                                  strategies: [new OpenLayers.Strategy.BBOX()],                                                  reportError: true,                                                  visibility: true,                                                  protocol: new OpenLayers.Protocol.WFS({                                                  url: "http://localhost:8080/geoserver/wfs",                                                  featureType: "vgv2:cjevovodi",                                                  featurePrefix: "vgv2",                                                  featureNS: "http://localhost:8080/geoserver/vgv2",                                                  geometryName: "simple_geom",                                                  srsName: "EPSG:4326",                                                  }),                                                  isBaseLayer: false                                                  });           map.addLayers([streets, physical, ghybrid, satellite, road, aerial, bhybrid, osm, wfsLayer]);           var LayerSwitcher = new OpenLayers.Control.LayerSwitcher({});      map.addControl (LayerSwitcher);      new OpenLayers.Control.Navigation();      new OpenLayers.Control.PanZoomBar();      var scaleline = new OpenLayers.Control.ScaleLine();      map.addControl(scaleline);      map.addControl(new OpenLayers.Control.MousePosition());      new OpenLayers.Control.KeyboardDefaults();      map.setCenter(croatia, 13);                            Ext.QuickTips.init();                  Ext.state.Manager.setProvider(Ext.create('Ext.state.CookieProvider'));                  var viewport = Ext.create('Ext.Viewport', {                 id: 'border-example',                 layout: 'border',                 items: [                 // create instance immediately                 Ext.create('Ext.Component', {                     region: 'north',                     height: 22, // give north and south regions a height                     autoEl: {                         tag: 'div',                         html:'           WEBGIS VELIKA GORICA - dobrodošli na GIS preglednik Velike Gorice            '                     }                 }), {                          region: 'south',                     contentEl: 'south',                     split: true,                     height: 50,                     minSize: 50,                     maxSize: 100,                     collapsible: true,                     collapsed: true,                     title: 'Dodatne info',                     margins: '0 0 0 0'                 }, {                     stateId: 'navigation-panel',                     id: 'east-panel',                     region: 'east',                     title: 'Prikaz tablica',                     dockedItems: [{                         dock: 'top',                         xtype: 'toolbar',                         items: [ '->', {                            xtype: 'button',                            text: 'test',                            tooltip: 'Test Button'                         }]                     }],                     animCollapse: true,                     collapsible: true,                     split: true,                     width: 200,                     minSize: 175,                     maxSize: 400,                     margins: '0 5 0 0',                     activeTab: 0,                     tabPosition: 'bottom',                     items: [{                         html: '          Popis tablica          ',                         title: 'Tablice',                         autoScroll: true                     }, Ext.create('Ext.grid.PropertyGrid', {                             title: 'Svojstva tablice',                             closable: false,                             source: {                                 "(name)": "Properties Grid",                                 "grouping": false,                                 "autoFitColumns": true,                                 "productionQuality": false,                                 "created": Ext.Date.parse('10/15/2006', 'm/d/Y'),                                 "tested": false,                                 "version": 0.01,                                 "borderWidth": 1                             }                         })]                 }, {                     region: 'west',                     stateId: 'navigation-panel',                     id: 'west-panel', // see Ext.getCmp() below                     title: 'Izbornik',                     split: true,                     width: 200,                     minWidth: 175,                     maxWidth: 400,                     collapsible: true,                     animCollapse: true,                     margins: '0 0 0 5',                     layout: 'accordion',                     items: [{                         contentEl: 'west',                         title: 'Layeri',                         iconCls: 'nav'                 }]                 },                 // in this instance the TabPanel is not wrapped by another panel                 // since no title is needed, this Panel is added directly                 // as a Container                 Ext.create('Ext.tab.Panel', {                     region: 'center',                     deferredRender: false,                     activeTab: 0,                       items: [{                         contentEl: 'center1',                         title: 'Karta Velike Gorice',                         closable: false,                         autoScroll: true,                         border: 'false'                     }]                 })]             });                  Ext.get("hideit").on('click', function(){                 var w = Ext.getCmp('west-panel', 'east-panel');                 w.collapsed ? w.expand() : w.collapse(),                 e.collapsed ? e.expand() : e.collapse();             });         });                                                   -----                                               Sakrij / prikazi izbornik                 Poseban tekst ovdje...                           * * *                                                                  -                                              Wms layer in this map work perfect, but wfs layer is problem. I put the html to geoserver folder at: C:\Program Files\GeoServer 2.2.5\data_dir\www\complex and open: localhost:8080/GeoServer%202.2.5/data_dir/www/complex/complex.html, panel and map works, but wfs layer not. Why? Where is the problem? ![vgv2 workspace](http://i.stack.imgur.com/2c0Pm.jpg) ![layer "cjevovodi"](http://i.stack.imgur.com/LseUR.jpg) ![enter image description here](http://i.stack.imgur.com/AaTPY.jpg) ![enter image description here](http://i.stack.imgur.com/J2zJ0.jpg) I tried to change projection epsg to 900913, nothing.


title: Write Nominatim-like geocode query using only PostGIS functions?

text: I'm new to PostGIS and was anticipating being able to write geocode queries using only the functions provided by PostGIS. However, once I loaded my database using osm2pgsql and discovered tables like "point," "polygon," etc., it wasn't at all apparent how I could create the equivalent of a Nominatim query such as this one for a street address in Cologne, Germany:               # This returns "lat":"50.9412187","lon":"6.95511930515345"     http://nominatim.openstreetmap.org/search?q=margarethenkloster+5,+50667,+cologne,+de      I know that latitude/longitude data is kept in the nodes table but the columns found in the point, line, and polygon tables don't seem to lend themselves to this type of query. Is it possible to write a SQL query against a PostgreSQL/PostGIS database that will mimic the above call to the Nominatim web service or must I use Nominatim? Thanks.


title: How to load a raster from in-memory bitmap (not from file) into PostgreSQL

text: I have a bitmap in memory that I would like to load as a raster to PostgreSQL. An unfavorable option is saving the bitmap to file and then use raster2pgsql, but as we have several cameras that produce images at high rate, we can't afford saving them to files just for sake of insertion to the DB. I'm looking for a solution for loading the bitmap directly from memory. Any suggestions? I'm using PostgrSQL 9.2 using PostGIS2.0 on Windows 7. The images are plain gray level, if it matters.


title: Things to consider while and after merging DEM-Tiles?

text: In some tutorials it is said that after merging you should stretch the “histogram to full dataset” (also mentioned in the QGIS Training Manual). Is there anything else you would suggest doing after merging a large number of DEM Tiles into one large geo-tiff which could easy further working with the merged layer? Also I´m thinking about questions like the following two already posted here concerning loss of color or contrast or “borders” between tiles. Could things like that become a problem or is there a chance of “information” loss during the merge? For reference: How to ensure uniform colour for DEMs? QGIS 2.2 Raster Merge losing color data I didn´t really know how to phrase this question so if some other title would be more appropriate please edit.


title: Is there a tool to compare ArcGIS Desktop configuration on two pieces of hardware?

text: I have two PCS with ostensibly the same configuration (i.e. both ArcGIS Desktop 10.0 SP5, both 4Gb RAM) yet when I load the same file geodatabase onto both and run the same large (400 element) model on both one runs perfectly (takes 1 hr 11 mins) while on the other it bails consistently with this error: > ERROR 999999: Error executing function. Invalid Topology [Topoengine error.] If this really had invalid topology I think the same error should show on both machines so I believe the error message to be spurious and that the problem is really something to do with the underlying configurations. To compare just the hardware configurations, in the absence of any licensing restrictions, I could use something like Belarc Advisor but this is likely to throw up so many differences that it becomes hard to distinguish those relevant to ArcGIS Desktop configuration and those that are not. Has anybody tried to find or develop a tool that can summarise the ArcGIS Desktop and relevant hardware configuration for a machine and perhaps write that to a table so that output from two machines can be fed through Table Compare to highlight what is different?


title: Has anyone tried implementing Project Repair for customised ArcGIS Geoprocessing Tools?

text: I'm currently testing a model with a large number of elements (about 400) which takes five input feature classes and three workspaces. When I test it against my test data locations I can open up the tool dialog and it finds all my data in the test locations that I have set as defaults so quite quickly I can just hit OK to get the tool running. However, when I move my test data to a new location to simulate what a user of the tool is likely to need to do, then it takes about 30 seconds to locate the data for each of the eight input fields i.e. 4 minutes in total with me having to wait in between. What I would like to do is to locate the first dataset, and have my tool do something akin to project repair in an MXD which seems to assume that if one dataset moved from disk location A to disk location B then probably the rest did too. Before I start to investigate writing Python code for tool validation that attempts to do this I am wondering if anybody else has already done so?


title: How to create a Human Trafficking Heatmap in QGIS?

text: I'm trying to create a heatmap with about 325 points distributed around the city of Houston. (FYI Houston is a major human trafficking in the US: a title shared with LA and Atlanta depending upon seasons and large events). I'd like to plot the concentrations of these points, but can only get a large circular area around all of them with QGIS' heatmap plugin. Currently, QGIS only allows whole numbers as its buffer ratio, so I would need to go smaller or possibly correct my CRS. The confirmed human trafficking addresses were geocoded with Google's API, and I have unsuccessfully tried in WGS84, WGS84/Mercator, and Google Mercator. Is there a better way to do this? Here's a screen cap to illustrate. The results were the same for the aforementioned CRS's. ![heatmap fail](http://i.stack.imgur.com/IesQD.png) PS. I'm also already aware that the current heatmap plugin can only create a raster layer with projected coordinates if the buffer ratio is in map units


title: Remove/dissolve parts in ESRI line feature class

text: I am using ESRI ArcGIS 10.1. I have a line which has been dissolved, having initially been composed of 4 features. I want to remove these parts, properly dissolving it into one continuous feature. I tried using the Unsplit Lines tool but no luck. ![line parts](http://i.stack.imgur.com/XO3tV.png) Additionally, once dissolved it places the final vertex at a mid point, not the end of the line: ![end point](http://i.stack.imgur.com/ulAuE.png) This proves very difficult to manually correct. Curiously, the position of the end point is the end point of the right most line from the four that this was initially dissolved from. If anyone knows how to get ridd of these parts, I'd appreciate it. I am wondering if it is because there is an infinitessimally small distance between parts, but it seems they're snapped together.


title: Extract coordinates from vector layer in PyQgis

text: In Qgis, I have made a polygon, and from that polygon I have made a vector grid via research tools-> vector grid. The grid covers the entire polygon. Now I want to extract these grid points in the python console so I can work with them. But I can not figure out how to extract these coordinates. I have done the following:               Layer = qgis.utils.iface.activeLayer()     provider = Layer.dataProvider()     feat = QgsFeature()     allAttrs = provider.attributeIndexes()     provider.select(allAttrs)     geom = feat.geometry()      but from here I do not know what to do. Any help?


title: What's the difference between CRS 4326, CRS 4978, and CRS 4979?

text: CRS 4326, 4978, and 4979 are all based on WGS84.   * 4326 is called "geographic 2D"   * 4978 is called "geocentric"   * 4979 is called "geographic 3D" What are the differences between these three? And why are we using "geographic 2D" (i.e. CRS 4326) for the coordinates?


title: Why do file geodatabase and SDE readers produce different fme_geometry types?

text: I have one very simple workbench that I am running against both SDE (9.3) and FGDB (10.0) sources. I noticed two different fme_geometry values for same type of objects. For the first one, i.e SDE 9.3, I have `fme_geometry=fme_donut`, but for the same features in FGDB 10.0 I have `fme_geometry=fme_aggregate`. Is this a "problem" of converting ESRI data from 9.3 to 10.0 or how FME interprets geometry? Because in case of fme_aggregate, FME is doing "additional" job of constructing donuts again:               Calculating inside points     Determining uppermost containment     Constructing donuts from xxx points      (Visible in log window)


title: How to Get the Three Nearest Points to an Object (different layer)?

text: I have two point shapefiles and I want for each point in the 1st shapefile to get the 3 closest (based on air distance) points from the 2nd shapefile. If possible, it would be great to have each of the three as a new column (as if a variable name) and the value is the distance. Thanks a lot! M


How can I find features that do not touch any other feature? I have about 4000 pipeline elements and I want to know which of them are separated from the network. I tried with: `SELECT h1.gid FROM pipelines h1, pipelines h2 WHERE ST_Disjoint(h1.geom, h2.geom)` but I get too many results.


title: How to add a band to an existing GeoTiff using GDAL?

text: This seems like it should be straightforward but I can't for the life of me figure it out. Given an existing GeoTiff containing a single band, how can you add another band to that GeoTiff? Is the only way to do this to use GDALCreate() to create a new output file with an additional band and then copy the existing band from the original file to the new file? That's the only solution I've come up with so far but it just seems like there should be a simple way to add a band to the existing dataset.


title: How to create internal polygon without overlap on QGIS1.8.0

text: I would like to create new polygon inside the existing polygon. It does not means donuts polygon. I would like to have two polygon without overlapping. I can create if I don't check "Avoid intersection"from snapping option. Unfortunately, there is overlapping new polygon and existing polygon. It must not have overlapping area. Please tell me if it is possibele.


title: Adding points from JSON to ArcGIS for Android?

text: I am new to Android, the ArcGIS Platform and ArcGIS for Android. I need to load points (offline) from a JSON file (GeoJSON) onto the map which displays a local Tile Package (*.tpk) and shapefile.


title: MS Access join table values, not recognized by ArcGIS symbology

text: I joined a MS Access database table to a GIS file. When I try to use symbology (categories) to represent a yes/no value which is in the table file (0/-1) it does not recognize it as a value.


title: Are there any open source distribution raster merging functions within JTS or GeoTools

text: I'm looking for something similar to the combine function from the ISelectionSet interface from ArcObject's SDK 10 .NET framework on a more scaled down level. Ergo, I don't plan on using that interface to combine objects that manage rows or features. If I need to I'll do a cast as some type of table like object, but nothing drawing from ArcObjects.


title: SHAPE FILE to TIGER with OGR

text: How do I convert SHAPE FILE to TIGER using GDAL (OGR). I try but throw following error:(layer number)is not a known TIGER/Line layer.


title: There is no menu bar on Mac OS 10.7.3

text: I installed the latest version of QGIS on Mac OS 10.7.3 with 2 additional frameworks (GDAL Complete and GSL) but there is no main menu bar (not at the top of screen, not at the window of QGIS). Where is the menu?


title: restrict quantity of features displayed with OpenLayers

text: I have 14000 point vector features in the map. Displaying them all is very slow (renders at like 1 fps in chrome). How can I tell Openlayers to only display a subset of them, for example features with the highest priority attribute ? I've seen that there is a max-scale and min-scale property that could be useful, but it's layer-wide and I think I need a per-feature option.


title: Update a newly added column of a table using ST_Intersection as a filter

text: I would be **really grateful** to anyone that could help me with the following issue. I have ever used PostGIS much before - so could be considered a newbie... **My Situation:** I have **TWO** PostGIS tables:   1. roads   2. country_boundary The roads table is so big (within the application 500MB) that I wish to display it by country_boundary. I can do this successfully using the following query:               select ST_ASBINARY(roads.geog::geometry) from roads, country_boundary      where country_boundary.adm0_name='Sudan'      and ST_Intersects(roads.geog::geometry, country_boundary.geog::geometry)      HOWEVER it takes too long to display the data (several minutes) note: I have tried most optimization techniques, spatial indexing, (ST_Simplify/ST_SimplifyPreserveTopology) these either remove data or takes just as long. I thought I had found a simple solution that worked - I add a new column 'adm0_name' (aka country name) to the roads table and populated it using the ST_Intersects query above.               update roads      set adm0_name = 'Sudan'     where ST_ASBINARY(roads.geog::geometry) in     (       select ST_ASBINARY(roads.geog::geometry) from roads, country_boundary where country_boundary.adm0_name='Sudan' and ST_Within(roads.geog::geometry, country_boundary.geog::geometry)     );      The resulting display query: works fast, and as expected.. >>problem solved<< ??               select ST_ASBINARY(roads.geog::geometry) from roads where roads.adm0_name='Sudan'      **UNFORTUNATELY NO...** The ST_Intersects includes a small number of geometries (polyline(s) that are shared with neighbouring countries. This means polylines (roads) crossing the country boundary, cannot be give a unique country name. Note: I originally used ST_Within but this removed data that was shared between neighbouring countries (as expected with features like roads/rivers that do not respect country boundaries). **..... thanks for bearing with me...** I decided I needed to use ST_Intersection because this would avoid the boundary issue - it would 'clip' the road dataset to each country boundary thus avoiding the polyline boundary issue. **This works** \- I have an intersection query that displays the data OK               Select ST_ASBINARY (     ST_Intersection(g1.geom1, g1.geom2)) FROM (Select country_boundary.geog::geometry As geom1, roads.geog::geometry As geom2 from country_boundary, roads      where country_boundary.adm0_name = 'Sudan') AS g1;      **MY PROBLEM:** I cannot find a way to update the roads.adm0_name column with the country name because ST_Intersection seems to returns a geometry, it does not behave like ST_Intersects, where I could update the column. My attempt to do this is below ---> 26 hours later I have reached a point of head scratching. Could anyone of you guys help me out?               update roads      set adm0_name = 'Sudan'     where ST_ASBINARY(roads.geog::geometry) in     (      Select ST_ASBINARY (     ST_Intersection(g1.geom1, g1.geom2)) FROM (Select country_boundary.geog::geometry As geom1, roads.geog::geometry As geom2 from country_boundary, roads where country_boundary.adm0_name = 'Sudan') AS g1;     );      However the above statement fails ---> I need to update the roads.adm0_name with country_boundary.adm0_name where (country_boundary " **ST_Intersection** " roads). **Thanks again --**


title: Data types for storing lng/lat in MySQL

text: I'm storing a large list of lnt/lat points in a MySQL database. At the moment these are projected points for the UK in M, but in the long term I would like to make sure that I can store the coordinates of points for all over the world. What datatype should I use? I started using `decimal(18,12)`, but was unsure whether this precision is needed or whether I could just use a `float`. I included my code, in case there is anything else I should be considering:               CREATE TABLE UKTest     (     lat FLOAT,     lng FLOAT     )      I'm quite new to SQL so I'm unsure whether the data type is significant when running a query. I assumed that the overall memory would vary based on the variable type. Is there a benefit of using a spatial database over a basic MySQL database for this type of work?


title: How to read *.map file by using geotools api in Java?

text: How to read *.map file by using geotools api?               String filePath ="C:\\CTO-New\\SOCLOMO\\Location\\Map Info FIles\\New folder\\18-july-2014\\1301\\filename";     File file = new File(filePath);     Map<String,Object> map = new HashMap<String,Object>();     map.put("url", file.toURI().toURL());     DataStore datastore= DataStoreFinder.getDataStore(map);      Here datastore returning null value. How to read .map extension file in java?


title: Finding cumulative area in ArcGIS for selected polygons

text: I have 50 polygons of 5 different classes viz. A,B,C,D,E. and a field in the attribute table for area of each polygons. I want to add a field which give the cumulative area of the polygons of a particular class. e.g. if I query the attribute table for class A polygons, the cumulative area field give the cumulative area of the class A polygons. Likewise for class B polygons and so on. How can I do this in ArcGIS? The field calculator in ArcGIS gives the cumulative area of all the polygons, but not of particular class after query? Thanks.


title: How to import QGIS Raster into PostGIS

text: I have created a IDW heatmap using QGIS 1.8.0 and need to import the raster into PostGIS 2.0.1. QGIS saves the raster layer as a `.asc` file. How do you import the raster into PostGIS as a Raster? What format should QGIS save the raster as? Can pgAdmin's `PostGIS Shapefile and DBS Loader` be used?


title: How to get features based on their attributes using Python?

text: How to Get features by their attributes (similar to Iqueryfilter in arcobjects) in Qgis using python? Instead of getting all features and filter it manually, is there any option to use whereclause to filter it out? Example: I have a field name called 'Counties'. It has more than fifty thousand of features.i.e not possible to fetch all features and filter it because of time consuming. So i can query it by using iqueryfilter.whereclause = 'Counties = Norwich' in arcobjects. Similar thing i need in PyQgis. kindly let me know whether its doable


title: qgis missing menu bar ver 1.8.0-lisboa on ubuntu linux

text: QGIS emits the following warnings when starting, and fails to display the main menu bar. $ qgis --nocustomization Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already trackin g action "Project Properties..." under id 125 Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu *, int, int, const QStringList&): No id for action Warning: void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu *, int, int, const QStringList&): No id for action The "//" in the path "/usr/share/qgis/i18n//qgis_en_US" looks suspect, and there is no "qgis_en_US" among the 47 files in the i18n directory. Help and suggestions are welcome. Thanks.


title: How to removed overlapped features?

text: Im using Arcmap10.1. When I was make attribute based buffer, the result had shown as overlapped, So how can I solved this issues?   Thanks in Advance ![enter image description here](http://i.stack.imgur.com/t7IDP.jpg)


title: Run fichier.sql in QGIS python console

text: i use QGIS and i want to know how to run a sql code (fichier.sql) in python console in QGIS I have used this :               impost os      os.system("psql \i C:/fichier.sql -d test2 ")       but it doesn't work Any Help !!!


title: Method for automatic aggregation of polys with sparse data

text: I am part of a project on presenting health related data on maps. In order to maximize the analytical usefulness of the data, we wish to divide them into as small areas as possible. However, to protect individuals we also have to make sure that each area contains enough cases to secure anonymity. We are therefore looking for methods to automatically aggregate an area with too sparse data to a neighboring area – or perhaps a bit more advanced – to a non- neighboring area in the map, which according to sociodemographic parameters resembles the area in question. I would therefore very much appreciate any input on methods for automatically:   1. Aggregate an area with too few cases to a neighboring area – for example the neighboring area with the lowest number of cases.   2. Aggregate an area A to the area B – neighboring or non-neighboring – which on a number of parameters has the closest resemblance to area A. The work will be done in QGIS and/or Arc GIS, so any readily implemented methods in any of these systems are welcome, but general theoretical descriptions of statistical methods – probably most relevant for the second case – are also of interest. Thanks!


title: Geo IP database for Brazil?

text: I am looking for a database that offers good accuracy for obtaining region from an IP address? Or, if this question is too fuzzy: Which one is (possibly) the most accurate? Note: I only need a database with IPs in Brazil, and only with region level accuracy. The location would be used to prefill a form on a web site. We also considered using web browsers' Geolocation API. However, as seen in a demo, in major browsers, the user would first have to opt in. I already found freegeoip.net (demo) and MaxMind (demo). Of these two, only MaxMind correctly detects my current location: Las Palmas de Gran Canaria. freegeoip.net falsely reports: Madrid. However, MaxMind is rather pricey, which may be OK if we needed data for the whole world. But for Brazil only, price is questionable, and in addition, it is not even clear that their data for Brazil is good.


title: How do I filter unique values using a definition query on a File Geodatabase?

text: Is there a way to filter unique values only from a column in ArcMap using definition query? i.e to use a Definition Query to filter out just those values which occur only once. In a Personal Geodatabase I can use "DISTINCT", what about File Geodatabase format? Thanks for your help.


title: How to access and send coordinates from third party application to the current running instance of ArcMap?

text: I'm quiet new to ArcObjects and I need some help. My main issue is that I have an external WPF application (a video player exactly), and from that application I want to perform the following actions in the current instance of ArcMap:   * From my application get the currently running instance of ArcGIS desktop or ArcMap   * Send coordinates and display a bitmap at that location Frankly I don't know from where I should start, so here are my questions:   1. Is it possible to access the current running session of ArcGIS from a third party program?    2. Is it possible to send coordinates to ArcGIS this way?    3. Should I convert my application to an AddIn? How can i perform that, if you have any useful indications it will be great.


title: Working with PNG images in Photoshop

text: I have a couple of .png images, they represent relief shadows, only black and white color ![enter image description here](http://i.stack.imgur.com/cttMw.jpg) In ArcCatalog Preview or in ArcMap, I see that image in example, but I when I open it in Adobe Photoshop, I see only black image![see](http://i.stack.imgur.com/fje7V.jpg) Can you please help me, because I need to edit some black lines in Photoshop but I can't see picture. Thank you.


title: Using ArcGIS 10 to find areas of overlapping use and areas with low use?

text: I have a spatial data set that shows areas of use (several different types of use) on the landscape. I am looking for ways to overlay these spatial use layers so that I can show where the areas of highest use (hotspot locations) as well as areas of moderate use and areas of lowest use. How can this be best achieved? Thank you.


title: Installing LASTools to QGIS on a Mac (or other LAS processing plugins)

text: I recently saw this link how to install LAStools toolbox to QGIS. The problem is that the instructions are only for Windows users. Now I wonder if it's possible to install LAStools on a Mac with QGIS or if there are any other LAS plugins that could be used on a mac?


title: arcgis javascript api legend and basemaptoggle error

text:
I'm having a problem with my Web Application. I try to fit in a legend and a BasemapToggle but it doesn't seem to work. My Code looks like this:               <!DOCTYPE html>               <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>     <title></title>          <link rel="stylesheet" href="http://js.arcgis.com/3.8/js/dojo/dijit/themes/tundra/tundra.css">     <link rel="stylesheet" href="http://js.arcgis.com/3.8/js/esri/css/esri.css">     <link rel="stylesheet" href="http://192.168.163.129:6080/arcgis/rest/static/jsapi.css">

Test Viewer
Name here

Tools here!

                 So, if I'm using this code i get this result: ![enter image description here](http://i.stack.imgur.com/d9T2p.jpg) There's no content showing up in the LegendPane. And if i undo the uncommented -part for the BasemapToggle it looks like this: ![enter image description here](http://i.stack.imgur.com/Zs5bg.jpg) Does someone might have a hint or an answer for me?


title: PostGIS - when I add a polygon, delete overlapping areas in other layers

text: I'm starting to work with PostGIS and I'd like to solve the following problem: In my database, I have multiple land use class layers, for example: "residential", "industrial", "commercial". The polygons in the layers don't overlap. Some areas are not covered by any layer, which means that the area is undeveloped land. Now, let's say that I want to simulate a change of the landuse: a new "residential" area polygon is created instead of a part of an industrial area and surrounding undeveloped land (see picture). ![enter image description here](http://i.stack.imgur.com/EbjTS.png) I know that to insert the new polygon to the "residential" table, I must write a query like this:               INSERT INTO residential (name, the_geom)         VALUES ('new development', ST_GeomFromText('POLYGON((-71.1776585052917 42.3902909739571,        -71.1776820268866 42.3903701743239,        -71.1776063012595 42.3903825660754,        -71.1775826583081 42.3903033653531,        -71.1776585052917 42.3902909739571))'))      Now, my question: When I insert the new polygon, how do I make sure that all overlapping areas (whole polygons or parts of polygon) in all other layers are deleted?


title: Digitizing from physical soil map

text: I need a shape (or raster) soil map of Burundi. I have a .jpg physical soil map of the region in high quality, which I have imported into ArcMAP and georeferenced to the correct projection. In stead of creating hundreds of polygons myself by clicking, isn't there a possibility to classify the .jpg image based on its RGB values? Or is there a possibility to select regions of similar colour (in the jpg) and make a polygon out of it? Suggestions welcome!


title: Terminology: Polygon or Area?

text: When writing about GIS geometry I'm unsure whether to use the term "polygon" or "area". In particular, does the word "polygon" suggest a specific type of geometry? For example, a colleague suggested to me that "polygon" is not an appropriate term for a donut feature! But even if that's true, does anyone care? Is there any strong concensus either way on this? Also, which word translates better into other languages such as German and French? I'm trying to consider users other than just English-speaking ones.


title: How to unproject a shapefile in Python?

text: I have one shapefile with XY coordinates in meters. Now, I want to develop one script in Python which converts meters to decimal degrees. Please help me to develop this. Thanks


title: Any known problems after Tomcat-upgrade using oracle locator?

text: After trying to upgrade from Tomcat 5.5.28 to 5.5.29 or above I ran into a strange problem. We use a linux based gis system using an Oracle EE DB (without spatial license). ## Problem After the upgrade we get for some actions the following java-error:               java.io.IOException: org.hibernatespatial.helper.FinderException: Couldn't get at the OracleSpatial Connection object from the PreparedStatement.      I was able to pin the cause down to the DBCP library. Up until Tomcat 5.5.28 this was 1.2.2 after that it was upgraded to 1.3 (which is technically the same as 1.4). The DBCP library is the database abstraction layer between Tomcat and the ojdbc6.jar (as far as I understood). If I do a downgrade to dbcp 1.2.2 after the Tomcat-Upgrade everything works again without problems. Has anyone encountered this out there, too? The DBCP-developers can't help, since the java exception is not directly related to dbcp (which is strange, too).


title: Duplicate display of annotation in SLD script

text: I am using one sld file in geoserver of village parcel display. It works fine, but the issue is that the annotation(parcelno) display duplicates/replicates when I zoom in. What can I do? Thanks


title: How to transfer data from spreadsheet into shapefile?

text: I am looking at Deprivation in the UK and there is some good data in the form of spreadsheets on this website http://www.communities.gov.uk/publications/corporate/statistics/indices2010 I would like to know how i can transfer some of the data into a shapefile??


title: How to preserve topology while editing polygons in OpenLayers?

text: I’m facing this issue: I have a chloropleth map based on a set of polygons with some data. Using WFS-T (postgis, geoserver, openlayers) I am able to edit the geometry of the polygons. This works fine. My polygons look like state borders. They have shared border vertices. When I edit the geometry of some polygon (e.g., move vertices using modifyFeature), I need to affect the geometry of any neighboring polygon. There shouldn’t be holes or overlaps. Is it possible to do it? Thanks


title: ArcObjects custom GP tool: Multiple extensions using IGPFileDomain

text: I am using IGPFileDomain to make the user select between different file extensions, for example .type1, .type2, .type3. These are added using domain.AddType("type1") etc. The dialog box then lists all these filters. In addition, it also adds the option to use all 3 extensions/filters at the same time. Example:               "File (*.type1)"     "File (*.type2)"     "File (*.type3)"     "File (*.type1;*.type2;*.type3;)"      Is it possible to tell/force this dialog to use the last option as default ?   * Oyvind


title: Labels not appearing over selected features

text: I have turned on the labels over a map of the United States, and I have to select several spatial features (ten U.S. states). When I select the states, the labels disappear under the fill color (which I cannot change). I know this is simple, but I am very new to this and cannot think of a solution. I have already tried several things.


title: Import shapefile into GRASS in QGIS

text: I am using the GRASS interface in QGIS 2.4. I have successfully imported my shapefiles into GRASS using v.in.ogr, but when I try to then use a GRASS tool, like v.net Network maintenance, the select boxes for choosing the imported vector layers are empty. Any suggestions? I can see the imported layers in the folder of my Windows Explorer. Thanks


title: Change the starting measure point of a route - linear referencing

text: I have a few routes created and stored as a feature class in a GDB. When using the create route tool there is an option to choose the starting point of the routes. However, I only have certain routes that start TOP LEFT (of the bounding rectangle), some start LOWER LEFT etc etc. Is there a way to change the starting measure point after you have created routes or am I going to have to create routes in groups (those with lower left start points, the upperleft etc) and then merge afterwards?


title: How do I put label inside polygon at any scale in QGIS 1.8.0

text: I would like to put labels inside polygon anytime and any scale. I'm using "Labeling" from the toolbar. Although I tried all types of the placement from the advanced tab, some labels still fall outside of their respective polygon. Please let me know how to put labels inside the polygon at any time and scale. Thank you.


title: How to edit several layers simultaneously?

text: I have the land occupation of an area and a layer for each year : 2005-2006-2007-2008...2010. Theses are polygons. There is errors on layers which are common to all of them. For instance: There's a house and a big garden, and the whole thing is considered as one entity on every layer. I would like to cut the polygons one time (and not edit the four layers round by round) and later give the Land occupation on the polygon. It's a little bit boring to repeat this operation. I thought about topology but there are other differences that make this approach very complicated (that the normal evolution of landscape) I've heard about relationship classes but it wasn't clear and it seemed to me that you can only work on 2 layers simultaneously. **Software doesn't matter. I can work on Arcgis suite but I would prefer to work on Open source software.**


title: ArcGIS Viewer for Flex UniqueValueRenderer error

text: Trying to compile (in 3.0) an ArcGIS Flexviewer widget that was created in v2.4 of the AGS api for flex, and receive a UniqueValueRenderer error as follows. Code is below also. _Encountered errors or warnings while building project DriveTimeWidget.mxml. DriveTimeWidget.mxml: Cannot resolve attribute 'attribute' for component type com.esri.ags.renderers.UniqueValueRenderer._                       import mx.controls.Alert;             import mx.rpc.AsyncResponder;                  private var myGraphicsLayer:GraphicsLayer = new GraphicsLayer();              [Bindable]             private var url:String;             [Bindable]             private var driveTimes:String;             [Bindable]             private var driveTimeAlpha:Number;             [Bindable]             private var driveTimesArray:Array;             [Bindable]             private var driveTime1:String;             [Bindable]              private var driveTime2:String;             [Bindable]             private var driveTime3:String;             [Bindable]             private var ring1color:uint;             [Bindable]             private var ring2color:uint;             [Bindable]             private var ring3color:uint;                       //this function called when the widget's configuration is loaded             private function init():void             {                 if (configXML) // checking for valid content in the configuration file                 {                     url = configXML.url;                     map.addLayer(myGraphicsLayer);                       driveTimes = configXML.driveTimes;                     driveTimeAlpha = configXML.alpha;                     ring1color = configXML.ring1color;                     ring2color = configXML.ring2color;                     ring3color = configXML.ring3color;                 }                 driveTimesArray = driveTimes.split(" ");                 driveTime1 = driveTimesArray[0];                 driveTime2 = driveTimesArray[1];                 driveTime3 = driveTimesArray[2];             }             private function computeServiceArea(mapPoint:MapPoint):void             {                 myGraphicsLayer.clear();                 var graphic:Graphic = new Graphic(mapPoint, sms_circleAlphaSizeOutline);                 myGraphicsLayer.add(graphic);                 var featureSet:FeatureSet = new FeatureSet([ graphic ]);                 var params:Object =                     {                         "Input_Location": featureSet,                         "Drive_Times": driveTimes                     };                 gp.execute(params, new AsyncResponder(onResult, onFault));                 function onResult(gpResult:ExecuteResult,token:Object = null):void                 {                     var pv:ParameterValue = gpResult.results[0];                     var fs:FeatureSet = pv.value as FeatureSet;                     myGraphicsLayer.graphicProvider = fs.features;                     myGraphicsLayer.renderer=uniqueValueRenderer;                 }                 function onFault(info:Object, token:Object = null):void                 {                     Alert.show(info.toString());                 }             }             private function clear():void             {                 myGraphicsLayer.clear();             }                  private function mapClickHandler(event:MapMouseEvent):void             {                 computeServiceArea(event.mapPoint);             }                  protected function driveTime_openHandler(event:Event):void             {                 map.addEventListener(MapMouseEvent.MAP_CLICK,mapClickHandler)                            }                            protected function driveTime_closedHandler(event:Event):void             {                 map.removeLayer(myGraphicsLayer);                    map.removeEventListener(MapMouseEvent.MAP_CLICK,mapClickHandler)                 }              ]]>     </fx:Script>               <fx:Declarations>              <esri:SimpleMarkerSymbol id="sms_circleAlphaSizeOutline"                                  alpha="0.5"                                  size="15"                                  style="circle"/>              <esri:SimpleFillSymbol id="rFill"                                alpha="{driveTimeAlpha}"                                color="{ring1color}"/>         <esri:SimpleFillSymbol id="gFill"                                alpha="{driveTimeAlpha}"                                color="{ring2color}"/>         <esri:SimpleFillSymbol id="bFill"                                alpha="{driveTimeAlpha}"                                color="{ring3color}"/>              <esri:UniqueValueRenderer id="uniqueValueRenderer" attribute="ToBreak">             <esri:UniqueValueInfo symbol="{rFill}" value="{driveTime1}"/>             <esri:UniqueValueInfo symbol="{gFill}" value="{driveTime2}"/>             <esri:UniqueValueInfo symbol="{bFill}" value="{driveTime3}"/>         </esri:UniqueValueRenderer>                        <esri:Geoprocessor id="gp"                            outSpatialReference="{map.spatialReference}"                            url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Network/ESRI_DriveTime_US/GPServer/CreateDriveTimePolygons"                            useAMF="false"/>          </fx:Declarations>               <viewer:WidgetTemplate id= "driveTime"                            width="380"                             height="100"                             open="driveTime_openHandler(event)"                            closed="driveTime_closedHandler(event)"                               >              <s:VGroup width="100%" height="100%">             <s:Label text="This Widget Calculates DriveTimes (3, 5, 7 minutes)"/>                  <s:HGroup width="100%"                       paddingLeft="5"                       paddingBottom="2"                       paddingTop="2" verticalAlign="middle" styleName="">                            </s:HGroup>         </s:VGroup>     </viewer:WidgetTemplate>


Can QGIS (1.8.0 Mac) rotate the entire view of a project? that is, have north pointing in a direction other than up on the screen and on output? of course, while still allowing adding new layers etc.


title: Make thematic map for each column in a table in ArcGIS

text: I have a table with header like   LocationId, Jan, Feb, Mar,.....Dec I would like to make a graduated symbol map for all the locationIDs for each month, and make an output as a jpg/pdf file. What is the easiest way to do this in ArcGIS?   Thanks! Comment - I can work on it one by one, but what if I get 20 columns to work with? Do I need to do it using ArcObject?


title: Finding Network overshoots under a certain distance

text: we have a large contiguous network that will have legitimate overshoots (like a dead end street), but may or may not have illegitimate overshoots. Using FME, I can't seem to manufacture a way to find these overshoots. It is new to me, but I cannot work out how to do it. A long lunch yesterday for Mothering Sunday may have removed a large number of brain cells, but I can't work out a way to do it. Any ideas? Thanks in advance.