The previous blog talked about Application Builder's rapid application construction. Some simple applications only require GIS applications with common functions, and the built-in layout and tools of builder can basically meet the requirements. However, in this special place, Party A often does not like the same interface, the same pop-up window, and cannot tolerate systems without user logon. Let's talk about how to customize the layout of the viewer
Android Network HTML viewer and androidhtml Viewer
This document provides an Android-based network HTML viewer.
Create a project. The project layout file is as follows:
Create a tool class StreamTools. java:
Package com.wuyudong.html viewer. utils; import java. io. byteArrayOutputStream; import java. io. inputStream;
I used to find some materials and wrote an article
C # (. NET) operations on DBF (ArcGIS SHP Attribute Table)
URL: http://www.cnblogs.com/xiexiaokui/archive/2007/11/12/956984.html
However, none of the above methods succeeded, and I didn't know where the problem was.
Therefore, the previous statistics were performed using feature in ArcGIS, but the statistics on attribute data were too wasteful.
So in the afternoon, I began to look for inform
#!/usr/bin/env python#-*-Coding:utf-8-*-Import Urllib.requestImport OSdef get_epsg_code (EPSG):"""Get the ESRI formatted. PRJ definitionUsage Get_epsg_code (4326)We Use the http://spatialreference.org/ref/epsg/4326/esriwkt/"""F=urllib.request.urlopen ("http://spatialreference.org/ref/epsg/{0}/esriwkt/". Format (EPSG))Return (F.read ())# Shapefile filename must equal the new PRJ filenameShp_filename = "Utm_zone_boundaries"# path to where Shapefiles with No. prj is locatedOs.chdir (".. /geodata/")
#!/usr/bin/env python#-*-coding:utf-8-*-ImportGdalImportxlrdImportShapefiles#Open the Excel fileExcel_file = Xlrd.open_workbook (".. /geodata/highest-mountains-europe.xlsx")#get The first sheetSH =excel_file.sheet_by_index (0) W=Shapefiles. Writer (Shapefile. Point)#Fields available Geonameid Name country Latitude longitude Altitude (m)W.field ('Geonameid','F') W.field ('Name','C') W.field ('Country','C') W.field ('Latitude','F') W.field ('Longitude','F') W.field ('Altitude','F')#Loop over each
Problem:
Recently in the use of Geotools to import SHP files into an Oracle table, found an issue when an Oracle table name is underlined, the import fails, and the problem code line: Dsoracle.getfeaturewriterappend (oracletable, Transaction.auto_commit); Dsoracle as Org.geotools.data.DataStore type Object
Solution:
Online lookup is ORACLE11 Java package OJDBC version problem, maven search Ojdbc found the latest version of the following figure
P
工欲善其事 its prerequisiteThe Java development in the eyes of Stormy, an old Domino programmer, I mentioned the large number of logs that are being encountered in Java development. Server Console Brush-like scrolling, log files grow rapidly, debug when the relevant information is often flooded with examples, in many logger gushing output, to find out where the error is sometimes very cost-effective eye. The role of the log is no doubt that large-scale projects are not uncommon in the production of l
In win10, how does one set a Windows photo viewer ?, Win10 Viewer
You may not be familiar with the win10 photo software. Today I will introduce how to set up a Windows photo viewer in win10.
Win + r open the 'run' menu, enter regedit, click OK, or press enter.
Enable HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft
\ Windows Photo
A Practical viewer. js image album and viewer. js album
Viewer. js is a powerful image album plug-in. For SNS dating websites, click thumbnails are usually used to bring up large images at the pop-up layer, and multiple control buttons are available at the pop-up layer, for example, you can zoom in, zoom out, rotate, and recall. You can switch the thumbnail list
#!/usr/bin/env python#-*-coding:utf-8-*-Importurllib.requestImportOSdefGet_epsg_code (EPSG):"""Get the ESRI formatted. PRJ definition usage get_epsg_code (4326) We use the HTTP://SPATIALREFERENCE.ORG/REF/EP sg/4326/esriwkt/"""F=urllib.request.urlopen ("http://spatialreference.org/ref/epsg/{0}/esriwkt/". Format (EPSG))return(F.read ())#Shapefile filename must equal the new PRJ filenameShp_filename ="utm_zone_boundaries"#path to where Shapefiles with No. prj is locatedOs.chdir (".. /geodata/")#Her
This article is the process of converting a shapfile file without latitude and longitude coordinates to the correct spherical coordinates.Using the tool: ArcMap 10Step one, ArcMap add the Shapfile file (shp to convert)Step two, set the projection coordinates①Ii③④⑤⑥Step three, set the projection①Ii③④⑤Note: TIF files are converted from planar geodetic coordinates to spherical coordinates, the first two steps of the step are the same as the TIF is the ra
First install a driver vfpodbc. MSI, search for one on the internet, download and install
ReadCodeAs follows:
// Data source connection string var connstr = @ "driver = {Microsoft Visual FoxPro driver}; sourcetype = DBF; sourcedb =" + full path of DBF File + "; exclusive = no; null = no; collate = machine; backgroundfetch = no; deleted = No "; using (VAR oleconn = new odbcconnection (connstr) {oleconn. open (); // open the shp dbf connection var S
Set the registry default character, you can solve the Chinese garbled problem.' Dbfdefault ' Setup method1. Start-run, enter "Regedit" to open the registry.2. If you are using the 10.x version of ArcGIS Desktop, navigate to "My Computer\hkey_current_user\software\esri\desktop 10.x" (if it is a previous version of 9.3.1, navigate to ' my Computer\hkey_current_user\software\esri ').3. Create the item ' Common ', then create ' CodePage ' entry, add ' string ', Name: Dbfdefault, Health value: UTF-8.
1, first register Mapwingis ActiveX components,The mapwingis_i.h and Mapwingis_i.c files produced by Mapwingis.ocx are introduced, and the CoCreateInstance function is used to invokeDemo Code:/* Add the Mapwingis_i.c file to the project, which defines the class and interface GUID values, and if not introduced, a connection error occurs. */#include "mapwingis_i.h"CoInitialize (NULL);ishapefile* ptr = NULL;HRESULT hr = CoCreateInstance (Clsid_shapefile, NULL, Clsctx_all, Iid_ishapefile, (void**) p
First, the preparatory work:
1. Firstly, the obtained latitude and longitude coordinates (generally latitude and longitude) are converted to the degree format, and the conversion formula is =left (c3,3) +mid (C3,find ("°", C3) +1,2)/60+mid (C3,find ("′", C3) +1,4)/3600 (Note: Each parameter depends on the specific circumstances)
2. Regenerate an Excel table, the corresponding x,y coordinates generate two columns, the first behavior column name (such as X,y) in order to arrange the coordinates
Z-Value
Z-values typically represent elevation values for a point, and elevation values are generally included in raster data. In this paper, we try to read the Z-value of the corresponding point from raster data and then write to the corresponding point. The step reads the SHP format, obtains the geometry, then reads the corresponding point to read the raster data according to the geometry type, according to has obtained the corresponding point, rea
This article describes the Android programming implementation of Network Image Viewer and Web page Source viewer. Share to everyone for your reference, specific as follows:
Network Picture Viewer
Manifest to join the network access rights:
The interface is as follows:
Example:
public class Mainactivity extends activity {private EditText Im
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.