Archive for June, 2007

Mapserver Enterprise vs Mapserver Cheetah

June 25, 2007

Note: I have rewritten this article after crtitics which was deserved a bit:-)

To whom it may concern.. This is still a bit naming mess. The two pieces of software have almost nothing to to do with each other.
“Mapserver Enterprise” simply does’n exist anymore and is now called MapGuide Open Source, open source approach to web mapping, based on original Autodesk’s code. Despite of the former name, there is no “child” version of UMN Mapserver nor fork, there’s one Mapserver. A bit of history – Autodesk entered in free GIS in 2005 with its MapGuide. As they were publishing a huge amount of code I think that they wanted to make it a big way. They invented these two names, but there was little response for calling Mapserver other names.. Now, the name “Mapserver Enterprise” is not promoted anymore and the product resides on Anyway, some people from Autodesk still call it so – I have heard it recently on GlobalGeo in Barcelona. But it is probably only a mistake – Mapserver Enterprise simply doesn’t exist anymore.

MapGuide is not written in Java¬† as I originally thougt, but “entirely coded in cross-platform C++, using SWIG to generate the user-facing web APIs” (citing Jason Birch) and has some quite interesting features – i.e. using DXF vector plugin in browser, extensive ajax use etc. This comparing to old unix-like C/C++ mapserver may appear really to be anvaced edition. I certainly think that != true; Everybody can choose the best for his needs – oh wait there is already Geoserver! Cool J2EE app built with GeoTools.

shp2sde.exe does not allow import layers without any features

June 8, 2007

When importing empty layer, command shp2sde (8.3 version) complains something like this: “The shapefile in it’s entirety exceedes valid coordinate range”. The workaround is: add a dummy feature in ArcMap to this empty shapefile, and delete it later from the database manager. Hope it helps.

deleting SDE layers in MS SQL, let’s click!

June 1, 2007

OK, it is about ESRI, but in real world we often have to work with commercial sw.  For example, I am working with SDE 8.2, upon an MS SQL 2000. Here, when I want to delete a layer from a databse, I use sdelayer command.

sdelayer -o delete -l spatialtable,Shape -i 5151 -s host -D db -u user -p pass

However, this command does not delete all the layer (!) . Reason: since you are forced to specify a column i the -l option, only this “Shape” spatial column registrys are deleted (from internal SDE database and shape tables). The rest of data remains. You have to remove them manually by clicking – this explains the title.

Note: I am no expert on ESRi, there can be some other commands. Let me know in this case.