Monday, November 13, 2023

GIS system and datum

GIS system and datum

  1. 经纬线
  2. 经线和纬线是人们为了在地球上确定位置和方向的,在地球仪和地图上画出来。
    经纬线相互垂直。纬线是一条条长度不等的圆圈。最长的纬线,就是赤道。 经线是一条条长度相等的弧线,连接南北两极。因为经线指示南北方向,所以,经线又叫子午线。
    国际上规定,把通过英国格林尼治天文台原址的经线,叫做0°经线,也叫本初子午线。在地球上经线指示南北方向,纬线指示东西方向。东西半球分界线:东经160° 西经20°。

  3. 北京市经纬度坐标
  4. 中心位置东经116°20′、北纬39°56′。

  5. 上海的具体经纬度坐标是多少?
  6. 上海市地处东经120°52′至122°12′,北纬30°40′至31°53′之间。
    上海面积6340.5平方公里。它位于太平洋西岸,亚洲大陆东海岸,中国南北海岸的中心点,长江和黄浦江的交汇处。北邻长江,东临东海,南临杭州湾,西连江浙两省。上海是长江三角洲冲积平原的一部分,平均海拔约2.19米。海拔最高点是位于金山区杭州湾的大金山岛,海拔为103.70米。

  7. 伦敦的经度和纬度,纽约的经度和纬度是多少,帮个忙!
  8. 伦敦:市中心位于北纬51度30分28秒,西经00度07分41秒(一般认为伦敦的经度就是0度)
    纽约:北纬40度43分,西经74度.

  9. 上海经纬度查询-在线经纬度定位转换工具
  10. 上海经纬度定位于:上海市
    纬度:31.230416
    经度:121.473701
    北京经纬度定位于:北京市
    纬度:39.904030
    经度:116.407526
    广东_深圳经纬度定位于:深圳市
    纬度:22.543099
    经度:114.057868

  11. What are Geodetic Datums? 5:09 / 5:09 Introduction to World Geodetic System 1984 | World Geodetic System 1984 Explained | WGS 84
  12. world geodetic system,world geodetic system 1984,World Geodetic System 1984 Explained,WGS 84,Introduction to World Geodetic System 1984,geodetic,is wgs 84 a projection system,coordinate systems,coordinate system,coordinate reference system,geodetic datums,introduction to frames of reference,geographic information system,projection system,convertion coordinate systems,geographical coordinate system,global positioning system,coordiante system,Prime meridian

  13. Premium webservices and data
  14. What are premium services and why do I need them ? Gisgraphy is a totally free open source framework under LGPL license :

  15. Sunset and Sunrise Calculation Based on Latitude, Longitude and UTC Offset for SQL Server 2005
  16. Sunset and Sunrise Calculation Based on Latitude, Longitude and UTC Offset for SQL Server 2005

Friday, October 6, 2023

regular expression engine

