Build a web-GIS system using open-source software

Source: Internet
Author: User
Tags postgis
Last year, I made a solution, Supermap + sqlserver 2000, which was configured for several days,
I also went to Supermap for two days of training, and the demo was still problematic. Later, I put this requirement into consideration.
Remove it (you have to spend money to buy software, and there is also a development cost, the actual use is not big)

Another similar solution was made two days ago. the guiding ideology of this time is to use open source as much as possible. Investigated
Two days ago, I decided on several mature open-source GIS software, geotools and geoserver.
Geotools has been written in Java for more than eight years .. Net open source GIS is still very bad.
I thought I would use Java instead, so I had to build the environment and set up the environment the next day. First
Create Tomcat + geotools + PostgreSQL/postgis and run the C/S demo successfully.
The demo of B/S is not much different, so it gets into the geotools API. Finally pondering
The answer should be in geoserver. A burst of research found that geoserver wraps geotools
The Web service that provides web map, that is, WMS (an OpenGIS Specification ). Data Source
It is also easy to configure. My heart is overjoyed. In this way, you can use the habit of C # for development. Therefore
The architecture has come out: PostgreSQL/postgis is used for databases, which is free of charge and supports GIS very well.
Geoserver is used in the GIS middle layer to provide web services. Develop a control at the application layer
Service for packaging, everything is OK. The only development task is to develop an operational map.
Web Control. If commercial software is used, it may take tens of thousands to hundreds of thousands.
RMB. It is very important that the GIS system usually requires a large amount of computing for one access.
A bunch of bad machines come to a cluster. If commercial software is used ....... Another improvement
The performance method is to cache map objects, which is technically complex. If it is open-source
You can easily customize cache policies based on your needs. Commercial software cannot be implemented.

Thoughts:
1. using open-source software can save money. This is only an advantage of open source, and it has other advantages,
These advantages are sometimes even more important than free.
2. In some cases, the learning cost of open-source software is lower than that of commercial software. The premise is that
Status. There is a lot of garbage in open-source software, and there are also a lot of excellent. These excellent software
A major principle is kiss (Keep it simple, stupid ). Understand this
Now, the open-source software is easy in the semester. For example, the above geotools mainly do things
Is to perform General GIS operations. What geoserver does is to package GIS data sources into Web
Service, released in accordance with the specifications. Postgis stores GIS data. Very simple. Commercial Software
Generally, it integrates a lot of features that are rarely used, so it is difficult to grasp the key points and the learning cost is acceptable.
Higher performance. Open-source software can be split into code if it is too high.
3. broaden your horizons .. Net often looks at what is available in Java and how it can be used.
To reduce costs and improve efficiency.
4. customization of open-source software. Appropriate use of open-source software can make the architecture flexible. Even this
For example. The difficulty lies in improving the performance (we haven't seen several good web-GIS performance yet ). Yes
There are many options. First, you can build a bunch of bad machines and run one PostgreSQL/
Postgis + Apache + geoserver, using Server Load balancer, which costs a lot, mainly
Hardware money. Second, you can place the cache between the database and geoserver (there may already be
Open-source implementation ). Third, you can modify the geoserver and add my favorite cache mechanism. Fourth,
You can put the cache on the. NET side. Flexible architecture.
5. When designing a. Net solution, consider open-source software and sometimes get unexpected benefits.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.