regular expression engine

  1. perlre - Perl regular expressions
  2. perlre - Perl regular expressions

  3. Regular Expressions/Perl-Compatible Regular Expressions
  4. Perl has a richer and more predictable syntax than even the POSIX Extended Regular Expressions syntax. An example of its predictability is that \ always quotes a non-alphanumeric character. An example of something that is possible to specify with Perl but not POSIX is whether part of the match wanted to be greedy or not. For instance in the pattern /a.*b/, the .* will match as much as it can, while in the pattern /a.*?b/, .*? will match as little. So given the string "a bad dab", the first pattern will match the whole string, and the second will only match "a b".

  5. Regular Expressions/POSIX-Extended Regular Expressions
  6. The more advanced "extended" regular expressions can sometimes be used with Unix utilities by including the command line flag "-E". Other Unix utilities, like awk, use it by default. The main difference is that some backslashes are removed: \{…\} becomes {…} and \(…\) becomes (…). Examples:

  7. Understanding Regular Expressions
  8. I'd like to tell you a story about a friend of mine, Fred. Because of the nature of the story, I'll talk a lot about Perl regular expressions and how they really work behind the scenes. To follow the story, I'll assume that you know Perl at least as well as Fred (which is not saying a lot, since he doesn't know it all that well, although he thinks he does).

  9. faqts : Computers : Programming : Languages : Tse : Parser
  10. TSE: Search/Replace:Regular Expression:Backus Naur Form:What is possible BNF for regular expression?

  11. PERL:Search/Replace:Regular Expression:Backus Naur Form:What is possible BNF for regular expression?
  12. PERL:Search/Replace:Regular Expression:Backus Naur Form:What is possible BNF for regular expression?

  13. Perl Style Regular Expressions in Prolog
  14. Case Study: Implementing Perl Style Regular Expressions

  15. Regex BNF Grammar
  16. Is there any BNF grammar for regular expression?

  17. Lecture 32: BNF Describing Language Syntax
  18. Lecture 32: BNF Describing Language Syntax

  19. Discussion 12: Regular Expressions & BNF
  20. This is an online worksheet that you can work on during discussions. Your work is not graded and you do not need to submit anything.

  21. Regex BNF Grammar
  22. Is there any BNF grammar for regular expression?

  23. MarpaX-Regex Public
  24. MarpaX-Regex Public

  25. Perl Compatible Regular Expressions (PCRE) Documentation
  26. Perl Compatible Regular Expressions (PCRE) Documentation

  27. translate BNF grammar to sequence of RegEx'es
  28. Simple program to read in a BNF grammar and create a regular expression for the root element. This can be used to create a validator.

  29. BNF Notation in Compiler Design
  30. BNF Notation in Compiler Design

    Video - BNF

  31. Regular Expressions and BNF (Backus Naur Form)
  32. An introduction to Regular Expressions, the use of Formal Language and BNF including Syntax Diagrams. Suitable for AQA A-Level Computer Science

  33. Introduction to Grammars and BNF
  34. An introduction to grammars and specifically Backus Naur Form (BNF)

  35. 0:16 / 7:50 How to write BNF and EBNF grammar
  36. How to write BNF and EBNF grammar for a given language

  37. Backus-Naur Form
  38. BNF, or Backus-Naur form is an elegant and succinct way of expressing a grammar in very few lines. Find out more about how this works in today's random Wednesday tutorial!

  39. 0:09 / 38:45 BNF, EBNF & Syntax Graphs
  40. This video is having an analysis of BNF, EBNF & Syntax Graphs. This is a live recorded video tutorial. So you can easily understand how to write BNF & EBNF grammar rules and conversion parts of them with examples. Also you can study how to visualize the BNF & EBNF grammar rules in Syntax Graphs.

  41. Programming Language Syntax 1 - Backus-Naur Form (BNF)
  42. his is a short introduction to the Backus-Naur Form of describing a Context-Free Grammar, with some simple examples.

  43. 22. BNF (BACKUS NAUR FORM)
  44. This explain the notation used for representing Grammar i.e BNF Form.

  45. 0:02 / 8:36 • Purpose of a Parse Tree Parse Trees
  46. An explanation of parse trees intended for students learning about BNF grammars and programming languages.

  47. 0:54 / 14:57 Parsing Explained - Computerphile
  48. How ambiguity is dangerous! Professor Brailsford simplifies parsing.

  49. 0:30 / 14:01 Building a Parser from scratch. Lecture [1/18]: Tokenizer | Parser
  50. 0:30 / 14:01 Building a Parser from scratch. Lecture [1/18]: Tokenizer | Parser

Saturday, September 23, 2023

PDF open source project

PDF viewer

    PDF classes

  1. FreeImage Display Demo
  2. How to display a bitmap in your MFC SDI application using FreeImage. Various rescaling algorithms considered.

  3. FreeImage-dotnet-core
  4. This is a clone of the FreeImage .NET project (http://freeimage.sourceforge.net/) modified to work with dotnet core. Note that all functions that use System.Drawing.Bitmap have been removed from the netstandard framework versions as there is no implementation for this class.

  5. FreeImage.NET Class Library Reference
  6. FreeImage.NET

  7. FreeImage Public License v1.0
  8. FreeImage Public License v1.0

  9. freeimage
  10. FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to use, fast, multithreading safe, and cross-platform (works with Windows, Linux and Mac OS X).
    Thanks to it's ANSI C interface, FreeImage is usable in many languages including C, C++, VB, C#, Delphi, Java and also in common scripting languages such as Perl, Python, PHP, TCL, Lua or Ruby.

  11. How to use FreeImage.NET in a x64 targeting project (AnyCpu)?
  12. I'm trying to use the FreeImage .NET wrapper in my project, my ptoject targets AnyCPU and the dll wrapper will not work under this, it will only works if I target x86 machine.

  13. .net – Is PDFLibNet.dll or It has any licence for commercial products?
  14. I am using PDFLibNet.dll (got here: http://www.codeproject.com/KB/applications/PDFViewerControl.aspx?msg=3154388 ) am not sure whether I can use it for commercial purpose (Licence) ?

  15. PDF Library for creating PDF with tables and text, in C#
  16. Create PDF files on the fly using this simple library.

  17. PdfFileWriter Public
  18. The PDF File Writer C# class library gives .NET applications the ability to produce PDF documents. The library shields the application from the details of the PDF file structure. The library supports: forms, text, images, tables, graphics, barcodes, web links, charts, sticky notes, encryption and more.

  19. PDF File Analyzer With PDF Parsing Classes. (Version 3.0 for VS 2022 .NET 6.0)
  20. PDF File Analyzer is designed to read, parse, and display the internal structure of PDF files. Version 2.1 supports encrypted files.

  21. PDF File Writer C# Class Library (Version 2.0.0)
  22. PDF File Writer is a C# .NET class library allowing applications to create PDF files. The code was developed for VS 2022 and .NET6. The latest update is a major upgrade.

    Utility

  23. E-signing PDF documents with iTextSharp
  24. An example demonstrating how to sign PDF documents with the iTextSharp library.

  25. Creating PDF documents with iTextSharp
  26. Creating PDF documents with iTextSharp using a combination of images and text.

  27. iSafePDF: The Open Source PDF Signature Tool
  28. iSafePDF is an Open Source software to sign, timestamp, and encrypt PDF documents.

  29. PDF Merger and Protector
  30. PDF MERGER and PROTECTOR is the best pdf merger software which is fast and powerful way to join(Merge) PDF files with password protection as well as you can apply stamper with either any type of image or text. Using this utility you don’t required installation of Adobe Acrobat. Looks Exciting ???

  31. Use pdfviewernet in a project for .net framework 4.0
  32. So I downloaded the source for pdfviewernet and just ran it out of the box. And it worked.

  33. PDF Viewer Control Without Acrobat Reader Installed
  34. PDF document viewer control that does not require any Acrobat product to be installed

  35. Tutorials on creating PDF files using C# 2.0
  36. Tutorials on creating PDF files using C# (.NET 2.0) and iTextSharp

  37. Create/Read Advance PDF Report using iTextSharp in C# .NET: Part I
  38. Create/Read/Write Advance PDF Report using iTextSharp.DLL in Desktop, Mobile, Web Application

  39. Creating PDF Tables using C# (.NET 2.0) and iTextSharp
  40. Creating PDF Tables using C# (.NET 2.0) and iTextSharp

  41. The Great PDF - Revealed
  42. A project to create PDF files using text editor and digitally sign them.

    PDF viewer

  43. SumatraPDFControl
  44. It allows you to construct Windows Forms application capable to view and read Portable Document Files (PDF) with all features present in great SumatraPDFReader made by Krzysztof Kowalczyk.

  45. pdfview4net
  46. PDFView4NET is a .NET toolkit for adding PDF render, view and print support in .NET applications. It includes a PDF viewer control for Windows Forms and WPF and a .NET library for rendering and printing PDF files from any .NET application. The PDF viewer control includes support for annotating PDF files, bookmarks navigation, adding and removing file attachments and other features. The toolkit includes its own PDF rendering engine and it does not rely on any other software for rendering and printing PDF files. PDFView4NET toolkit has been developed entirely in C#, being 100% managed code.

  47. How do I build dll from source code?
  48. I'm complete dum about coding, so much i don't even know where to find info about it. I want to know how to build dll's from repos like this one. That's not the first time i stumbling upon such things, and I want to start from something.

    PDFTK component

  49. PDF Hacks: 100 Industrial-Strength Tips & Tools
  50. PDF--to most of the world it stands for that rather tiresome format used for documents downloaded from the web. Slow to load and slower to print, hopelessly unsearchable, and all but impossible to cut and paste from, the Portable Document Format doesn't inspire much affection in the average user. But PDFs done right is another story. Those who know the ins and outs of this format know that it can be much more than electronic paper. Flexible, compact, interactive, and even searchable, PDF is the ideal way to present content across multiple platforms.

  51. STAMPtk - The PDF Stamp Maker
  52. Use STAMPtk + PDFtk to mark PDFs with custom data, like stamps, watermarks, headers or footers, as the PDFs are served to online users. Or use these tools on the desktop to add information to local PDFs.

  53. PDF LAb
  54. Welcome! PDF Labs is where you can find professional tools and services for your PDF needs. It is run by Sid Steward, author of PDF Hacks (O’Reilly) and the popular PDF Toolkit.

  55. PDFtk Server
  56. PDFtk Server is our command-line tool for working with PDFs. It is commonly used for client-side scripting or server-side processing of PDFs. It is also used by OEMs and ISVs to give their products the ability to manipulate PDFs. A commercial license is required to distribute PDFtk with your commercial product.

  57. Resource HackerTM
  58. ... a freeware resource compiler & decompiler for Windows® applications

  59. PDFTKBuilder TM
  60. Take control of your PDF documents - merge or split pages; stamp pages or add background watermarks; add page numbers; and even rotate pages.

  61. PDFTK Builder Enhanced
  62. Free and open source GUI application for manipulating PDF files using the Windows version of PDF Toolkit (PDFtk) - split, merge, stamp, number pages, rotate, metadata, bookmarks, attachments, etc. This project is a fork of PDFTK Builder by Angus Johnson that enhances the user interface, adds functions, and enables use of later versions of PDFtk. OS: Windows. Author: David King. License: GPLv3.

Friday, September 15, 2023

type converter

  1. Bit Flags Type Converter
  2. An implementation of TypeConverter which allows you to edit bit flag enumerations in the PropertyGrid.

  3. DocMounter 2: A tool to build VS.NET
  4. Tool for creating MS Visual Studio documentation files - XML Summaries, HxS/MSHC help solutions and manuals.

  5. Type converters, your friendly helpers!
  6. Any time you developed a web form or Windows form using the Visual Studio .NET designer or used the view state architecture of ASP.NET you have relied on the help of a type converter. As the name already states, type converters are used to convert from one type to another.

  7. Universal Type Converter
  8. This article is about the different possibilities of type conversion provided by the .NET Framework. At the end, it offers a ready to use solution: the UniversalTypeConverter which converts nearly every type to another type.

  9. .NET Type Conversion Utility
  10. Convert what System.Convert can't.

Saturday, September 9, 2023

Monday, September 4, 2023

App config manager and data table topics

a good utility tool to set my preference

  1. Binding Class
  2. Represents the simple binding between the property value of an object and the property value of a control.

  3. BindingSource Class
  4. Encapsulates the data source for a form.

  5. A Detailed Data Binding Tutorial
  6. Demonstrates a variety of Windows Forms data binding features through several simple examples.

  7. Introduction to Dataset to Datatable C#
  8. he following article provides an outline for Dataset to Datatable C#. Whenever data must be collected from the database, the dataset does the work without being in a continuous connection with the database where virtual databases are created that look like the original database and data is stored in the same place. Therefore, we can say that the dataset is a representation of the database structure. Datatable is the representation of one table in the database where rows and columns are properly named in the database. It also represents the cache of rows, columns, constraints of both rows and columns in the structure. Datatable is the base in DotNet, where dataset and data view makes use of Datatable.

  9. Mapping DataTables and DataRows to Objects in C# and .NET
  10. My group regularly uses DataSet, DataTable, and DataRow objects in many of our apps.

  11. Binding Class
  12. Represents the simple binding between the property value of an object and the property value of a control.

  13. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 1
  14. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

  15. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 2
  16. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

  17. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 3
  18. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

  19. A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 4
  20. The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid

Saturday, September 2, 2023

3D posts

good article in 3D

  1. Editor3D: A Windows.Forms Render Control with interactive 3D Editor in C#
  2. A universal ready-to-use interactive 3D Editor control for System.Windows.Forms applications. It displays 3D data that the user can modify with the mouse. The control consists of a single C# file and is optimized for maximum speed.

  3. Sharp3D.Math - A 3D math library for .NET
  4. A 3D math library written in C#

  5. ExoEngine - a C# 3D engine
  6. A basic 3D engine built using C# and the .NET platform

  7. 3D Geometry Library (Basic Classes) and 3D Drawing using VB.NET
  8. This article explains a 3D geometry library developed using VB.NET.

  9. A Tool for Visualizing 3D Geometry Models-part 1
  10. An article describing a tool developed using WPF for visualizing 3D geometry models

  11. C# Line Control with Rotate Option
  12. An article on line control in .NET